Ļi139000 213 271 151 163 136 204 170 226 126 165 172 201 133 113 602 221 164 288 133 164 190 189 206 322 1065 163 164 167 333 188 126 279 207 321 196 247 377 151 179 206 150 153 164 188 255 278 677 159 126 125 106 141 1299 170 303 117 159 181 306 208 400 121 102 242 358 185 437 261 835 252 150 142 130 191 277 161 189 126 285 206 234 265 124 392 156 147 283 127 158 158 207 142 186 186 235 170 179 159 151 111 121 185 139 236 153 165 107 234 123 109 113 121 111 113 111 111 111 114 477 615 109 111 237 137 111 330 122 107 164 147 128 195 292 137 363 160 159 146 221 223 149 381 294 126 247 217 286 244 139 517 190 117 173 629 313 286 678 295 517 342 256 119 384 191 155 203 186 229 133 638 908 561 201 571 474 807 308 546 552 850 737 177 399 351 141 188 181 163 177 381 342 164 164 132 155 147 208 114 119 153 105 159 168 168 169 228 166 208 245 219 149 192 353 1900 K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-18T01:20:18.000000Z K 7 svn:log V 175 Slight change to formatting so that 'ctags' doesn't give up on teh file half way through.. Might have been my mistake earlier anyhow. No actual code change MFC after: 5 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-18T02:23:15.000000Z K 7 svn:log V 54 MFC: rev. 1.6 Remove clauses 3 and 4 of the license. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-18T02:24:43.000000Z K 7 svn:log V 66 MFC: rev. 1.15 + 1.16 First update for the 5721/5750/5751 chips. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-18T02:26:06.000000Z K 7 svn:log V 39 MFC: rev. 1.14 Fix typo in a comment. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-12-18T03:32:27.000000Z K 7 svn:log V 106 MFC revision 1.328 (and typo fix 1.329): Check that saddr->sa_family is a sensible value before using it. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-12-18T03:47:54.000000Z K 7 svn:log V 75 Make ip_nat compile again. Should read #if->n<-def LARGE_NAT as in ipf 4.x END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-12-18T03:49:56.000000Z K 7 svn:log V 130 MFC ip_nat.c rev. 1.37: Make ip_nat compile again. Should read #if->n<-def LARGE_NAT as in ipf 4.x Insta-MFC approved by: scottl END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-18T07:20:33.000000Z K 7 svn:log V 35 Uncomment an upcoming 5.4-RELEASE. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-18T07:33:37.000000Z K 7 svn:log V 74 MFC: Uncomment entries for FreeBSD 4.11, 5.4, and 6.0. Thanks to: jkoshy END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-18T09:26:37.000000Z K 7 svn:log V 76 MFC 1.32: Note that send(2) is no longer applicable to divert(4) sockets. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-18T09:30:32.000000Z K 7 svn:log V 104 MFC 1.32: Note that send(2) is no longer applicable to divert(4) sockets. Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-18T11:04:10.000000Z K 7 svn:log V 41 Open device R/W for ioctl modifications. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-18T12:31:12.000000Z K 7 svn:log V 22 Grammar in a comment. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-18T12:52:44.000000Z K 7 svn:log V 505 1. make umtx sharable between processes, the way is two or more processes call mmap() to create a shared space, and then initialize umtx on it, after that, each thread in different processes can use the umtx same as threads in same process. 2. introduce a new syscall _umtx_op to support timed lock and condition variable semantics. also, orignal umtx_lock and umtx_unlock inline functions now are reimplemented by using _umtx_op, the _umtx_op can use arbitrary id not just a thread id. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-18T13:43:16.000000Z K 7 svn:log V 124 1. msleep returns EWOULDBLOCK not ETIMEDOUT, use EWOULDBLOCK instead. 2. Eliminate a possible lock leak in timed wait loop. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-18T15:19:36.000000Z K 7 svn:log V 72 If /etc/named is a symlink, try to make sure it points the right place. END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-12-18T15:27:17.000000Z K 7 svn:log V 195 Synchronize reference list to the ng_xxx(4) manpages of netgraph nodes with the actually installed manpages by adding the missing ones. This way they can be found more easily. MFC after: 2 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-18T16:31:21.000000Z K 7 svn:log V 41 Change terminal state, not terminal type END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-18T16:31:22.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-12-18T16:49:54.000000Z K 7 svn:log V 94 Add support for FC929X, which apparently is just a PCI-X version of FC929. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-18T17:30:53.000000Z K 7 svn:log V 98 Add missing dependencies of $(OUTPUTS) on source makefiles. Caught by: make -DNOCLEAN buildworld END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-12-18T17:43:01.000000Z K 7 svn:log V 110 Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp, as it has unpredictable results. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-12-18T17:58:49.000000Z K 7 svn:log V 226 Update the StrongArm port to match the current code. - Implement arm_mask_irqs and arm_unmask_irqs - Provide the available physical address range after pmap_bootstrap allocated things, instead or before, or bad things happen. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-12-18T18:07:37.000000Z K 7 svn:log V 967 Use a generic way to back threads out of wait queues when handling signals instead of having more intricate knowledge of thread state within signal handling. Simplify signal code because of above (by David Xu). Use macros for libpthread usage of pthread_cleanup_push() and pthread_cleanup_pop(). This removes some instances of malloc() and free() from the semaphore and pthread_once() implementations. When single threaded and forking(), make sure that the current thread's signal mask is inherited by the forked thread. Use private mutexes for libc and libpthread. Signals are deferred while threads hold private mutexes. This fix also breaks www/linuxpluginwrapper; a patch that fixes it is at http://people.freebsd.org/~deischen/kse/linuxpluginwrapper.diff Fix race condition in condition variables where handling a signal (pthread_kill() or kill()) may not see a wakeup (pthread_cond_signal() or pthread_cond_broadcast()). In collaboration with: davidxu END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-12-18T19:12:06.000000Z K 7 svn:log V 67 Add FC929X into the list of supported devices. Reminded by: simon END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-18T19:12:07.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-18T19:12:08.000000Z K 7 svn:log V 71 This commit was manufactured by cvs2svn to create branch 'RELENG_4_11'. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-19T00:50:07.000000Z K 7 svn:log V 235 In the ethernet-nic-regex: - add udav(4) In the scsi-controller-regex: - correct an entry - move another one to the right place - add a bunch of missing drivers Glanced at by: trhodes (scsi-controller-regex part) MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-19T02:31:45.000000Z K 7 svn:log V 91 Nuke ports-picobsd, it was thrown out a while ago. Approved by: linimon MFC after: 3 days END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-19T04:06:16.000000Z K 7 svn:log V 32 MFC of ACPI-CA 20041119 import. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-12-19T04:10:56.000000Z K 7 svn:log V 186 MFC rev. 1.15: fix computation of the 'n' argument to mbrtowc(), avoiding infinite loops in regexec() with certain combinations of patterns and strings in multibyte locales. PR: 74020 END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-19T04:11:44.000000Z K 7 svn:log V 112 MFC 1.195: Enable the relaxed behavior for op regions and other workarounds for non-standard BIOSen. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-19T04:17:49.000000Z K 7 svn:log V 226 MFC acpi_acad.c:1.32 MFC acpi_cmbat.c:1.38 MFC OsdInterrupt.c:1.19 MFC OsdSchedule.c:1.30 Catch up with AcpiOsSleep() interface change. Catch up with some #define's renaming. Implement AcpiOsGetTimer() as per ACPI 3.0. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-19T05:02:05.000000Z K 7 svn:log V 99 Uncomment entries under the "not found in doc-common" section. Thanks to: jkoshy Requested by: ru END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-19T05:04:28.000000Z K 7 svn:log V 149 MFC v1.2.2.26: Uncomment entries under the "not found in doc-common" section. Thanks to: jkoshy Requested by: ru Approved by: re (implicit) END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-12-19T05:14:29.000000Z K 7 svn:log V 284 Call umask() before opening the lock-file for a queue, to make sure the file will be created with the right access, if the call to open() does create it. Also fix the other call to umask() to turn off "write others", just as a matter of general safety. PR: 74418 MFC after: 4 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-19T10:36:12.000000Z K 7 svn:log V 54 MFC: rev. 1.6 Remove clauses 3 and 4 of the license. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-19T10:37:14.000000Z K 7 svn:log V 82 MFC: rev. 1.6 Remove clauses 3 and 4 of the license. Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-12-19T13:29:25.000000Z K 7 svn:log V 108 Use the accepted abbreviation "kB" for kilobyte, rather than "kb" (which is the common unit for a kilobit). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-19T14:58:13.000000Z K 7 svn:log V 54 Assert queue mutex in ng_dequeue() and ng_queue_rw(). END K 10 svn:author V 2 bp K 8 svn:date V 27 2004-12-19T15:24:22.000000Z K 7 svn:log V 62 MFS: Initialize olen value passed to sysctl. Approved by: re END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-19T16:03:06.000000Z K 7 svn:log V 68 We have an informative ng_source.4 manpage, which is not installed. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-12-19T16:06:14.000000Z K 7 svn:log V 92 We already have ng_fec.4 manpage. And sys/modules is not a correct place for documentation. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-12-19T18:02:45.000000Z K 7 svn:log V 160 Allocate an additional white space in a username column for a long (UT_NAMESIZE) login names. PR: bin/75259 Submitted by: Matthew D.Fuller MFC after: 2 weeks END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-19T19:42:54.000000Z K 7 svn:log V 185 Move launching the worker thread from a SYSINIT to the first device's attach. This fixes the previous behavior where systems without hptmv hardware always had a worker thread running. END K 10 svn:author V 8 dhartmei K 8 svn:date V 27 2004-12-19T19:43:04.000000Z K 7 svn:log V 579 Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN, prevents a possible endless loop in pf_get_sport() with 'static-port' ICMP state entries use the ICMP ID as port for the unique state key. When checking for a usable key, construct the key in the same way. Otherwise, a colliding key might be missed or a state insertion might be refused even though it could be inserted. The second case triggers the endless loop, possibly allowing a NATed LAN client to lock up the kernel. PR: kern/74930 Reported and tested by: Hugo Silva, Srebrenko Sehic MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-19T20:33:49.000000Z K 7 svn:log V 67 MFC: Use PCI values for ACPI power states as both are equivalent. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-19T20:34:13.000000Z K 7 svn:log V 34 MFC: Only export defined symbols. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-19T22:16:15.000000Z K 7 svn:log V 33 Bring ACPI man pages up to HEAD. END K 10 svn:author V 5 marks K 8 svn:date V 27 2004-12-19T22:21:41.000000Z K 7 svn:log V 12 Add myself. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-19T22:58:25.000000Z K 7 svn:log V 49 Don't quit on first failure, just skip failures. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-19T23:12:00.000000Z K 7 svn:log V 1205 Some major cleanups. Keeping consumers open when device is closed is very hard. We need to open consumers sometimes to update metadata, etc. Many hacks was introduced in the past to made it possible. You cannot be sure that you can open consumer for writing always, even if you think it should be allowed. If one of the mirror components is for example da0 and you try to open it, you can get EPERM when da0s1 is opened for reading (because BSD class opens consumers (da0) with an extra 'e' bit set). Waiting for the events queue to be empty may do the trick, but it makes code much uglier (as you cannot always call g_waitidle()), it doesn't solve all edge cases and it can introduce deadlocks if there are events in the queue that wait for gmirror. I removed those hacks. Now all consumers are open r1w1e1 always, even if device is closed. Maybe it is less clean from GEOM perspective, but simpify code a lot and make it much more reliable. The only issue was retaste event which is sent when we close consumers opened for writing. I ignore retaste event by not detaching consumer immediately (so retaste event is not send to my class) and sending event right after it to detach and destroy consumer. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-12-19T23:23:43.000000Z K 7 svn:log V 73 Don't panic when sigsuspend is interrupted by a cancellation. PR: 75273 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-19T23:33:59.000000Z K 7 svn:log V 210 - Argument 'flags' in g_mirror_destroy_consumer() function is unsed - mark it as such. - Before closing consumer check if it is open. It can be closed here when g_mirror_connect_disk() fails on g_access(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-19T23:55:49.000000Z K 7 svn:log V 25 Remove unused variables. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-20T04:22:41.000000Z K 7 svn:log V 67 add ancillary wlan modules and fixup comments Requested by: silby END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-12-20T04:27:23.000000Z K 7 svn:log V 89 Note requirement to manually load/configure ancillary wlan modules. Requested by: silby END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-20T05:03:41.000000Z K 7 svn:log V 213 Only report a critical battery level once until it's gone non-critical. An improvement would be to check all batteries for critical state before printing a message. Reported by: Kevin Oberman (oberman at es net) END K 10 svn:author V 5 krion K 8 svn:date V 27 2004-12-20T08:09:58.000000Z K 7 svn:log V 113 MFC: rev 1.48 Introduce new variables FETCHINDEX, MASTER_SITE_INDEX and add description for MASTER_SITE_BACKUP. END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-12-20T10:07:12.000000Z K 7 svn:log V 308 Enable jumbo frames on Yukon variants of sk(4). In contrast to OpenBSD we enable jumbo frame support depending on MTU setting (like done for xmac). Approved by: pjd (mentor) Obtained from: OpenBSD if_sk.c r1.52 (YU_SMR_MFL_JUMBO flag) Tested by: Heinz Knocke MFC after: 5 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-20T10:09:06.000000Z K 7 svn:log V 30 Sort by month/day/year/login. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-20T10:13:13.000000Z K 7 svn:log V 11 MFC: Sync. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-20T10:14:05.000000Z K 7 svn:log V 147 maxJobs is declared extern in job.h so it cannot be static in job.c. PR: bin/75210 Submitted by: Andreas Jochens; Robert Millan END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-12-20T10:18:21.000000Z K 7 svn:log V 265 Only try to use the 82503 serial interface for the 82557 chipsets. The datasheet says it is only valid for such chipsets and shouldn't be used with others. This fixes some 82559 based cards which otherwise only work at 10Mbit. MFC after: 5 days Tested by: krion END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-12-20T10:21:27.000000Z K 7 svn:log V 91 Fix compilation for the USE_KQUEUE case. Submitted by: Emil Mikulic END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-12-20T10:46:56.000000Z K 7 svn:log V 344 Only use the current value if there's one IRQ. Some systems return multiple IRQs (which is nonsense for _CRS) when the link hasn't been programmed. Before, this was a KASSERT. A ServerWorks system was seen returning IRQs of 0, 2 in response to _CRS before link setup. Thanks to sam@ for quick testing and turnaround on this. Tested by: sam END K 10 svn:author V 6 peadar K 8 svn:date V 27 2004-12-20T10:48:48.000000Z K 7 svn:log V 165 When stopping a chrooted named, unmount the devfs filesystem from the chroot area. This stops "umount -a" failing when dropping to single user. Reviewed by: dougb@ END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-12-20T15:08:53.000000Z K 7 svn:log V 737 MFC: src/tools/tools/kttcp/kttcp.c 1.3 MFC: src/tools/tools/kttcp/sys/kttcp.c 1.4 Make kttcp work in -stable (and -current) - Removed kttcp_sosend() and kttcp_soreceive() in favor of using sosend() / soreceive() with UIO_NOCOPY. The locking changes in the socket layer make merging the kttcp_so* and the so* routines a real pain. It was a lot easier to just use the integrated routines. - Eliminated KTTCP_MAX_XMIT restrictions on send and receive sizes because I encountered no problems with streams larger than MAX_INT. MAX_INT bytes is only good for a few seconds at 4Gb/sec ;) - Removed Giant from send / recv routines. - Fixed character device protos, cdevsw init, etc, to work in 5.x / 6.x END K 10 svn:author V 4 paul K 8 svn:date V 27 2004-12-20T15:46:56.000000Z K 7 svn:log V 158 If PORTNAME is set in a system Makefile then hook into the ports mechanisms to allow a package to be created. This paves the way for packaging the main tree. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-20T16:26:52.000000Z K 7 svn:log V 55 MFC: rev 1.21: use the 32-bit version of fuword/suword END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T18:02:36.000000Z K 7 svn:log V 45 MFC: rev. 1.11 Properly capitalize FireWire END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T18:04:32.000000Z K 7 svn:log V 33 MFC: rev. 1.4 Add missing word. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T18:11:29.000000Z K 7 svn:log V 94 MFC: rev. 1.8 + 1.9 - add a HARDWARE section - several grammar and language fixes - bump .Dd END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T18:13:58.000000Z K 7 svn:log V 179 MFC: rev. 1.38 - add a HARDWARE section based on the hardware notes and the devices already listed in the manpage - reword some DESCRIPTION sentences - Xref ehci(4) - bump .Dd END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T18:22:09.000000Z K 7 svn:log V 64 MFC: Autogenerate device listings for ng_bt3c(4) and umass(4). END K 10 svn:author V 6 peadar K 8 svn:date V 27 2004-12-20T18:34:10.000000Z K 7 svn:log V 94 Use "KEYWORD: shutdown" so shutdown commands will actually be executed. Approved by: dougb@ END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-12-20T18:58:15.000000Z K 7 svn:log V 35 MFC: 5721 Support Approved by: re END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-12-20T19:19:03.000000Z K 7 svn:log V 192 MFC rev. 1.48: Synchronize reference list to the ng_xxx(4) manpages of netgraph nodes with the actually installed manpages by adding the missing ones. This way they can be found more easily. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T20:06:26.000000Z K 7 svn:log V 108 MFC: rev. 1.14 - 1.16 - Properly capitalize Gigabit Ethernet. - First update for the 5721/5750/5751 chips. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T20:07:19.000000Z K 7 svn:log V 136 MFC: rev. 1.14 - 1.16 - Properly capitalize Gigabit Ethernet. - First update for the 5721/5750/5751 chips. Approved by: re (kensmith) END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-20T20:10:57.000000Z K 7 svn:log V 169 Merge in a bunch of USB device and manufacturer definitions.. Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk) Obtained from: Dragonfly MFC after: 3 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-12-20T20:27:21.000000Z K 7 svn:log V 28 MFC: 1.34: Fix a style bug. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-20T20:41:55.000000Z K 7 svn:log V 296 Add a bunch of USB definitions from NetBSD. This is part of an ongoing cycle of commits on all the BSDs to merge the USB vendor and device defintions.. A merge from OpenBSD is still pending. Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk) Obtained from: NetBSD MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-20T21:12:11.000000Z K 7 svn:log V 64 Add a couple of KASSERTS to try to diagnose a problem reported. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-12-20T21:17:22.000000Z K 7 svn:log V 52 Oops, this one isn't ready back it out until fixed END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-20T21:34:29.000000Z K 7 svn:log V 190 We can only ever get to vgonechrl() from a devfs vnode, so we do not need to reassign the vp->v_op to devfs_specops, we know that is the value already. Make devfs_specops private to devfs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-20T21:38:13.000000Z K 7 svn:log V 35 fix a misleading sleep identifier. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:41:35.000000Z K 7 svn:log V 61 MFC: rev. 1.5 Assorted markup, spelling, and grammar fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:42:37.000000Z K 7 svn:log V 61 MFC: rev. 1.4 Assorted markup, spelling, and grammar fixes. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:43:18.000000Z K 7 svn:log V 109 MFC: rev. 1.6 - remove nonexistant "device fwohci" - sort SYNOPSIS devices - capitalize Ethernet - bump .Dd END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:43:57.000000Z K 7 svn:log V 45 MFC: rev. 1.11 Properly capitalize FireWire END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:45:39.000000Z K 7 svn:log V 89 MFC: rev. 1.5 Assorted markup, spelling, and grammar fixes. Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:46:19.000000Z K 7 svn:log V 89 MFC: rev. 1.4 Assorted markup, spelling, and grammar fixes. Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:47:09.000000Z K 7 svn:log V 137 MFC: rev. 1.6 - remove nonexistant "device fwohci" - sort SYNOPSIS devices - capitalize Ethernet - bump .Dd Approved by: re (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-20T21:47:48.000000Z K 7 svn:log V 73 MFC: rev. 1.11 Properly capitalize FireWire Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-20T21:59:25.000000Z K 7 svn:log V 87 Hide/remove various printfs, now that root mounting doesn't seem to explode on people. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-20T23:15:58.000000Z K 7 svn:log V 67 MFC revision 1.265 Eliminate unnecessary calls to vm_page_busy(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-21T01:09:34.000000Z K 7 svn:log V 54 (fast) ethernet -> (Fast) Ethernet MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-21T02:07:38.000000Z K 7 svn:log V 16 Fix a mis-sort. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-12-21T02:08:14.000000Z K 7 svn:log V 26 Protect the NM expansion. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2004-12-21T02:23:35.000000Z K 7 svn:log V 90 GEOMify the OFW disk driver. Code taken unashamedly from the preload case in dev/md/md.c. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-12-21T07:51:49.000000Z K 7 svn:log V 43 MFC: Add manual page for snd_audiocs(4). END K 10 svn:author V 5 krion K 8 svn:date V 27 2004-12-21T08:33:14.000000Z K 7 svn:log V 141 MFC: rev 1.48 Introduce new variables FETCHINDEX, MASTER_SITE_INDEX and add description for MASTER_SITE_BACKUP. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T08:47:35.000000Z K 7 svn:log V 62 Start the dreaded NOFOO -> NO_FOO conversion. OK'ed by: core END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:00:26.000000Z K 7 svn:log V 74 NOLIBC_R -> NO_LIBC_R NOLIBPTHREAD -> NO_LIBPTHREAD NOLIBTHR -> NO_LIBTHR END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:08:06.000000Z K 7 svn:log V 16 NOATM -> NO_ATM END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:33:47.000000Z K 7 svn:log V 142 NODOCCOMPRESS -> NO_DOCCOMPRESS NOINFO -> NO_INFO NOINFOCOMPRESS -> NO_INFOCOMPRESS NOLINT -> NO_LINT NOPIC -> NO_PIC NOPROFILE -> NO_PROFILE END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:42:10.000000Z K 7 svn:log V 32 NOEXTRADEPEND -> NO_EXTRADEPEND END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:43:25.000000Z K 7 svn:log V 18 NOTAGS -> NO_TAGS END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:44:43.000000Z K 7 svn:log V 22 NOMLINKS -> NO_MLINKS END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:51:09.000000Z K 7 svn:log V 30 NOINSTALLLIB -> NO_INSTALLLIB END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:53:14.000000Z K 7 svn:log V 20 NOFSCHG -> NO_FSCHG END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T09:59:45.000000Z K 7 svn:log V 22 NOSHARED -> NO_SHARED END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T10:16:04.000000Z K 7 svn:log V 20 NOCRYPT -> NO_CRYPT END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T10:36:54.000000Z K 7 svn:log V 20 NOGAMES -> NO_GAMES END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T10:49:29.000000Z K 7 svn:log V 20 NOINET6 -> NO_INET6 END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T11:12:05.000000Z K 7 svn:log V 23 The C define is NONAT. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-12-21T11:36:09.000000Z K 7 svn:log V 381 - The IQ80321 has a jumper which changes the PCI device id from 4 to 8 for the GigE controller, so handle this. - Use the outbound window 0 if the PCI mem requested is in its range, instead of inconditionally use the outbound window 1. This should be enough to get FreeBSD/arm to work on the IQ80321 board as well. Reported and tested by: Jia-Shiun Li END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:01:15.000000Z K 7 svn:log V 523 Overhaul ppp(8) build options so they are safe to use in /etc/make.conf: NOALIAS -> retired (support provided by PPP_NO_NAT) NOATM -> PPP_NO_ATM (also subject to NO_ATM global) NODES -> PPP_NO_DES (support was broken, now recovered) NOI4B -> PPP_NO_I4B (also subject to NO_I4B global) NOKLDLOAD -> PPP_NO_KLDLOAD NONAT -> PPP_NO_NAT NONETGRAPH -> PPP_NO_NETGRAPH NOPAM -> PPP_NO_PAM (will be subject to NO_PAM global) NORADIUS -> PPP_NO_RADIUS NOSUID -> retired (support provided by PPP_NO_SUID) PPP_NOSUID -> PPP_NO_SUID END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:05:11.000000Z K 7 svn:log V 18 NOHTML -> NO_HTML END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:13:23.000000Z K 7 svn:log V 20 NOSHARE -> NO_SHARE END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-21T12:14:34.000000Z K 7 svn:log V 139 Fix the build of netrate/ with WARNS=5 and add a Makefile.inc to make it the default for all the netrate test tools. Approved by: rwatson END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:21:26.000000Z K 7 svn:log V 46 NOCLEAN -> NO_CLEAN NOCLEANDIR -> NO_CLEANDIR END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:32:15.000000Z K 7 svn:log V 20 NOFORTH -> NO_FORTH END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-12-21T12:44:00.000000Z K 7 svn:log V 237 MFC 1.198: Never emit a message to stderr: use syslog instead. When in inetd mode, this prevents bogus messages from appearing on the control channel. When running as a daemon, we shouldn't write to the terminal we used to have at all. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:44:20.000000Z K 7 svn:log V 31 NOIPSEC -> TRACEROUTE_NO_IPSEC END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T12:49:24.000000Z K 7 svn:log V 16 NOPAM -> NO_PAM END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-12-21T12:49:25.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T14:49:10.000000Z K 7 svn:log V 56 Make "burncd ... fixate eject" really work as promised. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T14:53:44.000000Z K 7 svn:log V 37 Document -F in usage() and SYNOPSIS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T14:57:37.000000Z K 7 svn:log V 103 The "fixate" command no longer terminates command processing, so that "eject" following it can happen. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T14:57:43.000000Z K 7 svn:log V 197 MFC 1.10+1.11: - Make a warning less cryptic. - Update usage to reflect the current reality. - Fix a bug where manual pages which had a "_" in their name did not get proper architecture setting. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T15:06:33.000000Z K 7 svn:log V 43 MFC: - Add manual page for snd_maestro(4). END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T15:08:50.000000Z K 7 svn:log V 268 MFC 1.5: - Add a HARDWARE section which lists supported devices. - "device sound" does not pull in sound device drivers (like "device pcm" used to do), so do not mention that option. - Make the document title more like the title in the other sound device drivers. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T15:10:44.000000Z K 7 svn:log V 66 MFC 1.21: - Add a HARDWARE section which lists supported devices. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T15:11:16.000000Z K 7 svn:log V 65 MFC 1.4: - Add a HARDWARE section which lists supported devices. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-21T15:16:36.000000Z K 7 svn:log V 55 Use the source of the termcap database when available. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T15:18:46.000000Z K 7 svn:log V 126 MFC: 1.48+1.49: - Auto generate device listings for the snd_maestro(4), snd_maestro3(4), pst(4), and vpo(4) device drivers. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-12-21T15:29:59.000000Z K 7 svn:log V 128 MFC: 1.265+1.266: - Auto generate device listings for the snd_maestro(4), snd_maestro3(4), pst(4), and vpo(4) device drivers. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-21T18:32:46.000000Z K 7 svn:log V 57 Implement g_topology_try_lock(). No objection from: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-21T18:42:51.000000Z K 7 svn:log V 288 This should not be permitted, but some GEOM classes held the topology lock while doing g_(read|write)_data() (e.g. BSD). This can cause a deadlock in MIRROR class. Not sure if this is safe to drop the topology lock in BSD class, so change the code in MIRROR class to avoid this deadlock. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-21T18:48:59.000000Z K 7 svn:log V 201 When RAID3 device is configured in "verify" mode, synchronization of the parity component is now force on creation. Change regression test which check "verify" mode to work properly after this change. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-21T19:03:10.000000Z K 7 svn:log V 34 Wait a bit after creating device. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-21T19:25:56.000000Z K 7 svn:log V 154 Use vtopde() instead of pmap_pde() in pmap_kextract(); vtopde() is smaller and faster in cases, such as pmap_kextract(), where the pde is known to exist. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-21T19:30:59.000000Z K 7 svn:log V 124 Improve reliability and clean up code a bit. For more details check src/sys/geom/mirror/g_mirror.c rev.1.47,1.48,1.49,1.50. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-12-21T19:41:21.000000Z K 7 svn:log V 192 Reflect the change of the hw.ata.atapi_dma sysctl default in rev. 1.217 of src/sys/dev/ata/ata-all.c from PIO to DMA. Submitted by: Craig Rodrigues MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-21T19:50:18.000000Z K 7 svn:log V 151 Now, when force device destruction is done on shutdown, hide warning, that device cannot be destroyed immediately, under debug=1. Suggested by: simon END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-21T19:52:34.000000Z K 7 svn:log V 42 MFC r1.5: Remove some stdio dependencies. END K 10 svn:author V 4 roam K 8 svn:date V 27 2004-12-21T20:02:50.000000Z K 7 svn:log V 423 And this, kids, is what happens if you act on a patch without looking at the mailing list to see if there isn't any more discussion just around the corner. Here's the update to the other part of the manpage that deals with the hw.ata.atapi_dma loader tunable and initializing ATAPI devices in PIO or DMA mode. PR: 75021 Submitted by: Craig Rodrigues Spotted by: Joel Dahl END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-21T21:34:57.000000Z K 7 svn:log V 93 MFC 1.70: Update the description of SCSI_DELAY and annotate IDE_DELAY as a PC98-only option. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-21T22:27:08.000000Z K 7 svn:log V 20 MFC 1.16: Typo fix. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-21T22:29:35.000000Z K 7 svn:log V 76 MFC 1.19: Group equivalent flags together and delete the `aliases' section. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T00:01:55.000000Z K 7 svn:log V 531 MFC: Synchronize libarchive with -current. Among other fixes: * Corrected handling of write errors, use consistent error return values throughout. * Correct assembly/disassembly of major/minor device numbers so that very large minor numbers don't result in incorrect major numbers. * Allow tar format to read a non-existent file. (It will be treated as empty.) This allows bsdtar -r/-u to work with empty files. * Update some comments/documentation, prune out some dead code, other minor changes. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T00:07:17.000000Z K 7 svn:log V 215 MFC: Synchronize with -current Fixes: * Failed writes are recognized * Correct spacing of dates in -tv format * Display large file sizes correctly * Eliminate a redundant "Unrecognized option" warning. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T00:21:28.000000Z K 7 svn:log V 188 Portability: the included fts.c should now compile on many non-FreeBSD systems, including Linux, Solaris, Darwin, etc. Thanks to: many people who pointed out the same portability problem END K 10 svn:author V 8 dhartmei K 8 svn:date V 27 2004-12-22T00:36:04.000000Z K 7 svn:log V 580 MFC 1.25: Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN, prevents a possible endless loop in pf_get_sport() with 'static-port' ICMP state entries use the ICMP ID as port for the unique state key. When checking for a usable key, construct the key in the same way. Otherwise, a colliding key might be missed or a state insertion might be refused even though it could be inserted. The second case triggers the endless loop, possibly allowing a NATed LAN client to lock up the kernel. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T00:49:16.000000Z K 7 svn:log V 197 Tune the bidding for tar archives. This improves the recognition of hardlink entries with/without bodies (which is implemented through a look-ahead that uses the bid function). MFC after: 7 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T02:35:37.000000Z K 7 svn:log V 419 Don't truncate major/minor numbers written to the legacy ustar fields. Later, we're going to permit numeric extensions for these fields, so we can support large values here. In particular, this allows GNU tar to correctly extract such entries even though it doesn't support the pax extended attributes. Note: r1.18 and r1.17.2.1 of this file allowed similar treatment of the uid/gid fields. Thanks to: Ben Mesander END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T03:38:28.000000Z K 7 svn:log V 244 Fix -W long option handling. In particular: -W excl=text fails because "excl" is a prefix of both "exclude" and "exclude-from". But, -W exclude=text is okay because it matches "exclude" exactly. Thanks to: Jose F Nieves MFC after: 7 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-22T04:45:49.000000Z K 7 svn:log V 158 MFC rev 1.103: date: 2004/11/03 18:26:06; author: kensmith; state: Exp; lines: +7 -0 Update the list of package names/descriptions. MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T05:54:10.000000Z K 7 svn:log V 22 GC an unused #include END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T06:08:04.000000Z K 7 svn:log V 286 Add a fallback version of fnmatch() to the bsdtar source code. Include configure logic to pick up the system one when it exists and use the fallback version when it doesn't exist. Set the default for FreeBSD to use the system version. With this, bsdtar should now be quite portable. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T06:12:40.000000Z K 7 svn:log V 94 Add __archive_strappend_int to format a decimal number into a variable-length archive_string. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-22T06:21:31.000000Z K 7 svn:log V 58 Adjust the package set on disc1 so it fits as of 4.11RC1. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-12-22T06:26:08.000000Z K 7 svn:log V 105 MFC v 1.1.2.37 Adjustments for disc1 package set to make it fit as of 4.11RC1. Approved by: re (scottl) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T06:30:14.000000Z K 7 svn:log V 89 Portability nit: Some platforms require stdio.h before bzlib.h. Thanks to: Kurt J. Lidl END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-12-22T06:40:28.000000Z K 7 svn:log V 131 Include wchar.h to improve our chances of finding WCHAR_MAX. This might fix a portability problem on HP_UX. Thanks to: Susan Kim END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-12-22T08:17:18.000000Z K 7 svn:log V 37 Plug memory leak. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-12-22T08:26:48.000000Z K 7 svn:log V 541 Due to unknown reasons, Disk_Names() returns SCSI CDROM as a valid disk. This is main reason why sysinstall presents SCSI CDROM to available disks in Fdisk/Label menu. In addition, adding a blank SCSI CDROM to the menu generates floating point exception in sparc64. Disk_Names() just extracts sysctl "kern.disks". Why GEOM treats SCSI CDROM as a disk is beyond me and that should be investigated. For temporary workaround, ignore SCSI CDROM device. PR: sparc64/72962 Tested by: R. Tyler Ballance < tyler AT tamu DOT edu> MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T08:52:06.000000Z K 7 svn:log V 811 MFC the netrate packet generation tool to RELENG_5, all revisions are the same as in CVS HEAD except for Makefile's affected by the recent NO_MAN change: Add netrate (netreceive, netsend), a tool for generating (and sinking) UDP packets of specified size at a fixed rate. I've been using this for netperf-related testing. Add a version of netsend that uses the interval timer rather than explicit clock reads to set an overall duration to the send, and blasts rather than trying to clock output. The goal of netblast, unlike netsend, is to send as many UDP packets as possible; the cost is that there's no ability to control the rate, and there's less accuracy in the timing as the interval timer granularity is relatively low. Requested by: Matthew George END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:02:16.000000Z K 7 svn:log V 464 MFC if.c:1.212 from HEAD to RELENG_5: date: 2004/11/23 23:31:33; author: rwatson; state: Exp; lines: +10 -8 Assign if_broadcastaddr to NULL not 0 in if_attach(). Printf() a warning if if_attachdomain() is called more than once on an interface to generate some noise on mailing lists when this occurs. Fix up style in if_start(), where spaces crept in instead of tabs at some point. MFC after: 1 week MFC note: Not the printf(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:04:47.000000Z K 7 svn:log V 104 Remove single line containing the word "KLD" ommitted in ps.1:1.80. Pointed out by: ru (some time ago) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:09:37.000000Z K 7 svn:log V 474 Merge ps.1:1.80 and ps.1:1.81 from HEAD to RELENG_5: date: 2004/12/22 09:04:47; author: rwatson; state: Exp; lines: +0 -1 Remove single line containing the word "KLD" ommitted in ps.1:1.80. Pointed out by: ru (some time ago) date: 2004/11/29 12:00:24; author: rwatson; state: Exp; lines: +4 -5 Point at the mac(4) man page when describing the -Z option. Remove reference to /dev/lomac, which is no longer used by mac_lomac(4). MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:12:19.000000Z K 7 svn:log V 377 Merge tcp_input.c:1.260 from HEAD to RELENG_5: date: 2004/11/28 11:01:31; author: rwatson; state: Exp; lines: +3 -2 Expand coverage of the receive socket buffer lock when handling urgent pointer updates: test available space while holding the socket buffer mutex, and continue to hold until until the pointer update has been performed. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:31:07.000000Z K 7 svn:log V 710 Merge ip_output.c:1.233 (and forced commit MFC reminder ip_output.c:1.234) from HEAD to RELENG_5: date: 2004/12/05 19:11:09; author: rwatson; state: Exp; lines: +13 -10 Start working through inpcb locking for ip_ctloutput() by cleaning up modifications to the inpcb IP options mbuf: - Lock the inpcb before passing it into ip_pcbopts() in order to prevent simulatenous reads and read-modify-writes that could result in races. - Pass the inpcb reference into ip_pcbopts() instead of the option chain pointer in the inpcb. - Assert the inpcb lock in ip_pcbots. - Convert one or two uses of a pointer as a boolean or an integer comparison to a comparison with NULL for readability. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:32:35.000000Z K 7 svn:log V 211 Merge in_pcb.h:1.78 from HEAD to RELENG_5: date: 2004/12/05 22:07:14; author: rwatson; state: Exp; lines: +1 -0 Define INP_UNLOCK_ASSERT() to assert that an inpcb is unlocked. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:34:49.000000Z K 7 svn:log V 449 Merge ip_output.c:1.236 from HEAD to RELENG_5: date: 2004/12/05 22:08:37; author: rwatson; state: Exp; lines: +14 -6 Pass the inpcb reference into ip_getmoptions() rather than just the inp->inp_moptions pointer, so that ip_getmoptions() can perform necessary locking when doing non-atomic reads. Lock the inpcb by default to copy any data to local variables, then unlock before performing sooptcopyout(). MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:36:04.000000Z K 7 svn:log V 455 Merge nfs_vfsops.c:1.164 from HEAD to RELENG_5: date: 2004/12/05 22:53:17; author: rwatson; state: Exp; lines: +6 -1 Convert GIANT_REQUIRED; in nfs_mountroot() to NET_ASSERT_GIANT(), and annotate that nfs_mountroot assumes it is OK to step on the values in the global NFSv3 diskless structure as the mountroot function is called during a serialized part of the boot, before any other NFS client activity occurs. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:38:10.000000Z K 7 svn:log V 753 Merge mac_portacl.c:1.5 from HEAD to RELENG_5: date: 2004/12/06 19:43:45; author: rwatson; state: Exp; lines: +19 -26 Switch from using an sx lock to a mutex for the mac_portacl rule chain: the sx lock was used previously because we might sleep allocating additional memory by using auto-extending sbufs. However, we no longer do this, instead retaining the user-submitted rule string, so mutexes can be used instead. Annotate the reason for not using the sbuf-related rule-to-string code with a comment. Switch to using TAILQ_CONCAT() instead of manual list copying, as it's O(1), reducing the rule replacement step under the mutex from O(2N) to O(2). Remove now uneeded vnode-related includes. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T09:39:08.000000Z K 7 svn:log V 640 Merge mac_portacl.c:1.7 from HEAD to RELENG_5: date: 2004/12/08 11:46:44; author: rwatson; state: Exp; lines: +23 -0 Add a new sysctl/tunable to mac_portacl: security.mac.portacl.autoport_exempt This sysctl exempts to bind port '0' as long as IP_PORTRANGELOW hasn't been set on the socket. This is quite useful as it allows applications to use automatic binding without adding overly broad rules for the binding of port 0. This sysctl defaults to enabled. This is a slight variation on the patch submitted by the contributor. MFC after: 2 weeks Submitted by: Michal Mertl END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-12-22T09:43:19.000000Z K 7 svn:log V 85 MFC 1.37, 1.40: Document S_* macros and more struct stat fields. Requested by: roam END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-12-22T11:11:15.000000Z K 7 svn:log V 302 Merge mac_portacl.4:1.6 and subsequent cleanup commits through mac_portacl.4:1.9 from HEAD to RELENG_5: date: 2004/12/08 15:58:38; author: trhodes; state: Exp; lines: +8 -0 Document recently added security.mac.portacl.autoport_exempt tunable. Outraced the speed of doc request: trhodes END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-22T15:24:48.000000Z K 7 svn:log V 259 - Fixed handling of manpage subdirectories: catman /usr/share/man/man8 cd /usr/share/man; catman man8 - Don't print false warnings about invalid cat pages which are machine-specific cat page subdirectories (visible with -v). - Fixed one memory leak. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-22T15:25:51.000000Z K 7 svn:log V 50 Fixed the only warning and mark as WARNS=6 clean. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-22T15:44:21.000000Z K 7 svn:log V 91 Cross reference init(8) too, instead of vaguely referring to the "initialization process". END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-22T16:04:58.000000Z K 7 svn:log V 90 Look into machine-specific manpage subdirectories too. PR: bin/72243 MFC after: 3 weeks END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-22T16:15:52.000000Z K 7 svn:log V 66 Use .Dv NULL when referring to NULL C pointers, instead of "nil". END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-12-22T16:20:12.000000Z K 7 svn:log V 80 Punctuation marks should be separate arguments in groff macros. Noticed by: ru END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T16:25:50.000000Z K 7 svn:log V 288 Shuffle numeric values of the IO_* flags to match the O_* flags from fcntl.h. This is in preparation for making the flags passed to device drivers be consistently from fcntl.h for all entrypoints. Today open, close and ioctl uses fcntl.h flags, while read and write uses vnode.h flags. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:05:44.000000Z K 7 svn:log V 249 Be consistent about flag values passed to device drivers read/write methods: Read can see O_NONBLOCK and O_DIRECT. Write can see O_NONBLOCK, O_DIRECT and O_FSYNC. In addition O_DIRECT is shadowed as IO_DIRECT for now for backwards compatibility. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-22T17:17:35.000000Z K 7 svn:log V 67 MFC: rev. 1.33 Nuke ports-picobsd, it was thrown out a while ago. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-22T17:23:44.000000Z K 7 svn:log V 67 MFC: rev. 1.33 Nuke ports-picobsd, it was thrown out a while ago. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:28:34.000000Z K 7 svn:log V 40 #include of not necesary. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:29:02.000000Z K 7 svn:log V 63 #include fcntl.h not vnode.h. Check O_NONBLOCK not IO_NDELAY. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:29:37.000000Z K 7 svn:log V 55 Check O_NONBLOCK not IO_NDELAY. Don't include vnode.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:30:38.000000Z K 7 svn:log V 115 Include fcntl.h not vnode.h. Include uio.h instead of relying on vnode.h to do so. Check O_NONBLOCK not IO_NDELAY. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:31:10.000000Z K 7 svn:log V 22 Don't include vnode.h END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-12-22T17:31:28.000000Z K 7 svn:log V 23 Correct speling erors. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:31:44.000000Z K 7 svn:log V 61 Don't include vnode.h. Check O_NONBLOCK instead of IO_NDELAY END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:32:27.000000Z K 7 svn:log V 13 Fix comment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:32:53.000000Z K 7 svn:log V 67 Check O_NONBLOCK instead of IO_NDELAY. Don't include END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:34:25.000000Z K 7 svn:log V 76 Include fcntl.h Check O_NONBLOCK instead of IO_NDELAY Don't include vnode.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:34:53.000000Z K 7 svn:log V 76 Include fcntl.h check O_NONBLOCK instead of IO_NDELAY don't include vnode.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:35:52.000000Z K 7 svn:log V 77 Include fcntl.h check O_NONBLOCK instead of IO_NDELAY Don't include vnode.h. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:36:38.000000Z K 7 svn:log V 135 Include fcntl.h Check O_NONBLOCK instead of IO_NDELAY. Include selinfo.h instead of relying on vnode.h to do so. Don't include vnode.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:37:14.000000Z K 7 svn:log V 74 Include uio.h Check O_NONBLOCK instead if IO_NDELAY Don't include vnode.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:37:57.000000Z K 7 svn:log V 115 Include fcntl.h Check O_NONBLOCK instead of IO_NDELAY Include uio.h Don't include vnode.h Don't include filedesc.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:38:43.000000Z K 7 svn:log V 152 Don't include filedesc.h Include fcntl.h Include selinfo.h (don't rely on vnode.h to do so) Check O_NONBLOCK instead of IO_NDELAY Don't include vnode.h END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-12-22T17:39:21.000000Z K 7 svn:log V 126 Include fcntl.h Include selinfo.h (don't rely on vnode.h to do so) Check O_NONBLOCK instead of IO_NELAY Don't include vnode.h END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-12-22T17:50:44.000000Z K 7 svn:log V 57 'forget' command takes device names, not provider names. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-12-22T19:48:42.000000Z K 7 svn:log V 95 MFC: rev. 1.33 Nuke ports-picobsd, it was thrown out a while ago. Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-12-22T20:28:46.000000Z K 7 svn:log V 260 Add send buffer locking to uipc_send(). Without this locking a race can occur between a reader and a writer that results in a panic upon close, e.g., "panic: sbflush_locked: cc 4 || mb 0xffffff0052afa400 || mbcnt 0" Reviewed by: rwatson@ MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-12-22T22:00:01.000000Z K 7 svn:log V 1807 Further fix the case mentioned in rev. 1.302. The intent was (and still is) that if a user has say CPUTYPE=i686 set in /etc/make.conf, we don't print the assignment type warning unless TARGET_CPUTYPE is overridden. Unfortunately, the implementation was buggy, and only recent changes to bsd.cpu.mk that swapped canonical and alias values of some CPU types made the bug apparent. Here's what happens here. - CPUTYPE=i686 is set in /etc/make.conf, - bsd.cpu.mk reset it to "pentiumpro", - Makefile.inc1 compares this canonical value with the result of the following test, make -f /dev/null CPUTYPE=pentiumpro -V CPUTYPE and expects the result to be "pentiumpro" too, but "i686" is returned, here's why. We have two CPUTYPE variables, global, set to "i686" in /etc/make.conf, and command-line (of a higher precedence), set to "pentiumpro". The following part of bsd.cpu.mk, . elif ${CPUTYPE} == "i686" CPUTYPE = pentiumpro which is responsible for converting aliases to canonical values, sees the value of the CPUTYPE command-line variable first, "pentiumpro", and no conversion is done -- the net effect is that CPUTYPE global stays with its old value "i686", and "make -V CPUTYPE" (which prints variables in the global context) returns "i686". The fix was to pass the CPUTYPE in the test above as an environment variable instead of as a command line variable, i.e., CPUTYPE=pentiumpro make -f /dev/null -V CPUTYPE This time, CPUTYPE global is still set to "i686" initially (by /etc/make.conf), and an envieronment variable CPUTYPE (of a lower precedence) is set to "pentiumpro". The .elif sees it's set to "i686" and resets it to "pentiumpro", and so "make -V" returns "pentiumpro". NB: these various types of make(1) variables can be very painful, especially when combined with "make -V". END