ĨE132000 223 202 319 430 232 138 160 248 154 305 156 167 248 272 198 169 339 1433 215 311 1038 362 136 222 306 228 163 152 216 229 229 133 172 225 133 109 134 164 182 203 203 226 167 275 145 187 120 124 291 717 203 130 151 137 116 116 126 214 145 130 110 340 204 156 162 129 165 176 135 158 306 212 139 150 299 121 263 176 174 130 224 193 114 418 216 273 117 246 2520 236 205 2594 119 122 110 121 145 167 183 113 181 144 154 278 176 340 216 238 125 304 141 211 109 136 125 491 135 164 705 395 236 738 148 143 134 119 153 202 99 127 206 261 170 136 163 116 135 142 202 151 163 142 1017 265 143 131 156 169 144 197 154 221 119 289 122 237 143 182 417 364 288 279 237 242 299 201 265 117 508 227 287 242 328 284 250 173 342 166 120 124 148 124 863 131 244 150 178 176 150 145 131 169 138 123 175 263 171 245 120 138 346 165 138 166 281 453 166 145 249 201 151 155 151 400 117 270 357 172 131 139 131 345 249 342 K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-07-12T00:45:25.000000Z K 7 svn:log V 104 Fix a typo that slipped in during my last commit to this file. Submitted by: fox@vader.aacc.cc.md.us END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-12T01:15:55.000000Z K 7 svn:log V 223 Make kdb_dbbe_select() available as an interface function. This allows changing the backend from outside the KDB frontend. For example from within a backend. Rewrite kdb_sysctl_current to make use of this function as well. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-12T01:38:07.000000Z K 7 svn:log V 334 Re-add the gdb command. It was removed to be replaced by something more generic, but that didn't actually happen. Since the feature to switch backends (and historically this means from DDB to GDB) is important, make sure people can do just that until such the generic mechanism actually sees the light of day. Suggested by: rwatson@ END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-12T01:54:37.000000Z K 7 svn:log V 134 Update the README notes to include the current list of supported formats and remove some outdated comments about library limitations. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T02:48:40.000000Z K 7 svn:log V 46 Respect locale settings from the environment. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T03:00:50.000000Z K 7 svn:log V 65 Make 'S' in interactive mode toggle display of system processes. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-12T04:09:39.000000Z K 7 svn:log V 152 Chase the docproj ports required to build a release with NOPORTS but without NODOCS. PR: ports/68153 Submitted by: Dmitry Morozovsky END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T04:13:38.000000Z K 7 svn:log V 59 Dump the actual bad values when this assertion is tripped. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T04:18:44.000000Z K 7 svn:log V 212 Call setlocale() with category LC_ALL instead of LC_MESSAGES. We need LC_CTYPE and LC_COLLATE to correctly interpret regular expressions returned by nl_langinfo(YESEXPR), and it doesn't hurt to include the rest. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T04:33:58.000000Z K 7 svn:log V 60 Remove spl's from netatalk in preparation to merge locking. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T04:35:42.000000Z K 7 svn:log V 71 Mark 'makeup' in ng_frame_relay as const, as its values are immutable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-12T04:40:26.000000Z K 7 svn:log V 155 pmap_remove_pages() must not remove wired mappings. Since pmap_remove_pages() is an optimization, its implementation is optional. Discussed with: grehan END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-12T04:43:58.000000Z K 7 svn:log V 176 Document the new PT_LWPINFO request. In fact, the request is so new it hasn't even been implemented yet. I just wanted to be the first to try a new approach to development ;-) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T04:45:46.000000Z K 7 svn:log V 101 Introduce a global mtx 'ngsocketlist_mtx' to protect the global ng_socket list during insert/delete. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T04:53:33.000000Z K 7 svn:log V 74 Reserve a pointer "ki_udata" in kinfo_proc as a convenience for userland. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T04:55:07.000000Z K 7 svn:log V 243 Cache a pointer to the old proc (as well as negative cache) to make computing the io statistics over and over not as expensive. This is a bit of a cop out, as I should just allocate a struct with the computed values, but this will do for now. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-12T05:07:50.000000Z K 7 svn:log V 1336 Implement the PT_LWPINFO request. This request can be used by the tracing process to obtain information about the LWP that caused the traced process to stop. Debuggers can use this information to select the thread currently running on the LWP as the current thread. The request has been made compatible with NetBSD for as much as possible. This implementation differs from NetBSD in the following ways: 1. The data argument is allowed to be smaller than the size of the ptrace_lwpinfo structure known to the kernel, but not 0. This is opposite to what NetBSD allows. The reason for this is that we can extend the structure without affecting older binaries. 2. On NetBSD the tracing process is to set the pl_lwpid field to the Id of the LWP it wants information of. We don't do that. Our ptrace interface allows passing the LWP Id instead of the PID. The tracing process is to set the PID to the LWP Id it wants information of. 3. When the PID is actually the PID of the tracing process, this request returns the information about the LWP that caused the process to stop. This was the whole purpose of the request in the first place. When the traced process has exited, this request will return the LWP Id 0, indicating that the process state is not the result of an event specific to a LWP. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T06:07:26.000000Z K 7 svn:log V 122 Add a new error code, REG_ILLSEQ, to indicate that a regular expression contains an illegal multibyte character sequence. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T06:22:42.000000Z K 7 svn:log V 215 Use SO_REUSEADDR and SO_REUSEPORT when reconnecting NFS mounts. Tune the timeout from 5 seconds to 12 seconds. Provide a sysctl to show how many reconnects the NFS client has done. Seems to fix IPv6 from: kuriyama END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T07:35:59.000000Z K 7 svn:log V 945 Make regular expression matching aware of multibyte characters. The general idea is that we perform multibyte->wide character conversion while parsing and compiling, then convert byte sequences to wide characters when they're needed for comparison and stepping through the string during execution. As with tr(1), the main complication is to efficiently represent sets of characters in bracket expressions. The old bitmap representation is replaced by a bitmap for the first 256 characters combined with a vector of individual wide characters, a vector of character ranges (for [A-Z] etc.), and a vector of character classes (for [[:alpha:]] etc.). One other point of interest is that although the Boyer-Moore algorithm had to be disabled in the general multibyte case, it is still enabled for UTF-8 because of its self-synchronizing nature. This greatly speeds up matching by reducing the number of multibyte conversions that need to be done. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-12T07:39:20.000000Z K 7 svn:log V 265 Change kse_switchin to accept kse_thr_mailbox pointer, the syscall will be used heavily in debugging KSE threads. This breaks libpthread on IA64, but because libpthread was not in 5.2.1 release, I would like to change it so we needn't to introduce another syscall. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-12T07:41:01.000000Z K 7 svn:log V 40 kse_switchin ABI was changed in kernel. END K 10 svn:author V 4 kris K 8 svn:date V 27 2004-07-12T07:59:25.000000Z K 7 svn:log V 128 Set BATCH=yes to avoid bumping into interactivity in the port builds. XXX /usr/ports is still hardcoded, should be ${PORTSDIR} END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T08:14:09.000000Z K 7 svn:log V 210 Make VFS_ROOT() and vflush() take a thread argument. This is to allow filesystems to decide based on the passed thread which vnode to return. Several filesystems used curthread, they now use the passed thread. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-12T08:22:32.000000Z K 7 svn:log V 135 Adjust the show_self code (the test got inadvertantly reversed a couple of revisions ago) Submitted by: Alex Vasylenko END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T08:23:10.000000Z K 7 svn:log V 68 Bump __FreeBSD_version for VFS_ROOT, vflush and kinfo_proc changes. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T09:06:51.000000Z K 7 svn:log V 57 Document thread parameter passed to VFS_ROOT and vflush. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-12T10:12:51.000000Z K 7 svn:log V 120 Add p5-File-Spec and p5-File-Temp. Submitted by: Dmitry Morozovsky PR: ports/68153 MFC After: 3 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T10:17:02.000000Z K 7 svn:log V 136 Remove BUGS section that talked about missing multibyte character support. We have support now that the regular expression routines do. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T10:46:55.000000Z K 7 svn:log V 136 Remove BUGS section that talked about missing multibyte character support. We have support now that the regular expression routines do. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-07-12T10:50:50.000000Z K 7 svn:log V 41 Attempt to handle suspend/resume better. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-12T11:03:42.000000Z K 7 svn:log V 80 Remove an entry from the BUGS section: we have multibyte character support now. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-12T11:52:14.000000Z K 7 svn:log V 132 Make if_fwsubr.c dependant on fwip instead of firewire - there is not much point including it if you aren't using IP over firewire. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-12T13:12:56.000000Z K 7 svn:log V 41 Add fwip module. Submitted by: simokawa END K 10 svn:author V 3 dfr K 8 svn:date V 27 2004-07-12T13:13:17.000000Z K 7 svn:log V 17 Add fwip module. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-12T13:13:42.000000Z K 7 svn:log V 37 Fix tab/space screwup in long_help() END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-12T13:15:13.000000Z K 7 svn:log V 67 Mimic ls(1) by putting an extra space before the year in old dates END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T14:11:26.000000Z K 7 svn:log V 86 Remove 'td = curthread' that shadows the arguments to coda_root(). Missed by: alfred END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-12T15:22:44.000000Z K 7 svn:log V 107 document the 'I' and 't' commands in the help screen in top(1). Submitted by: Alex Vasylenko lxv omut.org END K 10 svn:author V 3 mtm K 8 svn:date V 27 2004-07-12T15:28:31.000000Z K 7 svn:log V 110 writers must hold both sched_lock and the process lock; therefore, readers need only obtain the process lock. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-12T17:45:37.000000Z K 7 svn:log V 133 Remove an unused and unimplemented sysctl. (For the record, it was marked as unimplemented in revision 1.129 nearly six years ago.) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T18:35:30.000000Z K 7 svn:log V 71 Remove 'Not used' comment: at_org_code is used, just not in netatalk/. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T18:37:31.000000Z K 7 svn:log V 178 Imperfect synchronization solution to imperfect code: use a static 256 byte buffer in the stack for temporary printf results rather than a global buffer without synchronization. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T18:39:59.000000Z K 7 svn:log V 49 Procotol control block locking for netatalk DDP. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T19:28:07.000000Z K 7 svn:log V 91 After each label in tcp_input(), assert the inpcbinfo and inpcb lock state that we expect. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T19:35:29.000000Z K 7 svn:log V 24 Constify 'spx_backoff'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T19:37:08.000000Z K 7 svn:log V 28 Constify 'rpcclnt_backoff'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-12T20:19:40.000000Z K 7 svn:log V 194 Teach gcore about the pathname field of '/proc/*/map' so that it doesn't spin when its parser gets confused by a lack of end-of-line. Submitted by: Dan Nelson PR: 68839 END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-12T20:49:26.000000Z K 7 svn:log V 624 Update in preparation for adding the ACPI attachment. * Add an fdtype ivar. This will be the equivalent of fd->type. * Move enabling the FIFO to the end of attach. * Unify reset code into fdc_initial_reset(). * Add fdc_write_ivar(). * Update isa and pccard attachments accordingly. * Set the flags unconditionally in probe since they may be overridden by other probe routines. Both before and now, we're depending on probe being called a final time on the winning driver so the flags we get are the ones we intended. * Use the bus accessor macros instead of defining our own. * Remove duplicate assigns of fd->type. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-12T20:53:04.000000Z K 7 svn:log V 110 Add the ability to detach a battery. Now batteries that are detached are also removed from the battery list. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-12T21:15:36.000000Z K 7 svn:log V 38 Remove unnecessary softc bzero calls. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:17:51.000000Z K 7 svn:log V 56 Import a kdb.h for arm, which contains stubs right now. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:18:30.000000Z K 7 svn:log V 42 Import bus_memio.h and bus_pio.h for arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:19:22.000000Z K 7 svn:log V 21 Prototype makectx(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:19:43.000000Z K 7 svn:log V 21 Implement makectx(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:20:38.000000Z K 7 svn:log V 31 Implement a stub breakpoint(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:22:40.000000Z K 7 svn:log V 118 Forward declare "struct pcb", so that one does not need to include before including . END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:23:58.000000Z K 7 svn:log V 50 Protect setjmp.h with #ifndef _MACHINE_SETJMP_H_. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:24:21.000000Z K 7 svn:log V 35 Remove the kbd_trap() declaration. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-12T21:25:01.000000Z K 7 svn:log V 15 Update to kdb. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-07-12T21:42:33.000000Z K 7 svn:log V 242 Rename Alfred's kern_setsockopt to so_setsockopt, as this seems a a better name. I have a kern_[sg]etsockopt which I plan to commit shortly, but the arguments to these function will be quite different from so_setsockopt. Approved by: alfred END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-12T21:59:06.000000Z K 7 svn:log V 111 Remove stray line with just a tab Remove usbdevs_data.h, it isn't used by the module Noticed by: Pawel Worach END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:13:27.000000Z K 7 svn:log V 61 db_memrw.c has been subsumed into db_interface.c ala sparc64 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:14:21.000000Z K 7 svn:log V 67 Add new KDB option, and also drop in long-held fxp/dc eth drivers. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:15:03.000000Z K 7 svn:log V 34 kdb.h for PowerPC. Stubs for now. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:16:04.000000Z K 7 svn:log V 70 DDB -> KDB, and rename low-level trap handler to avoid name conflict. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:16:50.000000Z K 7 svn:log V 81 Remove old NetBSD-derived unused code and stuff that is now obsolete due to KDB. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:17:20.000000Z K 7 svn:log V 40 Add prototype for KDB's makectx routine END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:18:02.000000Z K 7 svn:log V 63 Gratuitous namechange to avoid low-level association with ddb. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:20:01.000000Z K 7 svn:log V 210 Remove unused NetBSD code. Bring mem r/w routines into here in line with sparc64, although keep the size deref checks: they are useful when accessing PCI space where some devices may not implement byte access. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:21:34.000000Z K 7 svn:log V 116 Bring into line with KDB. Bring in NetBSD updates for backtrace routine, although it really needs a decent re-work. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:22:09.000000Z K 7 svn:log V 44 Catch up with gratuitous ddb -> db renaming END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:22:53.000000Z K 7 svn:log V 55 No need for ddb option. Never a need for ipkdb option. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:25:09.000000Z K 7 svn:log V 203 - DDB -> KDB, with kdb routines - ddb -> db for low-level trapcode - implement makectx. I think it only matters that the stack is setup correctly. - bring over ddb_trap_glue and rename to db_trap_glue END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:26:20.000000Z K 7 svn:log V 26 Bring into KDB new order. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-07-12T22:32:08.000000Z K 7 svn:log V 167 Rename low-level code ddb -> db. Use KDB instead of DDB. Fix bug in setup of stack frame where 8 bytes wasn't being saved for the callee's frame pointer and saved LR. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-12T22:57:06.000000Z K 7 svn:log V 84 Remove the instructions for regenerating usbdevs.h: that's now no longer necessary. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-12T23:11:09.000000Z K 7 svn:log V 82 Remove even more references to generating usbdevs_data.h, et al. Noticed by: njl END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-13T02:18:21.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-13T02:37:40.000000Z K 7 svn:log V 131 pccard no longer requires a count because the floppy driver that nominally had a non-working reference to card.h has been removed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-13T02:42:23.000000Z K 7 svn:log V 100 Don't depend on implicit include of machine/bus.h in sys/rman.h, but instead explicitly include it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-13T02:44:40.000000Z K 7 svn:log V 22 Set fdc_dev in attach END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-13T02:49:22.000000Z K 7 svn:log V 325 Push down the acquisition and release of the page queues lock into pmap_remove_pages(). (The implementation of pmap_remove_pages() is optional. If pmap_remove_pages() is unimplemented, the acquisition and release of the page queues lock is unnecessary.) Remove spl calls from the alpha, arm, and ia64 pmap_remove_pages(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-13T04:35:43.000000Z K 7 svn:log V 123 Overhaul lputs() to deal with multibyte characters, characters that take up more than one column position, and null bytes. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-13T05:42:59.000000Z K 7 svn:log V 177 Turn off SO_REUSEADDR and SO_REUSEPORT, they were causing EADDRINUSE to be returned from the protocol stack. Pointy hat to me for not groking what those options _really_ mean. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-13T06:54:23.000000Z K 7 svn:log V 25 Simplify pmap_protect(). END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-13T07:05:38.000000Z K 7 svn:log V 150 Do not call sorecieve() in the context of a socket callback as it causes lock order reversals so->inpcb since we're called with the socket lock held. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T07:20:10.000000Z K 7 svn:log V 2422 Add code to support debugging threaded process. 1. Add tm_lwpid into kse_thr_mailbox to indicate which kernel thread current user thread is running on. Add tm_dflags into kse_thr_mailbox, the flags is written by debugger, it tells UTS and kernel what should be done when the process is being debugged, current, there two flags TMDF_SSTEP and TMDF_DONOTRUNUSER. TMDF_SSTEP is used to tell kernel to turn on single stepping, or turn off if it is not set. TMDF_DONOTRUNUSER is used to tell kernel to schedule upcall whenever possible, to UTS, it means do not run the user thread until debugger clears it, this behaviour is necessary because gdb wants to resume only one thread when the thread's pc is at a breakpoint, and thread needs to go forward, in order to avoid other threads sneak pass the breakpoints, it needs to remove breakpoint, only wants one thread to go. Also, add km_lwp to kse_mailbox, the lwp id is copied to kse_thr_mailbox at context switch time when process is not being debugged, so when process is attached, debugger can map kernel thread to user thread. 2. Add p_xthread to proc strcuture and td_xsig to thread structure. p_xthread is used by a thread when it wants to report event to debugger, every thread can set the pointer, especially, when it is used in ptracestop, it is the last thread reporting event will win the race. Every thread has a td_xsig to exchange signal with debugger, thread uses TDF_XSIG flag to indicate it is reporting signal to debugger, if the flag is not cleared, thread will keep retrying until it is cleared by debugger, p_xthread may be used by debugger to indicate CURRENT thread. The p_xstat is still in proc structure to keep wait() to work, in future, we may just use td_xsig. 3. Add TDF_DBSUSPEND flag, the flag is used by debugger to suspend a thread. When process stops, debugger can set the flag for thread, thread will check the flag in thread_suspend_check, enters a loop, unless it is cleared by debugger, process is detached or process is existing. The flag is also checked in ptracestop, so debugger can temporarily suspend a thread even if the thread wants to exchange signal. 4. Current, in ptrace, we always resume all threads, but if a thread has already a TDF_DBSUSPEND flag set by debugger, it won't run. Encouraged by: marcel, julian, deischen END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T07:22:56.000000Z K 7 svn:log V 139 Add ptrace_clear_single_step(), alpha already has it for years, the function will be used by ptrace to clear a thread's single step state. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T07:25:24.000000Z K 7 svn:log V 108 Implement following commands: PT_CLEARSTEP, PT_SETSTEP, PT_SUSPEND PT_RESUME, PT_GETNUMLWPS, PT_GETLWPLIST. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T07:33:40.000000Z K 7 svn:log V 2496 Add code to support debugging threaded process. 1. Add tm_lwpid into kse_thr_mailbox to indicate which kernel thread current user thread is running on. Add tm_dflags into kse_thr_mailbox, the flags is written by debugger, it tells UTS and kernel what should be done when the process is being debugged, current, there two flags TMDF_SSTEP and TMDF_DONOTRUNUSER. TMDF_SSTEP is used to tell kernel to turn on single stepping, or turn off if it is not set. TMDF_DONOTRUNUSER is used to tell kernel to schedule upcall whenever possible, to UTS, it means do not run the user thread until debugger clears it, this behaviour is necessary because gdb wants to resume only one thread when the thread's pc is at a breakpoint, and thread needs to go forward, in order to avoid other threads sneak pass the breakpoints, it needs to remove breakpoint, only wants one thread to go. Also, add km_lwp to kse_mailbox, the lwp id is copied to kse_thr_mailbox at context switch time when process is not being debugged, so when process is attached, debugger can map kernel thread to user thread. 2. Add p_xthread to proc strcuture and td_xsig to thread structure. p_xthread is used by a thread when it wants to report event to debugger, every thread can set the pointer, especially, when it is used in ptracestop, it is the last thread reporting event will win the race. Every thread has a td_xsig to exchange signal with debugger, thread uses TDF_XSIG flag to indicate it is reporting signal to debugger, if the flag is not cleared, thread will keep retrying until it is cleared by debugger, p_xthread may be used by debugger to indicate CURRENT thread. The p_xstat is still in proc structure to keep wait() to work, in future, we may just use td_xsig. 3. Add TDF_DBSUSPEND flag, the flag is used by debugger to suspend a thread. When process stops, debugger can set the flag for thread, thread will check the flag in thread_suspend_check, enters a loop, unless it is cleared by debugger, process is detached or process is existing. The flag is also checked in ptracestop, so debugger can temporarily suspend a thread even if the thread wants to exchange signal. 4. Current, in ptrace, we always resume all threads, but if a thread has already a TDF_DBSUSPEND flag set by debugger, it won't run. Encouraged by: marcel, julian, deischen END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-13T09:37:49.000000Z K 7 svn:log V 22 Replace DDB with KDB. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2004-07-13T09:41:45.000000Z K 7 svn:log V 25 Re-enable debugger port. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T09:46:46.000000Z K 7 svn:log V 18 Make LINT compile END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T09:47:27.000000Z K 7 svn:log V 29 Another LINT compilation fix END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-13T11:23:31.000000Z K 7 svn:log V 53 Minor sysctl description fixes. Submitted by: simon END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-13T11:28:40.000000Z K 7 svn:log V 75 Document sysctls variables used by GEOM_STRIPE class. Submitted by: simon END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-13T12:01:11.000000Z K 7 svn:log V 91 Decrease log level of one debug message, so there is no hole (level 2 wasn't used at all). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-13T12:01:29.000000Z K 7 svn:log V 21 Remove unused macro. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-13T12:30:11.000000Z K 7 svn:log V 89 Those sysctl are used to control GEOM class, not a userland utility. Reviewed by: simon END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-13T12:32:20.000000Z K 7 svn:log V 52 Document sysctl variables. Based on: simon's patch END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-13T12:58:36.000000Z K 7 svn:log V 61 MFi386: revision 1.213. Fix miss merging in previous change. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-13T13:10:07.000000Z K 7 svn:log V 180 Replace "uid != 0" with "suser(td->td_ucred) != 0" when checking if we've hit the maximum number of processes. The last ten processes are reserved for the *non-jailed* superuser. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-13T13:14:37.000000Z K 7 svn:log V 83 Merged from recent fdc driver changes. Make a separate function to check FDD type. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-13T14:52:31.000000Z K 7 svn:log V 246 Remove the description of the MAKE_SHELL variable that is not honored in -STABLE's make. The MAKE_SHELL description seems to have crept into the merge in rev. 1.12.2.24. PR: 65615 Submitted by: Matthew Seaman END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-13T15:01:41.000000Z K 7 svn:log V 122 MFC rev. 1.14: "An iface node *can* be configured..." PR: 66574 Submitted by: Michel Lavondes END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-13T15:07:23.000000Z K 7 svn:log V 144 MFC rev. 1.16 (a 'paramter' typo fix) and 1.17 (kill hard sentence breaks). PR: 66575 Submitted by: Michel Lavondes END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-13T16:06:19.000000Z K 7 svn:log V 29 Remove erroneous semicolons. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-07-13T16:11:04.000000Z K 7 svn:log V 206 Rev 1.24 of sys/ptrace.h adds ptrace_clear_single_step() prototype definition so this one causes "redundant declaration" error and breaks Alpha kernel build. Reviewed by: gallatin@ and test build on beast END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-13T16:11:34.000000Z K 7 svn:log V 49 oldcard's card device no longer requires a count END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-13T16:20:56.000000Z K 7 svn:log V 117 Fix a typo and MFC from rev. 1.6.\ PR: 66764 Submitted by: Michel Lavondes END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T16:33:38.000000Z K 7 svn:log V 17 fix compilation. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T17:43:03.000000Z K 7 svn:log V 44 Desupport M-Systems DiskOnChip driver "fla" END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T17:44:17.000000Z K 7 svn:log V 33 Send the fla driver in the Attic END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-13T17:57:41.000000Z K 7 svn:log V 398 Call device_identify routines after doing the namespace walk. This is needed so that sysresource objects are created first to reserve all regions, then other devices can allocate from them. Otherwise, acpi_timer (the only ACPI device with an identify routine), would allocate its resources from the nexus, causing the later sysresource reserve to fail. Debugging by: Taku YAMAMOTO, Andrea Campi END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-13T18:59:49.000000Z K 7 svn:log V 43 Clean up our pnpinfo and location strings. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T19:35:11.000000Z K 7 svn:log V 72 Add kldunloadf() system call. Stay tuned for follwing commit messages. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-13T19:36:59.000000Z K 7 svn:log V 612 Give kldunload a -f(orce) argument. Add a MOD_QUIESCE event for modules. This should return error (EBUSY) of the module is in use. MOD_UNLOAD should now only fail if it is impossible (as opposed to inconvenient) to unload the module. Valid reasons are memory references into the module which cannot be tracked down and eliminated. When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is not given, MOD_QUIESCE failing will also prevent the unload. For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as success. Document that modules should return EOPNOTSUPP for unknown events. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-13T20:49:13.000000Z K 7 svn:log V 302 Set TDF_NEEDRESCHED when a higher priority thread is scheduled in sched_add() rather than just doing it in sched_wakeup(). The old ithread preemption code used to set NEEDRESCHED unconditionally if it didn't preempt which masked this bug in SCHED_4BSD. Noticed by: jake Reported by: kensmith, marcel END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-13T22:40:59.000000Z K 7 svn:log V 140 In pmap_remove_pages(), when the pv_list is entry, we want to clean the PG_WRITEABLE flag, not the PG_REFERENCED flag. Submitted by: alc END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T22:49:58.000000Z K 7 svn:log V 641 Add code to support thread debugging. 1. Add global varible _libkse_debug, debugger uses the varible to identify libpthread. when the varible is written to non-zero by debugger, libpthread will take some special action at context switch time, it will check TMDF_DOTRUNUSER flags, if a thread has the flags set by debugger, it won't be scheduled, when a thread leaves KSE critical region, thread checks the flag, if it was set, the thread relinquish CPU. 2. Add pq_first_debug to select a thread allowd to run by debugger. 3. Some names prefixed with _thr are renamed to _thread prefix. which is allowed to run by debugger. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T22:51:03.000000Z K 7 svn:log V 52 If _libkse_debug is not zero, activate thread mode. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T22:52:11.000000Z K 7 svn:log V 47 Let debugger check signal, make SIGINFO works. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T22:52:53.000000Z K 7 svn:log V 38 Export necessary symbols to debugger. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T22:53:56.000000Z K 7 svn:log V 23 Remove unused symbols. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-13T22:54:23.000000Z K 7 svn:log V 57 Call kse_switchin to switch context when being debugged. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-07-14T00:03:30.000000Z K 7 svn:log V 107 Unmapped syscalls should be NOPROTO so that we don't get a duplicate prototype. (kldunloadf in this case) END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-07-14T00:03:51.000000Z K 7 svn:log V 6 Regen END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-14T00:58:53.000000Z K 7 svn:log V 31 Copy lwp id to thread mailbox. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-14T03:05:19.000000Z K 7 svn:log V 113 In pmap_remove_pages(), when clearing a pte, update the corresponding page's dirty mask. Reviewed by: gallatin@ END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-14T04:58:05.000000Z K 7 svn:log V 165 Add more technical acronyms, product names, country names, and technical english words to reduce the number of false positives when spellchecking our documentation. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T05:01:40.000000Z K 7 svn:log V 74 Convert SLIP to using C99 structure initialization for its struct linesw. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-14T05:23:16.000000Z K 7 svn:log V 41 More technical terms. MFC After: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T05:32:55.000000Z K 7 svn:log V 67 Switch snoop device to using C99 initialization for struct linesw. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-14T05:49:44.000000Z K 7 svn:log V 24 Additional pmap locking END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-14T06:47:32.000000Z K 7 svn:log V 40 do { } while(0) KNOTE macro, whitespace END K 10 svn:author V 8 takawata K 8 svn:date V 27 2004-07-14T06:58:39.000000Z K 7 svn:log V 45 Follow PnP location string change in acpi.c. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-14T06:59:58.000000Z K 7 svn:log V 109 Fix the pccard attachment to have a chance of working. Move the resource allocation into the bus front ends. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-14T07:02:03.000000Z K 7 svn:log V 56 Make FIOASYNC, FIOSETOWN and FIOGETOWN work on kqueues. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-14T07:04:17.000000Z K 7 svn:log V 71 Remove fdc_alloc_resources, which should have happened in last commit. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-14T07:10:15.000000Z K 7 svn:log V 47 Remove duplicate entry. Submitted by: mlaier@ END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-07-14T07:13:35.000000Z K 7 svn:log V 922 Like on i386, eliminate pv_ptem (which was suggested by alc). This reduces the size of the pv_entry structure a small but significant amount. This is implemented a little differently because it isn't so cheap to get the physical address of the page tabke page on amd64.. instead of it being directly accessible from the top level page directory, it is now two additional tree levels down. However.. In almost all cases, we recently had the physical address if the page table page a short while before we needed it, but it slipped through our fingers. This patch saves it for when we do need it. Also, for the one case where we do not have the ptp paddr, we are always running in curproc context and so we can do a vtopte-like trick. I've implemented vtopde() for this purpose. There is still a CYA entry in pmap_unuse_pt() that needs to be removed. I think it can be removed now but I forgot to test with it gone. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-14T08:33:14.000000Z K 7 svn:log V 172 Splay the left and right subtrees on min - 1 and max + 1, respectively, before trying to coalesce. Forgetting to splay caused us to miss many opportunities for coalescing. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-14T08:35:11.000000Z K 7 svn:log V 51 Remove unused member of struct csclass: csc_value. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-14T08:36:09.000000Z K 7 svn:log V 39 Fix description of cmap_lookup_hard(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-14T10:06:22.000000Z K 7 svn:log V 64 Make the 'y' (translate) command aware of multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-14T10:33:29.000000Z K 7 svn:log V 77 Update BUGS section to reflect current state of multibyte character support. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-14T10:37:21.000000Z K 7 svn:log V 52 Document the -E and -a options as being extensions. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-14T13:25:10.000000Z K 7 svn:log V 102 MFC: Mention that ``set mtu max'' is necessary for PPPoE. Assorted whitespace & linefeed tweaks. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-14T13:26:24.000000Z K 7 svn:log V 60 MFC: Reduce MAXMSS limit by 12 bytes to allow for rfc 1323. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-14T13:30:15.000000Z K 7 svn:log V 126 MFC: If HISMACADDR is set in the environment (by pppoed), pass the value to the RADIUS server as RAD_CALLING_STATION_ID. END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-14T13:31:17.000000Z K 7 svn:log V 25 Remove a stray backslash END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-14T13:31:41.000000Z K 7 svn:log V 193 Fix a copy-and-paste-o in IFQ_DRV_PREPEND - all pointyhats to me. While here also fix a (not less stupid) braino in IFQ_DRV_PURGE. Reported-by: clement Tested-by: clement (_PREPEND in sis(4)) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-14T13:32:00.000000Z K 7 svn:log V 30 Add a reference to glabel(8). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-14T14:19:32.000000Z K 7 svn:log V 144 Make sure to update the mnt_stats before UFS1 extattr tried to do I/O on the device. Otherwise the blocksize is undefined in the buffer cache. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-14T17:50:08.000000Z K 7 svn:log V 51 Unbreak LINT: device card no longer takes a count. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-14T18:12:15.000000Z K 7 svn:log V 90 Correct bounds check in lapic_create(). Submitted by: "Ted Unangst" tedu at coverity.com END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-07-14T19:04:31.000000Z K 7 svn:log V 323 In addition to the real user ID check, do an explicit jail check to ensure that the caller is not prison root. The intention is to fix file descriptor creation so that prison root can not use the last remaining file descriptors. This privilege should be reserved for non-jailed root users. Approved by: bmilekic (mentor) END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-07-14T19:31:31.000000Z K 7 svn:log V 269 Some laptops report the "design-capacity" instead of the "real-capacity" when the battery is fully charged. That breaks some of the arithmetic in calculating the remaining capacity (ends up with more than 100%). This commit makes sure the max is 100. Approved by: njl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T20:24:21.000000Z K 7 svn:log V 191 Introduce a new mutex, ng_iface_mtx, to protect the global unit list lock used to synchronize allocation of unit numbers for new netgraph interfaces. Reviewed by: glebius Tested by: glebius END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T20:26:29.000000Z K 7 svn:log V 182 Introduce a new mutex, ng_eiface_mtx, to protect the global unit list lock used to synchronize allocation of unit numbers for new netgraph ethernet interfaces. Reviewed by: glebius END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T20:27:33.000000Z K 7 svn:log V 140 Introduce a new mutex, ng_fec_mtx, to protect the global unit list to synchronization allocation of FEC unit numbers. Reviewed by: glebius END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T20:29:54.000000Z K 7 svn:log V 145 Add ng_ppp_latencies_mtx, a global mutex to protect the latency list. Note that the table is a hack, and so is this mutex. Reviewed by: glebius END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T20:31:05.000000Z K 7 svn:log V 202 Add a mutex ng_tty_mtx to protect the global variable ngt_unit. Note that the locking of globals here isn't complete, and there's also a locking issue relating to calling into and out of the tty code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-14T20:31:37.000000Z K 7 svn:log V 104 Add a note indicating that the eh_prototype field used to construct ethernet headers is unsynchronized. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-07-14T21:58:17.000000Z K 7 svn:log V 170 Add a HARDWARE section which lists supported devices. The actual device listings has been moved (and in some cases more or less rewritten) from the DESCRIPTION section. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-14T22:09:32.000000Z K 7 svn:log V 25 Add a comment separator. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-14T22:37:36.000000Z K 7 svn:log V 415 A module with no modevent function gets modevent_nop() as default. Until now the function has just returned zero for any event, but that is downright wrong for MOD_UNLOAD and not very useful for any future events we add where it may be crucial to be able to tell if the event was unhandled or successful. Change the function to return as follows: MOD_LOAD -> 0 MOD_UNLOAD -> EBUSY anything else -> EOPNOTSUPP END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-15T03:13:27.000000Z K 7 svn:log V 129 Style: rename 'mkdirpath' so it's clearer exactly what it does. (To be precise, it creates the parent dir of the provided path.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-15T03:14:46.000000Z K 7 svn:log V 189 Make the day/month ordering dependent on the current locale by testing the locale at program startup and setting a flag, then using that flag to determine appropriate strftime() arguments. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-15T03:20:00.000000Z K 7 svn:log V 149 A loop in pmap_remove() should use TAILQ_FOREACH_SAFE(), not TAILQ_FOREACH(), because the loop deletes elements from the list. Reviewed by: marcel@ END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T03:20:08.000000Z K 7 svn:log V 235 Clean up the output on reboot by keeping completion messages on the same line as the announcement. Someone should probably update the "buffers remaining" message since we now no longer should have any buffers remaining at that point. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-15T03:36:35.000000Z K 7 svn:log V 187 Add my initial work of libthread_db. The library is used by gdb to debug threaded process. Current, only libpthread is supported, but macrel will work on it to support libthr and libc_r. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-15T03:43:18.000000Z K 7 svn:log V 153 Add proc_service.h, the common file both debugger and libthread_db will use, program wants to load libthread_db.so should provid proc service interface. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-15T03:49:52.000000Z K 7 svn:log V 78 Disable SIGIO for now, leave a comment as to why it's busted and hard to fix. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-15T03:52:17.000000Z K 7 svn:log V 245 type prgregset_t really should be an array. this is odd, however, other systems defined interfaces in thread_db.h use prgregset_t but not prgregset_t * to be a output parameter, this is the only way to maintain source code compatible with them. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-15T04:00:52.000000Z K 7 svn:log V 71 MFC: r1.7 - r1.9 : technical terms for automated spellchecking of docs END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-15T04:29:48.000000Z K 7 svn:log V 25 Tidy up system shutdown. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T04:45:24.000000Z K 7 svn:log V 32 Use warn() instead of perror(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-15T04:51:04.000000Z K 7 svn:log V 52 Add libthread_db assisted debugging support module. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T04:51:21.000000Z K 7 svn:log V 32 Use warn() instead of perror(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-15T04:52:57.000000Z K 7 svn:log V 770 Remove some serious foot-shooting potential from the release Makefile. For some unknown reason, when LOCAL_PATCHES and LOCAL_SCRIPT were originally added, they were silently ignored if the actual file did not exist. As a result, if one mistyped the pathname to a patch or script, then the release silently succeeded. However, it was not built with the desired changes and no warning was given to inform the builder either. This commit explicitly checks to see that all of the defined patches and scripts exist up front and bails if any of them do not exist. I lost several hours of valuable sleeping time this evening due to this "feature" so I've finally gone and ripped out. I've tripped over this in the past several other times as well. Glanced at by: scottl END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T04:56:41.000000Z K 7 svn:log V 39 Use err() instead of perror(), exit(). END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-15T05:04:39.000000Z K 7 svn:log V 148 Remove Walnut Creek CDROM script that Jordan wrote in the 90s. This functionality is largely in src/release/${ARCH}/mkisofs.sh now. PR: docs/43569 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T05:12:04.000000Z K 7 svn:log V 58 Document line length and multibyte character limitations. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-15T05:43:10.000000Z K 7 svn:log V 83 MFC: latin american keymap improvements. submitted by maintainer. PR: misc/53327 END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-15T06:13:42.000000Z K 7 svn:log V 81 Make latin american keymap with accent keys available in sysinstall. PR: 67365 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T06:15:10.000000Z K 7 svn:log V 58 Ensure that suffix matches occur on character boundaries. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T06:43:52.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T06:57:36.000000Z K 7 svn:log V 39 Use freopen() instead of a nasty hack. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T06:59:34.000000Z K 7 svn:log V 77 Add incorrect multibyte character handling to the already long list of bugs. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T07:26:20.000000Z K 7 svn:log V 46 Respect locale settings from the environment. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T07:30:15.000000Z K 7 svn:log V 31 Print size_t with %zu, not %d. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T07:33:56.000000Z K 7 svn:log V 83 Don't pass negative values into functions on machines with signed chars. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-15T07:34:14.000000Z K 7 svn:log V 169 Fix 'camcontrol rescan' syntax and use the proper indentation for the FILES list. PR: 66827 Submitted by: Michel Lavondes MFC after: 2 weeks END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-15T07:46:24.000000Z K 7 svn:log V 78 MFC the relevant spelling fixes from mpp's rev. 1.1234 of src/sys/conf/NOTES. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-15T07:52:27.000000Z K 7 svn:log V 151 A couple of grammar fixes in the bktr options section. PR: 66828 (mostly) Submitted by: Michel Lavondes MFC after: 2 weeks END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-15T08:01:00.000000Z K 7 svn:log V 25 Cleanup shutdown output. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T08:13:56.000000Z K 7 svn:log V 46 Respect locale settings from the environment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-15T08:26:07.000000Z K 7 svn:log V 253 Do a pass over all modules in the kernel and make them return EOPNOTSUPP for unknown events. A number of modules return EINVAL in this instance, and I have left those alone for now and instead taught MOD_QUIESCE to accept this as "didn't do anything". END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T08:27:04.000000Z K 7 svn:log V 73 Avoid passing negative values to isspace() on systems with signed chars. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T08:54:41.000000Z K 7 svn:log V 46 Respect locale settings from the environment. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T09:23:04.000000Z K 7 svn:log V 74 Avoid passing negative values to isspace() on machines with signed chars. END K 10 svn:author V 6 murray K 8 svn:date V 27 2004-07-15T09:28:03.000000Z K 7 svn:log V 185 Add a publisher variable with the URL for the FreeBSD Project, and put this into the ISO headers by specifying the -P option to mkisofs. Obtained from: share/examples/worm/makecdfs.sh END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-07-15T09:42:16.000000Z K 7 svn:log V 358 Fix ``set ifaddr''. The code was actually using an uninitialised variable, but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to ncpaddr_getip4addr() became a no-op leaving the local address as it was (defaulting to whatever my hostname resolves to). PR: 62050 Submitted by: Peter Jeremy MFC after: 3 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T10:26:38.000000Z K 7 svn:log V 74 Avoid passing negative values to isdigit() on machines with signed chars. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-15T11:10:09.000000Z K 7 svn:log V 53 Document incorrect handling of multibyte characters. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2004-07-15T13:24:44.000000Z K 7 svn:log V 156 Reenable nullfs for local links. The change from 'struct vfsconf' to 'struct xvfsconf' broke auto configuration. Patches have been submitted to the vendor. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-15T13:43:49.000000Z K 7 svn:log V 107 Several grammatical fixes. PR: 66826 (partially) Submitted by: Michel Lavondes END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-07-15T13:44:45.000000Z K 7 svn:log V 58 Fix yet another hard sentence break. No content changes. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-07-15T15:00:02.000000Z K 7 svn:log V 62 Move the fdc_alloc_resources function into the bus front end. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-15T15:37:56.000000Z K 7 svn:log V 56 Move references to the recently removed worm directory. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:29:08.000000Z K 7 svn:log V 307 Update the interface for child drivers. Add acpi_scan_children, which allows a bus to re-enumerate its child handles and optionally replace them with new children, arranged to the bus's liking. (The current device space is flat with all devices immediately under acpi0). Add comments for each interface. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-15T16:37:48.000000Z K 7 svn:log V 25 Fix a typo in a comment. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:38:07.000000Z K 7 svn:log V 177 Add an ACPI floppy drive attachment that probes via the _FDE and _FDI methods. It also now handles ordinary floppy drive probing for drives attached to ACPI. Reviewed by: imp END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:39:40.000000Z K 7 svn:log V 264 Re-work for fdc_acpi. Expose fdc_add_child() and move the static hints-based probe to fdc_hints_probe(). Also: * Fix some resource leaks when attach fails. * Remove the FDC_ATTACHED flag. It was supposed to prevent multiple unloads but this is not necessary. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:41:07.000000Z K 7 svn:log V 80 Clean up resources properly if attach fails. Always reset ISA drives on probe. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:43:52.000000Z K 7 svn:log V 39 Hook up fdc_acpi for the kernel build. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:44:14.000000Z K 7 svn:log V 47 Add fdc_acpi to module build, bump WARNS to 2. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-15T16:47:31.000000Z K 7 svn:log V 39 Add a few comments about ACPI probing. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-15T18:00:43.000000Z K 7 svn:log V 252 Push down the acquisition and release of the page queues lock into pmap_protect() and pmap_remove(). In general, they require the lock in order to modify a page's pv list or flags. In some cases, however, pmap_protect() can avoid acquiring the lock. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-15T18:22:21.000000Z K 7 svn:log V 151 Add security/freebsd-update back for non-ia64 releases. (The port is currently marked ONLY_FOR_ARCHS= i386 amd64 alpha sparc64.) Approved by: scottl END K 10 svn:author V 2 le K 8 svn:date V 27 2004-07-15T19:25:06.000000Z K 7 svn:log V 250 MFNetBSD. rev. 1.67, author: mycroft Fix a byte order error. rev. 1.68, author: mycroft Adjust some silliness that was causing us to do extra work for "frame list rollover" interrupts, which we pretty much ignore. Obtained from: NetBSD END