Го131440 225 134 239 180 142 137 310 132 142 237 180 150 111 155 196 149 446 367 119 109 144 223 209 175 114 144 107 112 159 128 221 129 168 120 727 350 118 986 249 107 124 121 1955 412 246 131 133 131 131 131 140 131 131 157 169 95 145 143 130 118 150 131 270 130 320 131 120 120 120 193 155 415 170 159 171 165 114 191 196 730 164 156 172 137 834 139 176 144 164 696 640 154 121 690 113 254 246 130 156 254 120 103 121 105 143 237 185 137 348 298 165 315 1708 289 120 124 237 163 113 115 338 227 191 543 195 197 374 211 198 159 253 490 435 1078 884 524 236 350 353 251 155 144 276 162 174 201 251 537 193 172 510 149 150 212 219 154 177 121 154 161 223 188 351 785 162 694 324 536 266 104 105 105 105 123 120 448 183 137 165 159 227 123 240 102 170 130 152 164 154 140 172 214 176 227 154 218 150 198 169 113 231 212 157 120 408 292 147 281 643 312 245 453 121 108 129 208 109 129 107 173 145 154 316 240 123 116 K 10 svn:author V 5 marks K 8 svn:date V 27 2004-07-02T08:14:36.000000Z K 7 svn:log V 40 Vendor import of Intel ACPI-CA 20040527 END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-07-02T08:14:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r131440, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-02T08:14:37.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20040527'. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-07-02T08:34:19.000000Z K 7 svn:log V 48 Unchanged files that are off the vendor branch. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-07-02T08:37:56.000000Z K 7 svn:log V 43 Local diff: allow use of the disassembler. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-07-02T08:38:55.000000Z K 7 svn:log V 215 Local change: Allow access to the field if it is within the region size rounded up to a multiple of the access byte width. This overcomes "off-by-one" programming errors in the AML often found in Toshiba laptops. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T08:52:09.000000Z K 7 svn:log V 41 Markup overhaul and minor word smithing. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T09:18:31.000000Z K 7 svn:log V 50 Import of GNU sort from coreutils 5.2.1 (trimmed) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T09:18:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r131447, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-02T09:18:32.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'gnu-sort-vendor-SORT_v5_2_1'. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-02T09:19:22.000000Z K 7 svn:log V 54 Allow ptrace to deal with lwpid. Reviewed by: marcel END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T09:27:09.000000Z K 7 svn:log V 19 Resolve conflicts. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T09:34:37.000000Z K 7 svn:log V 63 Update build infrastructure for sort from GNU coreutils 5.2.1. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T11:07:42.000000Z K 7 svn:log V 103 Add support for multi-byte character sets. Obtained from: Mitsuru Chinen (IBM) via The Fedora Project END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T11:09:55.000000Z K 7 svn:log V 57 Hook strnlen.c up to the build - the i18n patch uses it. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-07-02T12:16:02.000000Z K 7 svn:log V 350 Bring in the first chunk of altq driver modifications. This covers the following drivers: bfe(4), em(4), fxp(4), lnc(4), tun(4), de(4) rl(4), sis(4) and xl(4) More patches are pending on: http://peoples.freebsd.org/~mlaier/ Please take a look and tell me if "your" driver is missing, so I can fix this. Tested-by: many No-objection: -current, -net END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-02T12:30:28.000000Z K 7 svn:log V 274 New variable `.MAKEFILE_LIST', useful for tracing, debugging and dependency tracking. Use make -V .MAKEFILE_LIST | tr \ \\n | awk '$0==".." {l--; next} {l++; printf "%*s%s\n", l, " ", $0}' to print a tree of all included makefiles. Approved by: joerg MFC after: 1 week END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-02T12:34:13.000000Z K 7 svn:log V 27 manlint Obtained from: ru END K 10 svn:author V 3 den K 8 svn:date V 27 2004-07-02T13:13:20.000000Z K 7 svn:log V 17 Fix tags END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-02T13:42:36.000000Z K 7 svn:log V 52 Disable native ata support for now, too much breaks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-02T14:19:44.000000Z K 7 svn:log V 126 Use %esi to store next ucp pointer. Mark end of stack by setting %ebp to zero, this avoids new gdb to dump a weird backtrace. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2004-07-02T15:31:44.000000Z K 7 svn:log V 111 Implement SNDCTL_DSP_SETDUPLEX. This may fix sound apps which want to use full duplex mode. Approved by: matk END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-07-02T15:47:47.000000Z K 7 svn:log V 81 Document net.inet.ip.process_options sysctl. Improved by: ru Reviewed by: andre END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-02T15:52:44.000000Z K 7 svn:log V 19 Small grammar fix. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T16:19:28.000000Z K 7 svn:log V 53 Bump document date on behalf of the previous change. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T16:45:56.000000Z K 7 svn:log V 16 Markup tidying. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-02T17:06:19.000000Z K 7 svn:log V 20 We support -O2 now. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-02T17:08:39.000000Z K 7 svn:log V 67 Explain that -O2 is supported, but known to expose bugs in ppp(8). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T18:00:03.000000Z K 7 svn:log V 37 Fixed spelling of the document date. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-07-02T18:19:01.000000Z K 7 svn:log V 125 Fix the '\' next to lshift for users of Belgian keyboards. Submitted by: Glenn Matthys Approved by: njl END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T18:37:52.000000Z K 7 svn:log V 38 Deal with harmful leading whitespace. END K 10 svn:author V 4 arun K 8 svn:date V 27 2004-07-02T18:39:15.000000Z K 7 svn:log V 75 Bump up the date and add spaces around commas. Thanks to ru@ for noticing. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T19:07:33.000000Z K 7 svn:log V 29 Removed trailing whitespace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-02T19:09:50.000000Z K 7 svn:log V 634 - Change mi_switch() and sched_switch() to accept an optional thread to switch to. If a non-NULL thread pointer is passed in, then the CPU will switch to that thread directly rather than calling choosethread() to pick a thread to choose to. - Make sched_switch() aware of idle threads and know to do TD_SET_CAN_RUN() instead of sticking them on the run queue rather than requiring all callers of mi_switch() to know to do this if they can be called from an idlethread. - Move constants for arguments to mi_switch() and thread_single() out of the middle of the function prototypes and up above into their own section. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-02T19:17:27.000000Z K 7 svn:log V 257 Get rid of the strict aliasing error by retrieving the ECDT via a table header pointer and then casting it to the ecdt pointer. This fixes the -O2 build. I'm unsure what changed recently to reveal this error since this code has been unchanged for months. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T19:37:24.000000Z K 7 svn:log V 27 mdoc(7): Fixed list types. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-02T19:40:36.000000Z K 7 svn:log V 893 Introduce GEOM_LABEL class. This class is used for detecting volume labels on file systems: UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660. It also provide native labelization (there is no need for file system). g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow. g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found where volume labels are stored and I use those offsets here, but with this class it should be easy to do it as it should be done by someone who know how. Implementing volume labels detection for other file systems also should be trivial. New providers are created in those directories: /dev/ufs/ (UFS1, UFS2) /dev/msdosfs/ (FAT12, FAT16, FAT32) /dev/iso9660/ (ISO9660) /dev/label/ (native labels, configured with glabel(8)) Manual page cleanups and some comments inside were submitted by Simon L. Nielsen, who was, as always, very helpful. Thanks! END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-07-02T19:44:59.000000Z K 7 svn:log V 153 Don't announce the ethernet address when it's 00:00:00:00:00:00. It's not of any interest. This primairly happens when vlan(4) interfaces are created. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T19:54:39.000000Z K 7 svn:log V 16 Fixed comments. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T19:55:26.000000Z K 7 svn:log V 33 Deal with unsafe tab characters. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-07-02T20:15:53.000000Z K 7 svn:log V 29 Remove duplicate FreeBSD id. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-02T20:21:44.000000Z K 7 svn:log V 1861 Implement preemption of kernel threads natively in the scheduler rather than as one-off hacks in various other parts of the kernel: - Add a function maybe_preempt() that is called from sched_add() to determine if a thread about to be added to a run queue should be preempted to directly. If it is not safe to preempt or if the new thread does not have a high enough priority, then the function returns false and sched_add() adds the thread to the run queue. If the thread should be preempted to but the current thread is in a nested critical section, then the flag TDF_OWEPREEMPT is set and the thread is added to the run queue. Otherwise, mi_switch() is called immediately and the thread is never added to the run queue since it is switch to directly. When exiting an outermost critical section, if TDF_OWEPREEMPT is set, then clear it and call mi_switch() to perform the deferred preemption. - Remove explicit preemption from ithread_schedule() as calling setrunqueue() now does all the correct work. This also removes the do_switch argument from ithread_schedule(). - Do not use the manual preemption code in mtx_unlock if the architecture supports native preemption. - Don't call mi_switch() in a loop during shutdown to give ithreads a chance to run if the architecture supports native preemption since the ithreads will just preempt DELAY(). - Don't call mi_switch() from the page zeroing idle thread for architectures that support native preemption as it is unnecessary. - Native preemption is enabled on the same archs that supported ithread preemption, namely alpha, i386, and amd64. This change should largely be a NOP for the default case as committed except that we will do fewer context switches in a few cases and will avoid the run queues completely when preempting. Approved by: scottl (with his re@ hat) END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-02T20:47:18.000000Z K 7 svn:log V 319 Enable testing of customized variants of bsd.port.mk and bsd.port.subdir.mk, without the overhead of an additional ports tree. Use make BSDPORTMK='${PORTSDIR}/My.Mk/bsd.port.mk' target and make BSDPORTSUBDIRMK='${PORTSDIR}/My.Mk/bsd.port.subdir.mk' target to build with the alternate versions. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-07-02T20:49:56.000000Z K 7 svn:log V 153 New release notes: GEOM_LABEL added, top(1) -m io, ACPI-CA 20040527 import, and GNU sort coreutils 5.2.1 import. Typo fixes: s/ethernet/Ethernet/. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:04:19.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:15:48.000000Z K 7 svn:log V 42 mdoc(7): Correct the type of the display. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:16:38.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:28:50.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:45:06.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:49:22.000000Z K 7 svn:log V 49 Fixed what appeared to be a hard sentence break. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T21:53:39.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T22:22:35.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-07-02T22:24:40.000000Z K 7 svn:log V 65 Make "neworder" the default for how newsyslog will do it's work. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T22:24:53.000000Z K 7 svn:log V 78 Fix after rev. 1.24 changes: bump document date, and remove -c from SYNOPSIS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T22:25:40.000000Z K 7 svn:log V 5 Nit. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-02T22:30:10.000000Z K 7 svn:log V 50 Define __RMAN_RESOURCE_VISIBLE where appropriate. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-07-02T22:30:42.000000Z K 7 svn:log V 48 ithread_schedule() now only takes one argument. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T22:48:29.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T22:50:25.000000Z K 7 svn:log V 27 Fixed SEE ALSO references. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T22:56:14.000000Z K 7 svn:log V 58 Document the -i option as being a non-standard extension. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T23:13:00.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-07-02T23:20:05.000000Z K 7 svn:log V 173 Follow previous change in makecontext. Use %esi to store next ucp pointer, here we keep orignal %ebp, so we can see where signal handler comes in and interrupt normal code. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-02T23:43:05.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-02T23:51:44.000000Z K 7 svn:log V 227 style(9) compliance. Put some braces around the busy-wait loop in vr_rxeoc() to make the no-op semicolon more obvious. No functional changes. Running on the machine I am committing from without problems. Reviewed by: jmallett END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-02T23:52:20.000000Z K 7 svn:log V 40 Mechanically kill hard sentence breaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T00:06:28.000000Z K 7 svn:log V 29 Deal with double whitespace. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T00:13:43.000000Z K 7 svn:log V 29 Deal with double whitespace. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T00:24:45.000000Z K 7 svn:log V 29 Deal with double whitespace. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-03T00:57:43.000000Z K 7 svn:log V 98 Unbreak build for the the !PREEMPTION case: don't define variables that aren't used in that case. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T01:08:03.000000Z K 7 svn:log V 63 Re-add half of UCB copyright notice that went missing in 1.20. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-07-03T01:19:46.000000Z K 7 svn:log V 317 Fix SCHED_ULE build on SMP. The previous revision (1.110) introduced a KSE_CAN_MIGRATE() invocation with one argument missing (class). Either this is a genuine forget or it crept in from JHB's repo where he may have modified it. If it's the latter then it may require more attention. For now fix the make depend. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T01:28:21.000000Z K 7 svn:log V 78 Document missing multibyte character support in utilities specified by POSIX. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T01:49:17.000000Z K 7 svn:log V 67 Clarify: test compares strings by binary value, not "ASCII value". END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T02:03:44.000000Z K 7 svn:log V 79 Document missing multibyte character handling in utilities specified by POSIX. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-03T02:10:52.000000Z K 7 svn:log V 70 Unbreak -O2 build: initialize nstatus to avoid uninitialized warning. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T02:37:42.000000Z K 7 svn:log V 22 Update for coreutils. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-07-03T02:38:03.000000Z K 7 svn:log V 99 Add a NULL param to an mi_switch() that I missed. Reported by: Jung-uk Kim jkim at niksun dot com END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-03T02:52:32.000000Z K 7 svn:log V 103 - Another whitespace pass; make locking calls more obvious. - Use C99 types for vr_miibus_readreg(). END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-03T02:59:02.000000Z K 7 svn:log V 637 SMPng locking cleanup for vr(4). - Remove recursive locking situations. Remove the MTX_RECURSE bit. - Take the lock for any routine which is not called from within if_vr.c itself; this includes entry points called by newbus, ifnet, callout, ifmedia, and polling subsystems. - Remove spl references from the code added to miibus callbacks in rev 1.60. - Add the INTR_MPSAFE bit. - Tidy up some assignments; locks are not needed for taking the address of something at a known offset, for example. - Tested on the machine this was committed from. Tested on: UP only, !debug.mpsafenet && debug.mpsafenet Reviewed by: rwatson END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T07:07:11.000000Z K 7 svn:log V 72 Fix a markup nit and a misplaced full stop in previous. Noticed by: ru END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-03T08:36:09.000000Z K 7 svn:log V 64 Grammar nits. Submitted by: David Magda END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-07-03T08:45:20.000000Z K 7 svn:log V 78 Add FreeBSD-SA-04:13.linux and the device.hints related expansion of pcm(4). END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-03T09:41:58.000000Z K 7 svn:log V 45 The -O2 bugs are in libalias(3), not ppp(8). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T13:22:38.000000Z K 7 svn:log V 741 By popular request, add a workaround that allows large (>128GB or so) FAT32 filesystems to be mounted, subject to some fairly serious limitations. This works by extending the internal pseudo-inode-numbers generated from the file's starting cluster number to 64-bits, then creating a table mapping these into arbitrary 32-bit inode numbers, which can fit in struct dirent's d_fileno and struct vattr's va_fileid fields. The mappings do not persist across unmounts or reboots, so it's not possible to export these filesystems through NFS. The mapping table may grow to be rather large, and may grow large enough to exhaust kernel memory on filesystems with millions of files. Don't enable this option unless you understand the consequences. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-03T14:09:42.000000Z K 7 svn:log V 47 Remove file no longer present in distribution. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-03T16:52:57.000000Z K 7 svn:log V 80 Use C99 conforming designated initialisers rather than the obsolete GCC syntax. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-03T16:56:45.000000Z K 7 svn:log V 52 Remove "register" keyword and trailing white space. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-03T16:57:51.000000Z K 7 svn:log V 72 Add NULL arg to mi_switch() call to stop kernel compiles from breaking. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-03T18:11:41.000000Z K 7 svn:log V 601 Limit mbuma damage. Suddenly ALL allocations with M_WAITOK are subject to failing -- that is, allocations via malloc(M_WAITOK) that are required to never fail -- if WITNESS is not defined. While everyone should be running WITNESS, in any case, zone "Mbuf" allocations are really the only ones that should be screwed with by this hack. This hack is crashing people, and would continue to do so with or without WITNESS. Things shouldn't be allocating with M_WAITOK with locks held, but it's not okay just to always remove M_WAITOK when !WITNESS. Reported by: Bernd Walter END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-03T18:18:36.000000Z K 7 svn:log V 544 Commit the first of half of changes that allow busdma to transparently honor the alignment and boundary constraints in the dma tag when loading buffers. Previously, these constraints were only honored when allocating memory via bus_dmamem_alloc(). Now, bus_dmamap_load() will automatically use bounce buffers when needed. Also add a set of sysctls to monitor the global busdma stats. These are: hw.busdma.free_bpages hw.busdma.reserved_bpages hw.busdma.active_bpages hw.busdma.total_bpages hw.busdma.total_bounced hw.busdma.total_deferred END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T18:29:24.000000Z K 7 svn:log V 63 Mechanically kill hard sentence breaks and double whitespaces. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T18:35:53.000000Z K 7 svn:log V 30 Eliminated double whitespace. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-03T19:17:06.000000Z K 7 svn:log V 593 Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call to dup_sockaddr() was renamed to sodupsockaddr(), the argument was changed from '1' to 'M_WAITOK', which changed the semantics. This resulted in a WITNESS warning about a potential sleep while holding the NFS server mutex. Now this will no longer happen, restoring a possible bug present in the original code (setting RC_NAM even though the malloc to copy the addres may fail). bde observes that the flag names here should probably not be the same as the malloc flags for name space reasons. Bumped into by: kuriyama END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-03T19:37:06.000000Z K 7 svn:log V 21 Remove stale comment END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-03T20:11:49.000000Z K 7 svn:log V 161 Don't define __RMAN_RESOURCE_VISISBLE. They aren't needed here after I've converted the direct accessing of struct resource members to the preferred interface. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-03T20:48:01.000000Z K 7 svn:log V 153 Use the rman_* functions in preference to reaching into struct resource. Remove __RMAN_RESOURCE_VISIBLE after compilation confirms it is now not needed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-03T20:49:00.000000Z K 7 svn:log V 38 Really remove __RMAN_RESORUCE_VISIBLE END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-03T20:56:16.000000Z K 7 svn:log V 64 These don't need RMAN_RESOURCE_VISIBLE now that rman is visible END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-03T21:01:18.000000Z K 7 svn:log V 161 Document /var/run/dmesg.boot, which is created by the rc scripts. Many people have suggested that we document this somewhere, and this was a common suggestion. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T22:30:10.000000Z K 7 svn:log V 29 Eliminate double whitespace. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T22:53:50.000000Z K 7 svn:log V 12 Merge junk. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T23:01:44.000000Z K 7 svn:log V 30 One more hard sentence break. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-03T23:14:34.000000Z K 7 svn:log V 14 Fixed markup. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T01:03:02.000000Z K 7 svn:log V 51 Import of GNU regex from GNU grep 2.5.1 (trimmed). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T01:03:02.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r131543, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-04T01:03:03.000000Z K 7 svn:log V 89 This commit was manufactured by cvs2svn to create tag 'libregex-vendor-from_grep_v2_5_1'. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T01:07:38.000000Z K 7 svn:log V 45 Merge local changes (addition of $FreeBSD$). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T02:46:55.000000Z K 7 svn:log V 255 Fix regression in new version of GNU regex code: bracket expressions like [X-Y] should match all characters between X-Y according to the locale's collating order, not by binary value. For now, this only fixes the !MBS_SUPPORT case (which is the default). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2004-07-04T04:03:37.000000Z K 7 svn:log V 200 Yes, NgRecvAsciiMsg has the same results as NgRecvAsciiMsg, but it's much more apt to note that it has the same result as NgRecvMsg. Make the manual page less circular in its reference to this fact. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-07-04T04:50:00.000000Z K 7 svn:log V 70 Document that boundaries cannot be smaller than the max segment size. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-04T07:21:18.000000Z K 7 svn:log V 217 Wrap rc.subr inside if [ -z "${_rc_subr_loaded}" ]; then _rc_subr_loaded="YES" ... fi in order to avoid re-interpreting rc.subr every time an rc.d script is run. In my tests, this speeds up rc time by about 8-10%. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T08:52:35.000000Z K 7 svn:log V 1614 When we traverse the vnodes on a mountpoint we need to look out for our cached 'next vnode' being removed from this mountpoint. If we find that it was recycled, we restart our traversal from the start of the list. Code to do that is in all local disk filesystems (and a few other places) and looks roughly like this: MNT_ILOCK(mp); loop: for (vp = TAILQ_FIRST(&mp...); (vp = nvp) != NULL; nvp = TAILQ_NEXT(vp,...)) { if (vp->v_mount != mp) goto loop; MNT_IUNLOCK(mp); ... MNT_ILOCK(mp); } MNT_IUNLOCK(mp); The code which takes vnodes off a mountpoint looks like this: MNT_ILOCK(vp->v_mount); ... TAILQ_REMOVE(&vp->v_mount->mnt_nvnodelist, vp, v_nmntvnodes); ... MNT_IUNLOCK(vp->v_mount); ... vp->v_mount = something; (Take a moment and try to spot the locking error before you read on.) On a SMP system, one CPU could have removed nvp from our mountlist but not yet gotten to assign a new value to vp->v_mount while another CPU simultaneously get to the top of the traversal loop where it finds that (vp->v_mount != mp) is not true despite the fact that the vnode has indeed been removed from our mountpoint. Fix: Introduce the macro MNT_VNODE_FOREACH() to traverse the list of vnodes on a mountpoint while taking into account that vnodes may be removed from the list as we go. This saves approx 65 lines of duplicated code. Split the insmntque() which potentially moves a vnode from one mount point to another into delmntque() and insmntque() which does just what the names say. Fix delmntque() to set vp->v_mount to NULL while holding the mountpoint lock. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-07-04T09:13:53.000000Z K 7 svn:log V 193 Add device ID for atuwi USB wlan driver, Linksys WUSB11 v2.8 wireless adapter. (Atmel at76c503a http://vitsch.net/bsd/atuwi) PR: kern/68465 Submitted by: Suihong Liang END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-04T09:24:41.000000Z K 7 svn:log V 24 MFC of IPFilter 3.4.35. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T09:52:08.000000Z K 7 svn:log V 32 Import GNU grep 2.5.1 (trimmed) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T09:52:08.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r131554, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-07-04T09:52:09.000000Z K 7 svn:log V 67 This commit was manufactured by cvs2svn to create tag 'grep_2_5_1'. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T10:02:03.000000Z K 7 svn:log V 21 Merge local changes. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T10:05:37.000000Z K 7 svn:log V 23 Update for grep 2.5.1. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-04T10:19:15.000000Z K 7 svn:log V 242 Revision 1.496 would not boot on my system due to ffs_mount -> bdevvp -> getnewvnode(..., mp = NULL, ...) -> insmntqueue(vp, mp = NULL) -> KASSERT -> panic Make getnewvnode() only call insmntqueue() if the mountpoint parameter is not NULL. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T10:22:50.000000Z K 7 svn:log V 134 Ignore ENABLE_NLS when deciding whether we can use setlocale(). Use the same shortcut as glibc to test for the "C" or "POSIX" locale. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T10:24:48.000000Z K 7 svn:log V 99 Use hard_locale() to check whether collating order is "hard" regardless of whether NLS is enabled. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-04T10:52:54.000000Z K 7 svn:log V 447 Introduce a new kevent filter. EVFILT_FS that will be used to signal generic filesystem events to userspace. Currently only mount and unmount of filesystems are signalled. Soon to be added, up/down status of NFS. Introduce a sysctl node used to route requests to/from filesystems based on filesystem ids. Introduce a new vfsop, vfs_sysctl(mp, req) that is used as the callback/ entrypoint by the sysctl code to change individual filesystems. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T11:33:49.000000Z K 7 svn:log V 102 Fix failure of fgrep to report some matches (Red Hat bug #116909). Obtained from: Fedora (Tim Waugh) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T11:58:10.000000Z K 7 svn:log V 104 Improve case-insensitive matching in multibyte locales. Obtained from: Isamu Hasegawa (IBM) via Fedora END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T12:49:04.000000Z K 7 svn:log V 281 Blocksize for I/O should be a property of the vnode and not found by groping around in the vnodes surroundings when we allocate a block. Assign a blocksize when we create a vnode, and yell a warning (and ignore it) if we got the wrong size. Please email all such warnings to me. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T12:53:07.000000Z K 7 svn:log V 118 Add LibAliasOutTry() which checks a packet for a hit in the tables, but does not create a new entry if none is found. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T12:53:54.000000Z K 7 svn:log V 105 Give natd multi-instance capabilities. This makes it possible to do load-sharing on two xDSL lines etc. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T13:44:48.000000Z K 7 svn:log V 67 We only need to check for overlaps if we increasing access counts. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T14:00:25.000000Z K 7 svn:log V 160 Avoid accessing accessing memory past the end of mb_properties in the degenerate case of fgrep with an empty pattern in a multibyte locale. Found by phkmalloc. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-07-04T14:17:41.000000Z K 7 svn:log V 395 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. This will be used later for automatically generating device listings in the Hardware Notes, by parsing the manual pages. Reviewed in principle by: ru, hrs, trhodes No objections: -doc, re Section name inspired by: NetBSD END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T15:53:28.000000Z K 7 svn:log V 342 The net.link.ether.bridge.enable sysctl MIB variable enables bridge functionality by setting to a non-zero value. This is an integer, but is treated as a boolean by the code, so clamp it to a boolean value when set so as to avoid unnecessary bridge reinitialization if it's changed to another value. PR: kern/61174 Requested by: Bruce Cran END K 10 svn:author V 5 green K 8 svn:date V 27 2004-07-04T15:59:25.000000Z K 7 svn:log V 983 Reextend the M_WAITOK-disabling-hack to all three of the mbuf-related zones, and do it by direct comparison of uma_zone_t instead of strcmp. The mbuf subsystem used to provide M_TRYWAIT/M_DONTWAIT semantics, but this is mostly no longer the case. M_WAITOK has taken over the spot M_TRYWAIT used to have, and for mbuf things, still may return NULL if the code path is incorrectly holding a mutex going into mbuf allocation functions. The M_WAITOK/M_NOWAIT semantics are absolute; though it may deadlock the system to try to malloc or uma_zalloc something with a mutex held and M_WAITOK specified, it is absolutely required to not return NULL and will result in instability and/or security breaches otherwise. There is still room to add the WITNESS_WARN() to all cases so that we are notified of the possibility of deadlocks, but it cannot change the value of the "badness" variable and allow allocation to actually fail except for the specialized cases which used to be M_TRYWAIT. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-07-04T16:07:44.000000Z K 7 svn:log V 786 Introduce debug.nosleepwithlocks sysctl, 0 by default. If set to 1 and WITNESS is not built, then force all M_WAITOK allocations to M_NOWAIT behavior (transparently). This is to be used temporarily if wierd deadlocks are reported because we still have code paths that perform M_WAITOK allocations with lock(s) held, which can lead to deadlock. If WITNESS is compiled, then the sysctl is ignored and we ask witness to tell us wether we have locks held, converting to M_NOWAIT behavior only if it tells us that we do. Note this removes the previous mbuf.h inclusion as well (only needed by last revision), and cleans up unneeded [artificial] comparisons to just the mbuf zones. The problem described above has nothing to do with previous mbuf wait behavior; it is a general problem. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-04T16:10:36.000000Z K 7 svn:log V 431 meta_p is a void *, so a variable that's of type void * can't be dereferenced directly. Toss an ifdef around it for the moment and allow this to compile. This likely means that priority packets aren't queued to the special high priority queue. The maintainer of this should look into the problem. This is likely fallout from the netgraph migration to using a more generic meta tag from the mbug recently. Fixes: pc98 tinerbox END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-07-04T16:11:03.000000Z K 7 svn:log V 139 Consistently use __inline instead of __inline__ as the former is an empty macro in for compilers without support for inline. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T16:16:59.000000Z K 7 svn:log V 257 Make grep run much (~10x) faster in multibyte locales by caching the wide character representation of input data across calls to dfaexec(), and by caching the lengths of character across calls to check_multibyte_string(). Obtained from: Fedora (Tim Waugh) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-04T16:23:25.000000Z K 7 svn:log V 260 Make the default memory range in the top 2GB of ram in the hopes that this more accurately reflects what the underlying hardware of most acpi machines that don't have children pci busses. We still need a better way to get this information from acpi/hardware. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-04T16:25:41.000000Z K 7 svn:log V 158 Fix bug causing `[' to be wrongly included in character class expressions in some multibyte locales (Red Hat bug #108484). Obtained from: Fedora (Tim Waugh) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T16:27:58.000000Z K 7 svn:log V 63 Add modemcontrol support for DTR and DCD. Tested by: ambrisko END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T16:43:24.000000Z K 7 svn:log V 52 style(9)/whitespace cleanup while I'm in this file. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-07-04T17:24:12.000000Z K 7 svn:log V 179 Nothing says that /var/log can't be not a directory but a symbolic link to a directory. Therefore, use stat(2) instead of lstat(2) to check if /var/log exists. MFC after: 7 days END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-04T17:41:44.000000Z K 7 svn:log V 66 The prototype for fr_makefrip() is out of step with the function. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T18:07:58.000000Z K 7 svn:log V 82 Add documentation for the ieee80211_node.c functions. Submitted by: Darron Broad END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-04T18:13:01.000000Z K 7 svn:log V 103 Pass the pointy hat, please: All of --help should go to stdout, not some to stdout and some to stderr. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-04T18:28:56.000000Z K 7 svn:log V 153 Yet another pointy hat: When restoring file flags, it's okay to use the shared stat buffer, but don't try to access it through an uninitialized pointer. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T18:32:54.000000Z K 7 svn:log V 444 Workaround a locking problem in vlan(4). vlan_setmulti() may be called with sleepable locks held from further up in the network stack, and attempts to allocate memory to hold multicast group membership information with M_WAITOK. This panic was triggered specifically when an exiting routing daemon process closes its raw sockets after joining multicast groups on them. While we're here, comment some possible locking badness. PR: kern/48560 END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T18:40:36.000000Z K 7 svn:log V 100 Check the return value of bus_dmamem_alloc() correctly. Submitted by: Darron Broad (with cleanups) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-07-04T19:07:07.000000Z K 7 svn:log V 77 Record the offset of thr_id in the thread structure. Required for debugging. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-04T19:13:58.000000Z K 7 svn:log V 412 Where syslogd would have fsync()ed a file in the past, instead set a flag FFLAG_NEEDSYNC and fsync the file when select() next returns zero. This dramatically speeds up the process of logging large amounts of data, while leaving the essential semantics (that data can be expected to be on disk if we crash) unchanged. In my tests, this speeds up the rc phase of booting by 18-20%. [1] YES PLEASE! by: phk [1] END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T19:42:25.000000Z K 7 svn:log V 57 Make the last commit handle non-phk root devices better. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-04T19:52:48.000000Z K 7 svn:log V 53 Fix dofsync() declaration. Pointed out by: dwmalone END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-07-04T20:17:00.000000Z K 7 svn:log V 114 Add commentary explaining why we return EBADF upon attempts to fflush() a read-only file. Discussed on: -current END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-07-04T20:21:58.000000Z K 7 svn:log V 123 Pass the operation in with the fsidctl. Remove some fsidctls that we will not be using. Correct prototypes for fs sysctls. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-04T20:55:50.000000Z K 7 svn:log V 63 Sort SEE ALSO references (in dictionary order, ignoring case). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-04T21:15:37.000000Z K 7 svn:log V 86 Fixed cross-references in SEE ALSO. Emininated double space and hard sentence breaks. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T22:19:50.000000Z K 7 svn:log V 29 Fix whitespace and comments. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T22:20:52.000000Z K 7 svn:log V 62 Fix whitespace, indentation, long line wrapping and comments. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T22:33:22.000000Z K 7 svn:log V 69 Give synthetic root filesystem device vnodes a v_bsize of DEV_BSIZE. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-04T23:16:04.000000Z K 7 svn:log V 130 Mark our interrupt shareable and don't insist on DMA. This gets us closer to working with a secondary floppy controller on a PC. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-04T23:31:28.000000Z K 7 svn:log V 96 ANSIfy function definitions. Remove unnecessary return keywords. Other minor stylistic changes. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T00:15:23.000000Z K 7 svn:log V 258 Use if_printf() and device_printf() where appropriate, i.e.: - Use device_printf() during device probe/attach. - Move if_xname initialization to before xl_reset() is called. - Use if_printf() at all other times after struct ifnet has been initialized. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-07-05T01:07:33.000000Z K 7 svn:log V 687 Rework syncer termination code: Speed up the syncer when shutting down by sleeping for a shorter period of time instead of cranking up rushjob and using the normal one second sleep. Skip empty worklist slots when shutting down to avoid lengthy intervals of inactivity. Give I/O more time to complete between steps by not speeding the syncer quite as much. Terminate the syncer after one full pass through the worklist plus one second with the worklist containing nothing but syncer vnodes. Print an indication of shutdown progress to the console. Add a sysctl, vfs.worklist_len, to allow the size of the syncer worklist to be monitored. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-05T02:06:44.000000Z K 7 svn:log V 70 MFp4: gmirror(8) is coming soon, and we need g_metadata_read() there. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T02:34:35.000000Z K 7 svn:log V 601 Reintroduce and clean up locking in xl(4). - Eliminate the use of a recursive mutex. - Mark the driver as INTR_MPSAFE. - Split the default media choice code out into xl_choose_media() to avoid making poor assumptions about the state of the lock during attach. - The miibus upcall/downcall paths may still be racy. Change to commented-out locking assertions there for now. - Tested with nfsclient, routed, ssh, ntp, dhclient and quagga bgpd. - This needs SMP test coverage. I do not have such resources. Tested on: UP, !debug.mpsafenet && debug.mpsafenet Hardware: 3C905B-TX (0x905510b7) END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T02:46:42.000000Z K 7 svn:log V 231 style(9) and whitespace cleanup. Use C99 types. Use ANSI function definitions. Sort prototypes. Split long lines correctly. Punctuate/wordsmith comments. Use device_printf()/if_printf() where possible. Reviewed by: -net (silence) END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T02:51:32.000000Z K 7 svn:log V 443 Locking cleanup for rl(4). - Eliminate the use of a recursive mutex. - Mark the driver INTR_MPSAFE. This work is incomplete and will be refined in a future commit. - Most notably, _locked() variants of entry points need to be introduced. - The mii upcall/downcall may still be racy. - Add a stubbed-out guard against racing rl_detach() for the time being. Tested on: UP, debug.mpsafenet && !debug.mpsafenet Reviewed by: silence on -net END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-05T06:02:35.000000Z K 7 svn:log V 169 The prototype for fr_makefrip() should never have changed, the fil.c in src/contrib/ipfilter just wasn't updated to match sys/contrib/ipfilter like it should have been. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T06:39:03.000000Z K 7 svn:log V 13 Markup nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T06:53:34.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T06:59:17.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T07:21:55.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T10:53:28.000000Z K 7 svn:log V 31 Mechanical whitespace cleanup. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T10:55:23.000000Z K 7 svn:log V 28 Parenthesize return values. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T11:10:57.000000Z K 7 svn:log V 355 Make libalias WARNS?=6-clean. This mostly involves renaming variables named link, foo_link or link_foo to lnk, foo_lnk or lnk_foo, fixing signed / unsigned comparisons, and shoving unused function arguments under the carpet. I was hoping WARNS?=6 might reveal more serious problems, and perhaps the source of the -O2 breakage, but found no smoking gun. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T11:21:50.000000Z K 7 svn:log V 91 Truncate long file names in stat_display(), as was originally intended. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T12:19:53.000000Z K 7 svn:log V 45 Correct a misleading (cut'n'pasted) comment. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T12:22:50.000000Z K 7 svn:log V 73 Fix selecting processes by uid, which was broken in the previous commit. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-05T12:40:31.000000Z K 7 svn:log V 67 Fix handling of multibyte delimiter characters with the -t option. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T12:48:17.000000Z K 7 svn:log V 134 My previous commit fixed uid filtering, but broke io mode. Unravel the process filtering logic to prevent this from happening again. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T12:51:35.000000Z K 7 svn:log V 31 Mechanical whitespace cleanup. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T12:58:47.000000Z K 7 svn:log V 147 Sort out the #include mess. In particular, do not #include "os.h", since all it does is provide broken prototypes for standard library functions. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T13:03:35.000000Z K 7 svn:log V 10 Protoize. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T13:12:16.000000Z K 7 svn:log V 78 Apply consistent indentation. Long lines will be fixed in a separate commit. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-07-05T13:20:03.000000Z K 7 svn:log V 38 Add support for multibyte characters. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-05T13:24:22.000000Z K 7 svn:log V 60 g_clone_bio() can fail, be ready for this. Approved by: le END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T14:45:57.000000Z K 7 svn:log V 72 Unhealthy amount of manual code cleanup. Some long lines still remain. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T14:52:06.000000Z K 7 svn:log V 62 ki_pctcpu is unsigned, so we cast to long before subtracting. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-07-05T14:55:58.000000Z K 7 svn:log V 48 Additional preemptive unsigned -> signed casts. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-05T16:23:17.000000Z K 7 svn:log V 76 MFC: unless NOINET6 is defined, compile IPv6 code in by default. PR: 57730 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-05T16:28:31.000000Z K 7 svn:log V 117 In the BPF and ethernet bridging code, don't allow callouts to execute without Giant if we're not debug.mpsafenet=1. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T16:32:30.000000Z K 7 svn:log V 85 Unbreak a whatis(1) entry by fixing the NAME section. Minor markup and grammar nits. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-05T16:55:16.000000Z K 7 svn:log V 130 MFC that got lost - cast interface numbers to ints, not chars, so that big numbered ones (see PR) don't get truncated. PR: 64584 END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-05T16:59:56.000000Z K 7 svn:log V 62 MFamd64/i386 Add partial pmap locking. Tested by: kensmith@ END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-07-05T17:06:31.000000Z K 7 svn:log V 121 These files (duplicates of sys/contrib/ipfilter/netinet/*) don't exist in -current so an 'automatic' MFC will miss them. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T17:12:53.000000Z K 7 svn:log V 59 Fix the NAME section making whatis(1) happy in particular. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-05T17:26:04.000000Z K 7 svn:log V 105 These option roms are defined in the ISA standard, and in the ISA hole, so call them ISA Options rom(s). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T17:38:08.000000Z K 7 svn:log V 78 Make whatis(1) happy about the NAME section. Slightly fix markup and grammar. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-05T17:58:03.000000Z K 7 svn:log V 21 Add another ifdef... END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-05T18:08:32.000000Z K 7 svn:log V 133 ru@'s ambitious sweep through the manpages is mostly a good thing, but some colons are supposed to be followed by uppercase letters. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-05T18:11:44.000000Z K 7 svn:log V 114 Add convenience functions to retrieve the atime fields directly, without having to first pull the stat structure. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-05T18:11:59.000000Z K 7 svn:log V 65 Add note about ULE breakage at the moment. Submitted by: Xin LI END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-07-05T18:13:50.000000Z K 7 svn:log V 29 Slightly improve the markup. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-05T18:39:30.000000Z K 7 svn:log V 315 Remove now obsolete port assignments and sizes. These more properly belong in the respective drivers. I've not removed ALL of them, as a few still haven't moved. I've just removed the ones that aren't used. # these can be removed from amd64, but I'm having issues getting to # sledge at the moment for a build. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-07-05T19:29:33.000000Z K 7 svn:log V 195 Drop the socket buffer lock around a call to m_copym() with M_TRYWAIT. A subset of locking changes to soreceive() in the queue for merging. Bumped into by: Willem Jan Withagen END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-07-05T19:44:35.000000Z K 7 svn:log V 50 Minor wordsmithing; remove a controversial colon. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-07-05T20:16:30.000000Z K 7 svn:log V 188 Disable rescanning of the scsi bus for the scsi controllers. There are some that really hate this, so now that devd is default, be more conservative about what we do. Noticed by: marcel END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-05T20:37:42.000000Z K 7 svn:log V 550 Something funny happened on the way to the floppy driver today... When two drivers share an ISA DMA channel, they both call isa_dmainit() and the second call fails if DIAGNOSTIC is on. If isa_dmainit() was already called successfully, just return silently. This only works if both drivers agree on the bounce buffer size, but since sharing DMA is usually only possible on very special hardware and then typically only for devices of the same type (which would have multiple instances of the same device driver), this is not a problem in practice. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-07-05T20:56:06.000000Z K 7 svn:log V 219 Allocate the DMA channel shareable and only aquire it while the device is open. This allows certain old and rather special dual floppy controllers to work on both channels, as long as you only have one open at a time. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-07-05T21:16:37.000000Z K 7 svn:log V 152 - Add 'stop' command, which works just like 'destroy' command, but sounds less dangerous. - Update manual pages and extend examples. - Bump versions. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-07-05T21:32:01.000000Z K 7 svn:log V 355 Unconditionally set last_work_seen while in the SYNCER_RUNNING state so that last_work_seen has a reasonable value at the transition to the SYNCER_SHUTTING_DOWN state, even if net_worklist_len happened to be zero at the time. Initialize last_work_seen to zero as a safety measure in case the syncer never ran in the SYNCER_RUNNING state. Tested by: phk END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:27:26.000000Z K 7 svn:log V 29 style(9) pass on prototypes. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:35:18.000000Z K 7 svn:log V 16 Whitespace nits END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:36:48.000000Z K 7 svn:log V 37 Eliminate redundant return keywords. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:42:07.000000Z K 7 svn:log V 115 style(9): - Space before bracketized non-void function returns. - Space before condition for conditional blocks. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:46:28.000000Z K 7 svn:log V 17 Whitespace pass. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:50:52.000000Z K 7 svn:log V 37 Eliminate redundant return keywords. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-07-05T22:52:01.000000Z K 7 svn:log V 15 Whitespace nit END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-05T23:08:27.000000Z K 7 svn:log V 81 Correct pmap_extract()'s return type. It should be vm_paddr_t, not vm_offset_t. END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-07-05T23:10:25.000000Z K 7 svn:log V 53 MFC of bsd.port.mk 1.307 and bsd.port.subdir.mk 1.31 END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-05T23:12:11.000000Z K 7 svn:log V 62 Documentation for ftw(3) and nftw(3). Obtained from: OpenBSD END K 10 svn:author V 3 das K 8 svn:date V 27 2004-07-05T23:13:16.000000Z K 7 svn:log V 223 Add implementations of ftw(3) and nftw(3) and the corresponding header ftw.h. This is the implementation written by Joel Baker for inclusion in NetBSD, but with several bugfixes. Obtained from: Debian END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-07-05T23:18:48.000000Z K 7 svn:log V 147 - Correct pmap_extract()'s return type. It should be vm_paddr_t, not vm_offset_t. - Convert pmap_extract() to the ANSI style of declaration. END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-07-06T00:10:40.000000Z K 7 svn:log V 30 Update to match recent import END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-07-06T00:33:52.000000Z K 7 svn:log V 23 Remove my email & date END