ƒŠf130822 178 427 245 237 592 246 483 424 644 302 4226 133 137 781 252 170 140 147 170 136 748 273 108 108 108 164 1115 108 118 127 142 141 138 169 184 314 108 522 166 145 150 141 163 177 108 134 108 155 108 272 108 236 108 595 156 353 324 199 119 118 259 162 180 617 148 762 138 241 176 693 217 152 136 440 167 216 158 150 146 205 167 142 305 131 140 297 173 139 762 182 173 671 196 208 227 183 114 201 176 147 112 249 117 150 151 385 252 193 220 147 425 259 1473 139 138 156 144 216 154 157 215 333 303 203 150 144 154 120 829 218 135 163 344 223 173 308 140 238 266 318 323 217 200 116 181 166 230 178 163 438 146 202 171 272 199 276 110 413 378 648 925 156 264 433 155 170 281 141 618 164 340 176 276 133 701 199 171 158 278 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-20T21:47:12.000000Z K 7 svn:log V 330 It's now the responsibility of the consumer of soabort() to remove a socket from its accept queue when aborting it during a new inbound connection. Update spx_input() to acquire the accept lock, assert the condition of the socket on its parent queue, and approriately disconnect it from the queue before calling soabort() on it. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-20T21:49:12.000000Z K 7 svn:log V 148 Include an annotation of NET_{LOCK,UNLOCK}_GIANT() noting that these calls do not have the same recursion semantics as DROP_GIANT and PICKUP_GIANT. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-20T22:04:53.000000Z K 7 svn:log V 145 Don't set the ctime of an inode when atime or mtime are specified. PR: bin/44343 Submitted by: Scott Wiersdorf END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-20T22:05:41.000000Z K 7 svn:log V 499 Change the architecture-based setting of KINFO_PROC_SIZE and KI_NSPARE so that it is a series of alphabetically-ordered #fidef's, from Bruce Evans. Define two new thread-related values in kproc_info, from Cyrille Lefevre. Also remove a few values from kproc_info that were not needed, and change around a few comments, from me. Changes are combined into a single commit simply because it is a hassle to make sure that alignments and sizes are not changed on any platform when modifying kproc_info. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-20T22:17:22.000000Z K 7 svn:log V 153 Fill in the values for the ki_tid and ki_numthreads which have been added to kproc_info. PR: bin/65803 (a tiny part...) Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-20T22:22:49.000000Z K 7 svn:log V 390 Add new output-format keywords of LWP and NLWP, which show the thread-id and number-of-threads tied to a process. Result can be seen by typing, e.g.: ps -HO lwp,nlwp These new options are not documented yet. More options will be coming, and I will update the man page after I get farther along. PR: bin/65803 (though adjusted to fit our present source) Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-20T22:31:37.000000Z K 7 svn:log V 331 From SUSv3: Any [standard output] field need not be meaningful in all implementations. In such a case a hyphen ('-') should be output in place of the field value So have the `-O label' option print out the string " -" if the process has no label. Approved by: Silence from rwatson and green (when asked in March...) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-06-20T22:32:19.000000Z K 7 svn:log V 548 Fix the following error: ld: locore.o: non-pic code with imm relocation against dynamic symbol `__gp' With binutils 2.15, ld(1) defines the implicit/automatic symbol __gp as a dynamic symbol and thus will now complain when used in a non-PIC fashion (the immediate relocation used to set the GP register). Resolve this by defining __gp in the linker script. Make sure __gp is aligned on a 16-byte boundary. Note: the 0x200000 magic offset is due to having a 22-bit GP-relative relocation. The GOT will be accessed with negative offsets from GP. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-20T23:40:54.000000Z K 7 svn:log V 209 Add the `-O emul' format option, which prints the name of the system-call emulation environment the process is in. "emul" as a keyword is picked up from OpenBSD. PR: bin/65803 Submitted by: Cyrille Lefevre END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-21T00:20:43.000000Z K 7 svn:log V 4128 Merge next step in socket buffer locking: - sowakeup() now asserts the socket buffer lock on entry. Move the call to KNOTE higher in sowakeup() so that it is made with the socket buffer lock held for consistency with other calls. Release the socket buffer lock prior to calling into pgsigio(), so_upcall(), or aio_swake(). Locking for this event management will need revisiting in the future, but this model avoids lock order reversals when upcalls into other subsystems result in socket/socket buffer operations. Assert that the socket buffer lock is not held at the end of the function. - Wrapper macros for sowakeup(), sorwakeup() and sowwakeup(), now have _locked versions which assert the socket buffer lock on entry. If a wakeup is required by sb_notify(), invoke sowakeup(); otherwise, unconditionally release the socket buffer lock. This results in the socket buffer lock being released whether a wakeup is required or not. - Break out socantsendmore() into socantsendmore_locked() that asserts the socket buffer lock. socantsendmore() unconditionally locks the socket buffer before calling socantsendmore_locked(). Note that both functions return with the socket buffer unlocked as socantsendmore_locked() calls sowwakeup_locked() which has the same properties. Assert that the socket buffer is unlocked on return. - Break out socantrcvmore() into socantrcvmore_locked() that asserts the socket buffer lock. socantrcvmore() unconditionally locks the socket buffer before calling socantrcvmore_locked(). Note that both functions return with the socket buffer unlocked as socantrcvmore_locked() calls sorwakeup_locked() which has similar properties. Assert that the socket buffer is unlocked on return. - Break out sbrelease() into a sbrelease_locked() that asserts the socket buffer lock. sbrelease() unconditionally locks the socket buffer before calling sbrelease_locked(). sbrelease_locked() now invokes sbflush_locked() instead of sbflush(). - Assert the socket buffer lock in socket buffer sanity check functions sblastrecordchk(), sblastmbufchk(). - Assert the socket buffer lock in SBLINKRECORD(). - Break out various sbappend() functions into sbappend_locked() (and variations on that name) that assert the socket buffer lock. The !_locked() variations unconditionally lock the socket buffer before calling their _locked counterparts. Internally, make sure to call _locked() support routines, etc, if already holding the socket buffer lock. - Break out sbinsertoob() into sbinsertoob_locked() that asserts the socket buffer lock. sbinsertoob() unconditionally locks the socket buffer before calling sbinsertoob_locked(). - Break out sbflush() into sbflush_locked() that asserts the socket buffer lock. sbflush() unconditionally locks the socket buffer before calling sbflush_locked(). Update panic strings for new function names. - Break out sbdrop() into sbdrop_locked() that asserts the socket buffer lock. sbdrop() unconditionally locks the socket buffer before calling sbdrop_locked(). - Break out sbdroprecord() into sbdroprecord_locked() that asserts the socket buffer lock. sbdroprecord() unconditionally locks the socket buffer before calling sbdroprecord_locked(). - sofree() now calls socantsendmore_locked() and re-acquires the socket buffer lock on return. It also now calls sbrelease_locked(). - sorflush() now calls socantrcvmore_locked() and re-acquires the socket buffer lock on return. Clean up/mess up other behavior in sorflush() relating to the temporary stack copy of the socket buffer used with dom_dispose by more properly initializing the temporary copy, and selectively bzeroing/copying more carefully to prevent WITNESS from getting confused by improperly initialized mutexes. Annotate why that's necessary, or at least, needed. - soisconnected() now calls sbdrop_locked() before unlocking the socket buffer to avoid locking overhead. Some parts of this change were: Submitted by: sam Sponsored by: FreeBSD Foundation Obtained from: BSD/OS END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-06-21T05:13:22.000000Z K 7 svn:log V 41 Extend the description of SIOC[GS]IFCAP. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-21T07:27:34.000000Z K 7 svn:log V 42 Include module.h Submitted by: Koop Mast END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-06-21T08:01:16.000000Z K 7 svn:log V 686 o Reduce path names in RRQ and WRQ packets by: Reducing "/+./" strings to "/" Reducing "/[^/]+/../" to "/" o Don't send an OACK when the result of the [RW]RQ is an error. These changes allow tftpd to interact with pxelinux.bin from the syslinux package. Whilst the path reducing code doesn't properly handle situations where the path component before the "/../" is a symlink to (say) ".", I would suggest that it does the right thing in terms of the clients perception of what their path string actually represents. This seems better than using realpath() and breaking environments where symlinks point outside of the directory hierarchy that tftpd is configured to allow. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-06-21T08:41:50.000000Z K 7 svn:log V 159 - Missing trailing slash for a kern directory check. - Check in both places if ${_dir}/conf/kmod.mk exists. - Style fixes (lines too long). Submitted by: bde END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-06-21T09:12:08.000000Z K 7 svn:log V 78 Don't hold topology lock while calling g_gate_release(). Found by: KASSERT() END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-06-21T09:20:06.000000Z K 7 svn:log V 48 Print mediasize in human readable form as well. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-06-21T10:09:47.000000Z K 7 svn:log V 53 MFC -U flag (rev. 1.53 jail.8 and rev. 1.15 jail.c). END K 10 svn:author V 5 brian K 8 svn:date V 27 2004-06-21T10:47:12.000000Z K 7 svn:log V 76 Call tzset() at startup. Submitted by: Andrzej ToboÃ…a END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T12:28:56.000000Z K 7 svn:log V 44 New style functions, kill register keyword. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-06-21T13:02:25.000000Z K 7 svn:log V 650 Prevent the rp driver from panic'ing on first access and make at least the pci device unloadable - Use ttymalloc() rather than a plain malloc to allocate the rp->rp_tty ttys. This is now required due to the recent locking changes to ttys and prevents a panic due to locking an unitialized t_mtx. - Allow the pci driver to be unloaded. This involved moving the call rp_releaseresource() to the end of rp_pcireleaseresource(), since rp_pcireleaseresource() uses ctlp->dev, which is freed by rp_releaseresource(). - Allow the generic part of the driver to be unattached by providing a hook to cancel timeouts. Glanced at by: obrien END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-21T14:03:38.000000Z K 7 svn:log V 180 Update p_runtime on exit. This fixes calcru() on zombies, and prepares for not calling calcru() on exit. calcru() on a zombie can happen if ttyinfo() (^T) picks one. PR: 52490 END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T14:11:45.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T14:23:31.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T14:43:09.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-06-21T14:49:22.000000Z K 7 svn:log V 72 Add a timeout after which tinderbox(1) will kill its children and exit. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-21T14:49:50.000000Z K 7 svn:log V 1021 (1) Removed the bogus condition "p->p_pid != 1" on calling sched_exit() from exit1(). sched_exit() must be called unconditionally from exit1(). It was called almost unconditionally because the only exits on system shutdown if at all. (2) Removed the comment that presumed to know what sched_exit() does. sched_exit() does different things for the ULE case. The call became essential when it started doing load average stuff, but its caller should not know that. (3) Didn't fix bugs caused by bitrot in the condition. The condition was last correct in rev.1.208 when it was in wait1(). There p was spelled curthread->td_proc and was for the waiting parent; now p is for the exiting child. The condition was to avoid lowering init's priority. It should be in sched_exit() itself. Lowering of priorities is broken in other ways in at least the 4BSD scheduler, and doing it for init causes less noticeable problems than doing it for for shells. Noticed by: julian (1) END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T14:54:43.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-06-21T15:08:17.000000Z K 7 svn:log V 26 Initialize $timeout to 0. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-06-21T15:14:27.000000Z K 7 svn:log V 35 MFcx(4) 1.23: markup fixes by ru@. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T16:07:30.000000Z K 7 svn:log V 50 Discontinue use of old libcompat regexp routines. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T16:09:29.000000Z K 7 svn:log V 49 libcompat doesn't seem to be necessary any more. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T16:10:00.000000Z K 7 svn:log V 46 libcompat doesn't seem to be needed any more. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-21T16:12:02.000000Z K 7 svn:log V 77 Fixed style bugs in previous commit (151 characters of trailing whitespace). END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-21T16:41:23.000000Z K 7 svn:log V 92 Use the correct type (lwpid_t) for ki_tid . Noticed by: julian Approved by: julian, marcel END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-21T16:53:11.000000Z K 7 svn:log V 221 Have `ps' return the cputimes for zombies, with the assumption that kvm_getprocs() will provide useful information if it can, or *it* will provide a zero value if it can not find something appropriate. Submitted by: bde END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T17:42:49.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-21T17:46:27.000000Z K 7 svn:log V 429 Turned off the "calcru: negative time" warning for certain SMP cases where it is known to detect a problem but the problem is not very easy to fix. The warning became very common recently after a call to calcru() was added to fill_kinfo_thread(). Another (much older) cause of "negative times" (actually non-monotonic times) was fixed in rev.1.237 of kern_exit.c. Print separate messages for non-monotonic and negative times. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-06-21T18:09:20.000000Z K 7 svn:log V 71 Disable building of GDB info files until the gdb6 upgrade is finished. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-06-21T18:10:10.000000Z K 7 svn:log V 53 MFCronyx: add cross-references, fix history section. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-06-21T18:20:57.000000Z K 7 svn:log V 54 Add manual pages for cm(4), esp(4), rc(4) and snc(4). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-06-21T18:23:51.000000Z K 7 svn:log V 46 This should be the right set of docs sources. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T18:24:48.000000Z K 7 svn:log V 71 PR: docs/67884 Submitted by: Chirstopger Nehren END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-21T18:34:30.000000Z K 7 svn:log V 86 Add a quirk for ciss to stop trying to read the serial number off of logical volumes. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T18:57:32.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-21T19:01:55.000000Z K 7 svn:log V 43 Revert rev 1.140, it was a bit pre-mature. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T19:30:45.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-06-21T19:35:36.000000Z K 7 svn:log V 63 The default setting for hosts is "files dns", not "dns files". END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T19:38:25.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-06-21T19:38:58.000000Z K 7 svn:log V 179 Correct an error carried over from the nsswitch.conf(5) manual page; add a note to UPDATING since users may have to manually remove an incorrect nsswitch.conf. Noticed by: simon END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T19:54:56.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T20:09:23.000000Z K 7 svn:log V 143 Give control devices their own cdevsw{} so that we can eliminate them from the trafic functions. Do not use com_addr() when we don't need it. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2004-06-21T20:10:35.000000Z K 7 svn:log V 16 Spelling fixes. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-21T20:18:40.000000Z K 7 svn:log V 499 Add SCSI passthrough support to CISS. This allows devices like tape drives that are on a CISS bus to be exported up to CAM and made available as normal devices. This will typically add one or two buses to CAM, which will be numbered starting at 32 to allow room for CISS proxy buses. Also, the CISS firmware usually hides disk devices, but these can also be exposed as 'pass' devices if you set the hw.ciss.expose_hidden_physical tunable. Sponsored by: Tape Laboratories, Inc. MFC After: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T20:31:49.000000Z K 7 svn:log V 64 Kill g_access_rel() already now before we send it down 5-stable END K 10 svn:author V 5 green K 8 svn:date V 27 2004-06-21T20:42:03.000000Z K 7 svn:log V 258 Call the detach function with g_waitfor_event() so that it can access the GEOM topology. There are still issues with not detaching from cam correctly such that upon a device detach there's an invalid pointer dereference from the later call to cam_rescan(). END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-06-21T20:44:02.000000Z K 7 svn:log V 228 Mark the thread in an exiting program as inactive. This is not really used by the process but it's confusing to some status readers to see zombie processes the "runnin" threads. Pointed out by: Don Lewis END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-21T21:56:57.000000Z K 7 svn:log V 107 There is no need to call ciss_media_accept async anymore since all notify events are handled in a kthread. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T21:57:31.000000Z K 7 svn:log V 27 Be BURN_BRIDGES compliant. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T21:59:00.000000Z K 7 svn:log V 26 Be BURN_BRIDGES compliant END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-21T22:05:46.000000Z K 7 svn:log V 163 Add the sysctl node 'kern.sched.name' that has the name of the scheduler currently in use. Move the 4bsd kern.quantum node to kern.sched.quantum for consistency. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-21T22:26:10.000000Z K 7 svn:log V 66 Import ipfilter 3.4.35 (destinated for RELENG_4) to vendor branch END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-06-21T22:26:11.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'ipfilter-vendor-sys-v3-4-35'. END K 10 svn:author V 6 kbyanc K 8 svn:date V 27 2004-06-21T22:34:57.000000Z K 7 svn:log V 521 Update previous commit to: * Obtain/release schedlock around calls to calcru. * Sort switch cases which do not cascade per style(9). * Sort local variables per style(9). * Remove "superfluous" whitespace. * Cleanup handling of NULL uap->tp in clock_getres(). It would probably be better to return EFAULT like clock_gettime() does by passing the pointer to copyout(), but I presume it was written to not fail on purpose in the original code. I'll defer to -standards on this one. Reported by: bde END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-21T22:42:46.000000Z K 7 svn:log V 53 Fix typo that somehow crept into the previous commit END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-21T22:46:36.000000Z K 7 svn:log V 665 Update ipfilter from 3.4.31 -> 3.4.35. Some important changes: * block packets that fail to create state table entries * only allow non-fragmented packets to influence whether or not a logged packet is the same as the one logged before. * correct the ICMP packet checksum fixing up when processing ICMP errors for NAT * implement a maximum for the number of entries in the NAT table (NAT_TABLE_MAX and ipf_nattable_max) * frsynclist() wasn't paying attention to all the places where interface names are, like it should. * fix comparing ICMP packets with established TCP state where only 8 bytes of header are returned in the ICMP error. MFC after: 1 week END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-21T22:47:51.000000Z K 7 svn:log V 42 Import ipfilter 3.4.35 onto vendor branch END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-21T22:47:51.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r130887, 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-06-21T22:47:52.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'ipfilter-vendor-v3-4-35'. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-21T22:53:03.000000Z K 7 svn:log V 596 Committ changes from 3.4.31 -> 3.4.35 * fix bug parsing port comparisons in proxy rules * make parsing errors in ipf/ipnat return an error rather than return indicating success. * make parsing errors in ipf/ipnat return an error rather than return indicating success. * make ipfstat work as a set{g,u}id thing - gave up privs before opening /dev/ipl * fix ipfstat -A * make "ipfstat -f" output more informative * various changes to ipsend for sending packets with ipv4 options * ipmon was not correctly calculating the length of the IPv6 packet (excluded ipv6 header length) MFC: 1 week END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-21T22:57:10.000000Z K 7 svn:log V 125 on media exchange, update/rescan the drives. This allows a volume in a failed stated to come back on-line without a reboot. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-21T22:57:16.000000Z K 7 svn:log V 60 Put the pre FreeBSD-2.x tty compat code under BURN_BRIDGES. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-21T23:47:47.000000Z K 7 svn:log V 41 Fix another typo in the previous commit. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-22T01:59:54.000000Z K 7 svn:log V 347 When displaying the "COMMAND" field for system-processes and/or kernel threads, put the command name in square brackets instead of parenthesis. This matches NetBSD, and also seems to be what linux does. The sentence which is added to the man page is taken straight from NetBSD. PR: bin/65803 Submitted by: Cyrille Lefevre Obtained from: NetBSD END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-22T02:06:42.000000Z K 7 svn:log V 75 Add 'const' to a few places. PR: bin/65803 Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-22T02:15:58.000000Z K 7 svn:log V 123 Oops. Undo that last 'const' change. It expects similar changes to some other files that I am not ready to commit yet... END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-22T02:18:29.000000Z K 7 svn:log V 66 Get rid of a cast to '(void) ' on the return of a call to strcpy. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-22T02:44:06.000000Z K 7 svn:log V 54 one too many #endif's from the update broke the build END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T03:49:22.000000Z K 7 svn:log V 50 Remove spl's from uipc_socket to ease in merging. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T03:58:50.000000Z K 7 svn:log V 108 Prefer use of the inpcb as a MAC label source for outgoing packets sent via divert sockets, when available. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:00:51.000000Z K 7 svn:log V 71 Acquire socket lock around frobbing of socket state in divert sockets. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:22:34.000000Z K 7 svn:log V 46 Mark linux_emul_convpath() as GIANT_REQUIRED. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:29:07.000000Z K 7 svn:log V 208 Acquire Giant in link() so that we can mark it as MSTD in syscalls.master. Don't want to do it in kern_link() since the Linux emulation code calls kern_link() after performing other actions requiring Giant. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:29:27.000000Z K 7 svn:log V 35 Mark link() system call as MPSAFE. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:29:59.000000Z K 7 svn:log V 44 Rebuild following marking link() as MPSAFE. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:34:05.000000Z K 7 svn:log V 200 Acquire Giant in link() so that the system call can be marked MPSAFE. Don't want to acquire Giant in kern_link() sync linux compat code performs actions requiring Giant prior to calling kern_link(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:34:55.000000Z K 7 svn:log V 77 Mark unlink() as MPSAFE as we now acquire Giant in the unlink() system call. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-22T04:36:25.000000Z K 7 svn:log V 43 Regenerate after updating syscalls.master. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-22T04:38:08.000000Z K 7 svn:log V 669 Raise the ipl to splstatclock() in donice() before calling resetpriority(). This fixes races with schedcpu() and schedclock(). It corresponds to sched locking before the sched_nice() call in -current. Lock assertions made the races very obvious in -current. Adjust the process's priority after calling resetpriority() as in schedclock() to maintain the invariant that the current priority is always _the_ process's user priority if it is a user priority. This is to support uncommitted assertions that the priority is correct on return to user mode. The priority is correct here (modulo bugs elsewhere) but it needs to be set explicitly to satisfy the assertions. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-22T05:16:29.000000Z K 7 svn:log V 86 #ifdef's for FreeBSD are wrong, causing too many variable declaractions to disappear. END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2004-06-22T05:20:30.000000Z K 7 svn:log V 77 revert section of code that calls netisr_queue() to match v1.33 of this file END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-22T05:36:59.000000Z K 7 svn:log V 578 MFC (1.140: Turned off the "calcru: negative time" warning for certain SMP cases, and print separate messages for non-monotonic and negative times). Turned off the warning for zombie cases too. Fixed some style bugs in the messages. Only the warning about non-monotonic times is turned off. Unlike in -current, these are only known to be caused by calling calcru() from ttyinfo() for ^T processing (always if it is called for a zombie) so turning off the warning is believed to only lose a cryptic warning that the times printed for ^T are slightly out of date. PR: 52490 END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-22T06:38:01.000000Z K 7 svn:log V 104 Catch up with g_dev_open() changes and pass over the current thread pointer. Submitted by: cperciva END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-06-22T08:23:26.000000Z K 7 svn:log V 110 Fix typos and add spaces before `(' in some comments Submitted by: markus Approved by: njl MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2004-06-22T08:34:46.000000Z K 7 svn:log V 134 Set up logging before trying to lock the sandbox; otherwise tbmaster(1) will just log a mysterious "tinderbox returned exit code 35". END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-06-22T09:09:18.000000Z K 7 svn:log V 92 Document the "fec" Netgraph node type. Submitted by: Gleb Smirnoff OK'ed by: julian, wpaul END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-06-22T09:11:01.000000Z K 7 svn:log V 23 Fixed copyright owner. END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-06-22T09:18:50.000000Z K 7 svn:log V 108 fix handling of an unknown progeam name Noticed by: Joshua Goodall Approved by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-06-22T09:23:31.000000Z K 7 svn:log V 85 ng_fec(4) is not anymore incompatible with ng_ether(4). Submitted by: Gleb Smirnoff END K 10 svn:author V 3 den K 8 svn:date V 27 2004-06-22T10:11:26.000000Z K 7 svn:log V 55 Update reference to FAQ (3.16 -> 5.3, still hardcoded) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-06-22T10:33:58.000000Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-06-22T11:18:25.000000Z K 7 svn:log V 156 Use the right ordering of args on mtx_init(). No functional changes since the args in question was all zero's. Found by: Jimmy Olgeni END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-06-22T12:11:20.000000Z K 7 svn:log V 24 MFi386: revision 1.592. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-06-22T12:12:10.000000Z K 7 svn:log V 57 Merged from sys/dev/sio/sio.c revisions 1.439 and 1.440. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-22T14:54:31.000000Z K 7 svn:log V 60 Don't sleep in the g_down path. More error checks to come. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-06-22T16:02:29.000000Z K 7 svn:log V 287 Use nanoseconds and then lexicographic ordering when the seconds of the [acm]time are the same. I was going to use Scott's patch, but I couldn't get the style quite right, so I used a patch of my own. Submitted by: Scott Mitchell MFC after: 3 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-06-22T17:05:39.000000Z K 7 svn:log V 156 Adjust the system endian and a.out headers to be more MI and cross-building friendly. Use the systems headers rather than local versions. Reviewed by: ru END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-22T17:17:44.000000Z K 7 svn:log V 100 Fix a paste-o in key_cmpspidx_withmask(). PR: misc/67013 Submitted by: Zhenmin END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-22T17:39:57.000000Z K 7 svn:log V 128 Use the maximum physical bus when rescanning those targets. This fixes a panic on cards which do not have any drives attached. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-22T18:13:43.000000Z K 7 svn:log V 56 No need to free the softc, because it wasn't allocated. END K 10 svn:author V 5 green K 8 svn:date V 27 2004-06-22T18:56:47.000000Z K 7 svn:log V 330 Fix a problem with multiple-delivery (i.e. broadcast) in ng_bridge. Only the first link0..link$NLINKS hooks would be utilized, whereas the link hooks may be connected sparsely. Add a counter variable so that the link hook array is only traversed while there is still work to do, but that it continues up to the end if it has to. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-06-22T19:35:43.000000Z K 7 svn:log V 166 Implement the protection check required by the pmap_extract_and_hold() specification. This enables the elimination of Giant from that function. Reviewed by: tegge@ END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-06-22T20:13:25.000000Z K 7 svn:log V 1376 Major overhaul of pseudo-interface cloning. Highlights include: - Split the code out into if_clone.[ch]. - Locked struct if_clone. [1] - Add a per-cloner match function rather then simply matching names of the form and . - Use the match function to allow creation of . vlan interfaces. The old way is preserved unchanged! - Also the match function to allow creation of stf(4) interfaces named stf0, stf, or 6to4. This is the only major user visible change in that "ifconfig stf" creates the interface stf rather then stf0 and does not print "stf0" to stdout. - Allow destroy functions to fail so they can refuse to delete interfaces. Currently, we forbid the deletion of interfaces which were created in the init function, particularly lo0, pflog0, and pfsync0. In the case of lo0 this was a panic implementation so it does not count as a user visiable change. :-) - Since most interfaces do not need the new functionality, an family of wrapper functions, ifc_simple_*(), were created to wrap old style cloner functions. - The IF_CLONE_INITIALIZER macro is replaced with a new incompatible IFC_CLONE_INITIALIZER and ifc_simple consumers use IFC_SIMPLE_DECLARE instead. Submitted by: Maurycy Pawlowski-Wieronski [1] Reviewed by: andre, mlaier Discussed on: net END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-06-22T20:15:42.000000Z K 7 svn:log V 44 Bump FreeBSD_version for if_clone overhaul. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-22T20:18:15.000000Z K 7 svn:log V 47 Catch up with the dev_t -> struct cdev change. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-22T20:22:24.000000Z K 7 svn:log V 65 Fix a few spelling mistakes in comments and clean them up a bit. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-06-22T20:28:03.000000Z K 7 svn:log V 49 Add entry for network interface cloning changes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-22T20:32:17.000000Z K 7 svn:log V 123 Remove the TIOCDCDTIMESTAMP option. The RFC-2783 PPS-API () provides better and more configurable service. END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-06-22T20:57:55.000000Z K 7 svn:log V 56 Removed ixgb driver as its unlikely to be used by many. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-06-22T21:07:54.000000Z K 7 svn:log V 62 Fix whitespace errors in previous commit. Reported by: simon END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-22T21:46:49.000000Z K 7 svn:log V 122 Improve source-code compatibility with Linux applications using the IPX stack. PR: kern/65217 Submitted by: Radim Kolar END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-22T21:52:20.000000Z K 7 svn:log V 240 Remove a bogus increment of %di when scanning the list of loader paths. %di will already point to the character after the nul char when the 'repnz scasb' terminates. Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-22T21:55:22.000000Z K 7 svn:log V 210 Update the copyright to use a 3 clause BSD license rather than one that is less clear about allowing redistribution of modified copies. Requested by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-22T22:02:57.000000Z K 7 svn:log V 110 Correct a misleading comment regarding the IPSEC_FILTERGIF option. PR: 57125 Requested by: Adrian Steinmann END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-06-22T22:57:13.000000Z K 7 svn:log V 53 Throw out pfsync and pflog, the modules were removed END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-22T23:05:06.000000Z K 7 svn:log V 53 Reset the update flag when scanning for new devices. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-22T23:06:17.000000Z K 7 svn:log V 63 MFC: 1.54 Reset the update flag when scanning for new devices. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-06-22T23:15:01.000000Z K 7 svn:log V 25 Enable 'vinum' on AMD64. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-22T23:58:09.000000Z K 7 svn:log V 736 Fix an inconsistency in socket option propagation on accept(). Propagate the SS_NBIO flag from the parent socket to the child socket during an accept() operation. The file descriptor O_NONBLOCK flag would have been propagated already by the fflag assignment, and therefore would have been inconsistent with the underlying socket's so_state member. This makes accept() more closely adhere to the API contract we effectively outline in the manual page. Note also that Linux continues to differ here; O_NONBLOCK is not propagated. The other BSDs do propagate the flag, as does Solaris. The Single UNIX Specification does not offer specific advice on this issue. PR: kern/45733 Requested by: Jayanth Vijayaraghavan Reviewed by: rwatson END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-23T00:20:46.000000Z K 7 svn:log V 125 Be specific about which socket properties are inherited from the original socket upon accept(2). PR: docs/54995, kern/45733 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-23T00:27:56.000000Z K 7 svn:log V 40 Document the new passthrough interface. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-06-23T00:35:50.000000Z K 7 svn:log V 67 Remove unlocked read annotation for sbspace(); the read is locked. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-06-23T01:32:28.000000Z K 7 svn:log V 248 Add "privsep" user/group _pflogd:_pflogd (64:64) to make pflogd(8) work again. This user/group is not required for install* targets, hence do not add them to CHECK_UIDS/CHECK_GIDS in Makefile.inc1 (no need to annoy people). Discussed-on: -current END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-06-23T01:42:06.000000Z K 7 svn:log V 127 Swap order of ruleset load and enabling pf to work around a problem on altq startup. Moreover, this is the "more logic" order. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-23T01:58:22.000000Z K 7 svn:log V 81 Add required includes for post-sorwakeup() change to fix FAST_IPSEC compilation. END K 10 svn:author V 6 archie K 8 svn:date V 27 2004-06-23T02:37:10.000000Z K 7 svn:log V 212 Avoid calling bpf_filter() with len == 0, which causes a change in semantics (it treats the buffer pointer as an mbuf pointer) and subsequent panic. MFC after: 3 days Reported by: Tony Hariman END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-06-23T04:36:04.000000Z K 7 svn:log V 45 Turn back on the building of GDB info files. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-06-23T04:37:14.000000Z K 7 svn:log V 145 Implement the protection check required by the pmap_extract_and_hold() specification. This enables the elimination of Giant from that function. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-23T06:35:43.000000Z K 7 svn:log V 173 Include and its prerequisite instead of depending on namespace pollution in for the definition of GIANT_REQUIRED. Sorted includes. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-06-23T06:47:49.000000Z K 7 svn:log V 225 Include and its prerequisite instead of depending on namespace pollution in for the definition of mutex interfaces used in SOCKBUF_*LOCK(). Sorted includes. Removed unused includes. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-06-23T07:01:44.000000Z K 7 svn:log V 230 Prefix the names of members of _RuneLocale and its sub-structures with ``__'' to avoid polluting the namespace. This doesn't change the documented rune interface at all, but breaks applications that accessed _RuneLocale directly. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-06-23T07:11:39.000000Z K 7 svn:log V 124 Now that no longer brings in namespace pollution, bring back the inline functions for the !__BSD_VISIBLE case. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-23T07:12:34.000000Z K 7 svn:log V 107 MFamd64: Document the machdep.hlt_cpus sysctl MIB variable. PR: i386/65729 Submitted by: Craig Rodrigues END K 10 svn:author V 3 den K 8 svn:date V 27 2004-06-23T07:40:52.000000Z K 7 svn:log V 24 Update copyright years. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-06-23T08:06:52.000000Z K 7 svn:log V 89 - Remove unused definitions. - Move a definition inside the scope of a #ifdef _KERNEL. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-23T08:25:23.000000Z K 7 svn:log V 74 Since we grew struct xtty, t_dev doesn't have to be schizofrenic anymore. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-06-23T08:26:31.000000Z K 7 svn:log V 132 Fix some style bugs I introduced pointed out by bde. Also add a blank line after the empty variable declarations. Reviewed by: md5 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-06-23T09:42:19.000000Z K 7 svn:log V 83 It's /usr/sbin/nologin not /sbin/nologin Found-by: brueffer Pointy-hat-to: mlaier END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-06-23T10:28:09.000000Z K 7 svn:log V 71 save a few redundant lines by moving the retry loop further backwards. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-23T11:16:12.000000Z K 7 svn:log V 346 MFNetBSD 1.60, author: augustss Several changes: * Implement read for ulpt. * If the device is not opened for reading, occasionally drain any data the printer might have (but don't hammer the printer with reads). * Lower the buffer size to one page. The driver seems to work with more printers now. Obtained from: NetBSD END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-06-23T11:23:54.000000Z K 7 svn:log V 54 Make code more clean: backout support for 3.x branch. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T11:28:17.000000Z K 7 svn:log V 109 In the sorting routine, sort by thread-id if two processes have the same PID. Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T11:40:56.000000Z K 7 svn:log V 79 Include the `-c' option in the usage() message. Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T11:56:57.000000Z K 7 svn:log V 179 Make sure the value of "upr" (scheduling priority on return from system call) is scaled in the same way that "pri" (scheduling priority) is scaled. Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T12:18:36.000000Z K 7 svn:log V 106 Avoid padding the value of "ucomm" when it is the last column in the line. Submitted by: Cyrille Lefevre END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-06-23T13:49:46.000000Z K 7 svn:log V 183 Improve the kludge assignment of sub-bus numbers a little by fixing an off by one error. subbus must be > than pribus, so the right test is <= not just <. Reported by: Peter Losher END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-06-23T14:22:14.000000Z K 7 svn:log V 18 Clean CLEANFILES. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-23T15:08:40.000000Z K 7 svn:log V 320 Now that we associate a device_t with ACPI device handles, lookup the device associated with any PCI devices that are enumerated in the ACPI tree when adding children to an ACPI PCI bus and remove the duplicate ACPI-only device_t and replace the device_t associated with the handle with the ACPI and PCI aware device_t. END K 10 svn:author V 3 bms K 8 svn:date V 27 2004-06-23T15:15:07.000000Z K 7 svn:log V 285 In swap_pager_getpages(), bp->b_dev can be NULL, particularly for the case of NFS mounted swap, so do not try to dereference it. While we're here, brucify the printf() call which happens when we time out on acquisition of vm_page_queue_mtx. PR: kern/67898 Submitted by: bde (style) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-23T15:29:20.000000Z K 7 svn:log V 555 Various cleanups in support of a future ioapic_config_intr() function: - Allow ioapic_set_{nmi,smi,extint}() to be called multiple times on the same pin so long as the pin's mode is the same as the mode being requested. - Add a notion of bus type for the interrupt associated with interrupt pin. This is needed so that we can force all EISA interrupts to be active high in the forthcoming ioapic_config_intr(). - Fix a bug for EISA systems that didn't remap IRQs. This would have broken EISA systems that tried to disable mixed mode for IRQ 0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-23T17:21:02.000000Z K 7 svn:log V 832 - Defer BUS_CONFIG_INTR() on ACPI IRQ resources until the resources are actually used. For most ACPI devices this means deferring the call until bus_alloc_resource(). - Add a function acpi_config_intr() to call BUS_CONFIG_INTR() for an ACPI IRQ resource using the trigger mode and polarity information stored in the ACPI resource object. - Add a function acpi_lookup_irq_resource() to lookup the ACPI IRQ resource that corresponds to a specified rid and new-bus resource. - Have the ACPI PCI bridge driver call BUS_CONFIG_INTR() on interrupts that it routes through link devices. - Remove needactivate variable from acpi_alloc_resource() by changing the function not modify the flags variable but just mask off RF_ACTIVE when calling rman_reserve_resource(). Reviewed by: njl (1, an earlier version) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-06-23T17:33:25.000000Z K 7 svn:log V 61 el(4) stopped needing to me a count device in December 2000. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-23T17:59:01.000000Z K 7 svn:log V 171 Fetch the actual acpi0 device_t and use device_is_attached() to see if it's alive rather than trying to fetch its softc pointer via its devclass. Glanced at by: imp, njl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-06-23T18:11:33.000000Z K 7 svn:log V 340 Finally implement bus_config_intr() support for I/O APIC interrupt sources. This should fix problems with older SMP systems that only have ISA/EISA IRQs when routing virgin PCI interrupts as well as on other boxes whose MADT does not have any interrupt override entries for ISA IRQs that are used to route PCI interrupts even in APIC mode. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-06-23T18:13:10.000000Z K 7 svn:log V 63 Use bus_dma* instead of contigmalloc()+vtophys() for RELENG_5. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-23T19:36:09.000000Z K 7 svn:log V 75 First half of making UDF be endian-clean. This addresses the vfsops side. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-23T20:48:36.000000Z K 7 svn:log V 185 MFC: Add SCSI passthrough support to ciss. Non-disk devices that are exposed by the ciss firmware will now be exported to CAM as normal devices. Sponsored by: Tape Laboratories, Inc. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-23T20:56:07.000000Z K 7 svn:log V 46 MFC: Document the ciss passthrough interface. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-23T21:04:37.000000Z K 7 svn:log V 526 Add support for TCP Selective Acknowledgements. The work for this originated on RELENG_4 and was ported to -CURRENT. The scoreboarding code was obtained from OpenBSD, and many of the remaining changes were inspired by OpenBSD, but not taken directly from there. You can enable/disable sack using net.inet.tcp.do_sack. You can also limit the number of sack holes that all senders can have in the scoreboard with net.inet.tcp.sackhole_limit. Reviewed by: gnn Obtained from: Yahoo! (Mohan Srinivasan, Jayanth Vijayaraghavan) END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-23T21:15:55.000000Z K 7 svn:log V 73 Accept "sd len 0" and auto-size the subdisk correctly. Spotted by: csjp END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T21:17:25.000000Z K 7 svn:log V 247 Add a check for defunct processes in saveuser(), so the output for "args" (aka "command") will display "", as does the output from "comm" for those processes. Also do better checking for malloc() failures. Submitted by: Cyrille Lefevre END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T21:31:43.000000Z K 7 svn:log V 84 Replace a call to strncpy() with a call to strlcpy() Submitted by: Cyrille Lefevre END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-06-23T21:34:07.000000Z K 7 svn:log V 184 Move the sack sysctl's under net.inet.tcp.sack net.inet.tcp.do_sack -> net.inet.tcp.sack.enable net.inet.tcp.sackhole_limit -> net.inet.tcp.sack.sackhole_limit Requested by: wollman END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-06-23T21:49:03.000000Z K 7 svn:log V 38 Make the udf_vnops side endian clean. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-06-23T21:59:03.000000Z K 7 svn:log V 603 Make uma_mtx MTX_RECURSE. Here's why: The general UMA lock is a recursion-allowed lock because there is a code path where, while we're still configured to use startup_alloc() for backend page allocations, we may end up in uma_reclaim() which calls zone_foreach(zone_drain), which grabs uma_mtx, only to later call into startup_alloc() because while freeing we needed to allocate a bucket. Since startup_alloc() also takes uma_mtx, we need to be able to recurse on it. This exact explanation also added as comment above mtx_init(). Trace showing recursion reported by: Peter Holm END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T21:59:56.000000Z K 7 svn:log V 106 Fix a test of bit-flag "P_SA" by adding parenthesis around the expression. Submitted by: Cyrille Lefevre END K 10 svn:author V 2 le K 8 svn:date V 27 2004-06-23T22:32:01.000000Z K 7 svn:log V 80 Remove two debugging printfs that are currently rather disturbing than helpful. END K 10 svn:author V 6 markus K 8 svn:date V 27 2004-06-23T23:25:58.000000Z K 7 svn:log V 63 s/udi_peed/udi_speed/ Approved by: brueffer MFC after: 3 days END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-06-23T23:48:09.000000Z K 7 svn:log V 185 Change "struct varent" to use the standard queue(8) macros, instead of using it's own version of the same basic algorithm. Submitted by: part by Cyrille Lefevre, part of it done by me END