R83921 79 616 167 184 396 224 260 272 329 165 182 310 535 121 142 240 169 164 239 215 552 713 412 217 206 158 178 138 120 171 136 346 225 235 258 460 284 166 190 664 215 343 101 124 127 234 191 163 237 336 302 266 232 234 269 252 249 261 263 228 311 294 274 264 271 255 234 225 195 218 692 590 650 396 174 179 216 184 123 129 K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-09-25T06:14:07.000000Z K 7 svn:log V 520 Increase UPAGES to 3 for i386. Tests show we have run out of margin and are already overflowing the ptrace area of the struct user, and a number of reports suggest that we are probably also digging into the active part of struct user. My own simple tests, after only 20 minutes of messing around, shows kstack useage less then 190 bytes away from the active portion of struct user. This is already fixed in -current w/ Julian's KSE code, and does not need adjusting on the Alpha due to the Alpha's larger page size. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-09-25T07:09:58.000000Z K 7 svn:log V 72 MFC rev 1.16. Note that the aac driver does not work with 1.x firmware END K 10 svn:author V 4 ache K 8 svn:date V 27 2001-09-25T11:07:26.000000Z K 7 svn:log V 91 1) Back out ~/.login_conf disable 2) Pick only "me" class from ~/.login_conf as documented END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-25T12:02:44.000000Z K 7 svn:log V 299 o Further clarify comment: ad Udo's request, re-insert the 'if' refering to securelevels; also, update the unprivileged process text to better indicate the scope of actions permittable when any system flags are already set (limited). Submitted by: Udo Schweigert END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-25T12:17:52.000000Z K 7 svn:log V 132 Removed touch(1) from the list of installworld tools that was added in previous revision for no apparent reason. Submitted by: bde END K 10 svn:author V 3 des K 8 svn:date V 27 2001-09-25T13:24:24.000000Z K 7 svn:log V 167 Clean up my source tree to avoid getting hit too badly by the next KSE or whatever mega-commit. No real functional changes, just some experiments / work in progress. END K 10 svn:author V 3 des K 8 svn:date V 27 2001-09-25T13:25:30.000000Z K 7 svn:log V 179 Clean up my source tree to avoid getting hit too badly by the next KSE or whatever mega-commit. This goes some way towards adding support for writeable files (needed by procfs). END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-25T13:45:46.000000Z K 7 svn:log V 237 - Only use sig_atomic_t objects in signal handlers. - Use getopt() to parse command line. - Add usage(). - WARNSify. - Convert manpage to mdoc(7). PR: bin/30641 Submitted by: Andrey Simonenko , ru MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-25T13:56:13.000000Z K 7 svn:log V 74 MFC: 1.4: Add ports/french and ports/ukrainian to the list of foreigners. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2001-09-25T16:41:56.000000Z K 7 svn:log V 88 Add some definitions for the DSP programming registers in the BCM5400 and BCM5401 PHYs. END K 10 svn:author V 6 yokota K 8 svn:date V 27 2001-09-25T16:59:28.000000Z K 7 svn:log V 214 Yet another turn of workaround for psm/ACPI/PnP BIOS problems currently experienced in -CURRENT. This should fix the problem that the PS/2 mouse is detected twice if the acpi module is not loaded on some systems. END K 10 svn:author V 3 sos K 8 svn:date V 27 2001-09-25T17:10:39.000000Z K 7 svn:log V 442 Add a fix for the VIA82C686B data corruption bug. This fixed the problem on the 3 platforms I've been able to test on. I'm still of the oppinion that the BIOS should take care of this, however some board makers only apply this when they spot a SBLive! soundcard, but the problem exists even without a SBLive!. This fix should probably go somewhere else, but for now I'll keep it here since we havn't got a central place to put such things. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-25T18:10:18.000000Z K 7 svn:log V 30 mdoc(7) police: fixed markup. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-25T18:40:52.000000Z K 7 svn:log V 47 Make faith loadable, unloadable, and clonable. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-09-25T18:44:31.000000Z K 7 svn:log V 145 Clarify that it is the SRM console that disables onboard USB on DS10. Applies to newer SRM versions only. Verified by checking various SRM revs. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-25T18:56:40.000000Z K 7 svn:log V 74 The faith(4) device is no longer a count device so don't specify a count. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-09-25T19:09:24.000000Z K 7 svn:log V 71 New release notes: aac(4) update, Yahoo! coredump patch, touch(1) -h. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-09-25T19:12:29.000000Z K 7 svn:log V 145 MFC: Yahoo! coredump patch, dgm update from -CURRENT. Non-MFC: Larger per-process kernel stacks. While I'm here, eliminate a stray &merged;. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2001-09-25T19:44:19.000000Z K 7 svn:log V 122 Calculate the valid flag for ITRs and DTRs correctly. Also fix a couple of minor problems and remove some debugging code. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-09-25T20:22:33.000000Z K 7 svn:log V 455 The -A option (beep when packets are dropped) didn't work quite right; after a single packet was dropped it beeped after every transmission. Change its implementation to only output a bell when there is an increase in the maximum value of the number of packets that were sent but not yet received. This has the benefit that even for very long round-trip times, ping -A will do roughly the right thing after a few inital false-positives. Reviewed by: ru END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-09-25T21:02:10.000000Z K 7 svn:log V 616 RFC2132 is not clear about whether the "Maximum DHCP Message Size" refers to the size of the whole ethernet packet, just the DHCP message within the UDP payload, or something else. bootpd interpreted it as a maximum UDP payload size, so it could end up sending fragmented packets to clients (such as some versions of Etherboot) that used different interpretations of the maximum message size. Switch to the most conservative interpretation: ensure that the ethernet packet containing the response is no larger than the specified maximum message size. This matches the behaviour of the ISC dhcpd. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-25T21:08:33.000000Z K 7 svn:log V 315 o So, when
e-mailed me and said that the comment was inverted for securelevel_ge() and securelevel_gt(), I was a little surprised, but fixed it. Turns out that it was the code that was inverted, during a whitespace cleanup in my commit tree. This commit inverts the checks, and restores the comment. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2001-09-25T22:33:53.000000Z K 7 svn:log V 121 Clarify how to determine the firmware version. Submitted by: Anders Andersson MFC after: 3 days END K 10 svn:author V 6 yokota K 8 svn:date V 27 2001-09-25T23:40:30.000000Z K 7 svn:log V 110 MFC from rev 1.13. Fix a comment line which wrongly states this man page is for the `asc' scanner device :-) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-09-25T23:51:54.000000Z K 7 svn:log V 66 Move the definition of LOCK_DEBUG from sys/lock.h to sys/_lock.h. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-09-25T23:52:30.000000Z K 7 svn:log V 86 Include sys/ktr.h before sys/_lock.h to ensure LOCK_DEBUG is set to its proper value. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-09-26T00:05:18.000000Z K 7 svn:log V 46 Remove superflous parens after de-macroizing. END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-09-26T00:13:08.000000Z K 7 svn:log V 26 Make this 'make obj' safe END K 10 svn:author V 6 fenner K 8 svn:date V 27 2001-09-26T00:36:33.000000Z K 7 svn:log V 76 Fix (typo? pasteo?): panic("ffs_mountroot..." -> panic("ntfs_mountroot...") END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T01:02:01.000000Z K 7 svn:log V 41 MFC: monitor mode and style(9) cleanups. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T01:11:33.000000Z K 7 svn:log V 250 Add a standard hack in the spirit of PCI_ENABLE_IO_MODES to allow systems with weird PCI-PCI bridge configurations to work. Defining PCI_ALLOW_UNSUPPORTED_IO_RANGE causes the sanity checks to pass even with out of range values. Reviewed by: msmith END K 10 svn:author V 2 ps K 8 svn:date V 27 2001-09-26T01:24:07.000000Z K 7 svn:log V 133 Lock the vnode while truncating the corefile. This fixes a panic with softupdates dangling deps. Submitted by: peter MFC: ASAP :) END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-09-26T01:48:56.000000Z K 7 svn:log V 140 MFC: fowards compatability hack so that we can update the compat3x libc.so.3.gz.uu file in -current. This is the same as RELENG_4 1.7.2.3. END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-09-26T03:18:57.000000Z K 7 svn:log V 162 MFC fix bug introduced by recent core dump optimization. The vnode must be locked through a VOP_LEASE and VOP_SETATTR call. Submitted by: peter Reviewed by: ps END K 10 svn:author V 6 marcel K 8 svn:date V 27 2001-09-26T05:39:59.000000Z K 7 svn:log V 364 The arg parameter is passed by value in Linux, but not in FreeBSD. We still have to account for a copyin. Make sure the copyin will succeed by passing the FreeBSD syscall a pointer to userspace, albeit one that's automagically mapped into kernel space. Reported by: mr, Mitsuru IWASAKI Tested by: Mitsuru IWASAKI END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-09-26T06:01:40.000000Z K 7 svn:log V 188 Run rc.devfs a little bit earlier. Many people like to use generic devices in rc.syscons, etc.. So rc.devfs needs to run before those rc files. Requested by: Jos Backus END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-09-26T06:17:25.000000Z K 7 svn:log V 74 Give people a chance to do things before fsck is run. MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-26T06:54:26.000000Z K 7 svn:log V 99 MFC: 1.13: Initialize infp at main(). (This unbreaks downgrading from 5.0-CURRENT to 4.4-STABLE.) END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-09-26T06:54:32.000000Z K 7 svn:log V 568 Make uio_yield() a global. Call uio_yield() between chunks in vn_rdwr_inchunks(), allowing other processes to gain an exclusive lock on the vnode. Specifically: directory scanning, to avoid a race to the root directory, and multiple child processes coring simultaniously so they can figure out that some other core'ing child has an exclusive adv lock and just exit instead. This completely fixes performance problems when large programs core. You can have hundreds of copies (forked children) of the same binary core all at once and not notice. MFC after: 3 days END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-09-26T09:31:30.000000Z K 7 svn:log V 120 MFC: Only capitalise the last `t' in ps's first argument when it's actually part of an option argument. PR: 13870 END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-26T11:32:23.000000Z K 7 svn:log V 251 The "cat - -" feature was broken by the last commit. Restore the code that avoided closing and reopening stdin. This is also required by POSIX. As a bonus, enable multiple stdin reads with the -benstv flags, by resetting the EOF condition on stdin. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-26T11:34:14.000000Z K 7 svn:log V 10 WARNSify. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-09-26T11:37:11.000000Z K 7 svn:log V 33 MFC: 1.3: Make this really work. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2001-09-26T16:15:20.000000Z K 7 svn:log V 35 Tidy up and fix a runtime warning. END K 10 svn:author V 5 guido K 8 svn:date V 27 2001-09-26T19:35:03.000000Z K 7 svn:log V 139 Redo patch in 1.22 such that the header printing is reset when the process gets a SIGCONT Reviewed by: kris@freebs.org MFC after: 2 weeks END K 10 svn:author V 6 dillon K 8 svn:date V 27 2001-09-26T19:35:04.000000Z K 7 svn:log V 96 Enable vmiodirenable by default. Remove incorrect comment from sysctl.conf. MFC after: 1 week END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-09-26T19:42:39.000000Z K 7 svn:log V 67 Change standards compliancy order so that C and POSIX are grouped. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T19:51:25.000000Z K 7 svn:log V 140 o Modify sysctl access control check to use securelevel_gt(), and clarify sysctl access control logic. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T19:53:57.000000Z K 7 svn:log V 239 o Modify static settime() to accept the proc * for the process requesting a time change, and callers so that they provide td->td_proc. o Modify settime() to use securevel_gt() for securelevel checking. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T19:58:29.000000Z K 7 svn:log V 205 o Modify IPFW and DUMMYNET administrative setsockopt() calls to use securelevel_gt() to check the securelevel, rather than direct access to the securelevel variable. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:08:02.000000Z K 7 svn:log V 169 o Modify device open access control for /dev/mem and friends to use securelevel_gt() instead of direct securelevel variable checks. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:08:15.000000Z K 7 svn:log V 135 o Modify i386_set_ioperm() to use securelevel_gt() instead of direct securelevel variable checks. Obtained from: TrustedBSD Project END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-09-26T20:10:10.000000Z K 7 svn:log V 137 Be explicit about the POSIX version it conforms to [in this case 1990]. Put the error comment under the more appropriate ERRORS section. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:13:16.000000Z K 7 svn:log V 172 o Modify access control code for the CAM SCSI pass-through device to use securelevel_gt() instead of direct securelevel variable test. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:14:03.000000Z K 7 svn:log V 155 o Modify access control code for /dev/pci device to use securelevel_gt() instead of direct securelevel variable test. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:15:42.000000Z K 7 svn:log V 152 o Modify open() and close() for /dev/random to use securelevel_gt() instead of direct securelevel variable checks. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:17:15.000000Z K 7 svn:log V 164 o Modify syscons ioctl securelevel checks to use securelevel_gt() (oh look, yet another API to do direct hardware I/O access.) Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:18:26.000000Z K 7 svn:log V 166 o Modify generic specfs device open access control checks to use securelevel_ge() instead of direct securelevel variable checks. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:20:05.000000Z K 7 svn:log V 131 o Modify spigot_open() to use securelevel_gt() instead of direct securelevel variable checks. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:21:28.000000Z K 7 svn:log V 214 o Modify pcvt ioctl() security checks to use securelevel_gt() instead of direct securelevel variable checks. (Yet another API to perform direct hardware I/O using KDENABIO.) Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:22:38.000000Z K 7 svn:log V 197 o Modify access control checks in linux_iopl() to use securelevel_gt() rather than direct variable checks. (Yet another API to perform direct hardware I/O.) Obtained from: TrustedBSD Project END K 10 svn:author V 7 asmodai K 8 svn:date V 27 2001-09-26T20:22:44.000000Z K 7 svn:log V 177 Add ERRORS section. Mention thread safety and async-cancel safety status [not]. Add standards compliancy references. Note strtol() is preferred over atoi(). MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:24:23.000000Z K 7 svn:log V 167 o Modify the access control checks for the ia64 /dev/mem (and friends) to use securelevel_gt() instead of direct variable checks. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:26:32.000000Z K 7 svn:log V 174 o Modify pc98 syscons code to use securelevel_gt() instead of direct variable checks. (Yet another API to perform direct hardware I/O). Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:27:23.000000Z K 7 svn:log V 158 o securelevel_gt() patches came from pre-KSE alpha -- this revision fixes the compile and uses td->td_proc instead of p. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:29:39.000000Z K 7 svn:log V 137 o Modify access control checks in mmap() to use securelevel_gt() instead of direct variable access. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:31:37.000000Z K 7 svn:log V 128 o Modify ufs_setattr() so that it uses securelevel_gt() instead of direct variable access. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:36:08.000000Z K 7 svn:log V 99 o Introduce pr_securelevel, which holds a per-jail securelevel. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:37:15.000000Z K 7 svn:log V 121 o Initialize per-jail securelevel from global securelevel as part of jail creation. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:39:48.000000Z K 7 svn:log V 595 o Modify kern.securelevel MIB entry to return a local securelevel, if one is present in the current jail, otherwise, to return the global securelevel. o If the securelevel is being updated, require that it be greater than the maximum of local and global, if a local securelevel exists, otherwise, just maximum of the global. If there is a local securelevel, update the local one instead of the global one. o Note: this does allow local securelevels to lag behind the global one as long as the local one is not updated following a global increase. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:41:48.000000Z K 7 svn:log V 493 o When performing a securelevel check as part of securelevel_ge() or securelevel_gt(), determine first if a local securelevel exists -- if so, perform the check based on imax(local, global). Otherwise, simply use the global value. o Note: even though local securelevels might lag below the global one, if the global value is updated to higher than local values, maximum will still be used, making the global dominant even if there is local lag. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-09-26T20:44:41.000000Z K 7 svn:log V 553 o Re-enable support of system file flags in jail() by adding back the PRISON_ROOT to the suser_xxx() check. Since securelevels may now be raised in specific jails, use of system flags can still be restricted in jail(), but in a more configurable way. o Users of jail() expecting system flags (such as schg) to restrict jail()'s should be sure to set the securelevel appropriately in jail()'s. o This fixes activities involving automated system flag removal in jail(), including installkernel and friends. Obtained from: TrustedBSD Project END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-09-26T20:51:51.000000Z K 7 svn:log V 300 Unconditionally use basename.c source vs. only doing this if the libc we are linking against does not have basename(). There is a buffer overflow bug in lib/libc/gen/basename.c rev 1.1. There is no way for us to test what revision of basename() we have in libc, thus this change. Requested by: ru END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T21:53:20.000000Z K 7 svn:log V 79 Include sys/proc.h for the definition of securelevel_ge(). Submitted by: LINT END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T22:02:01.000000Z K 7 svn:log V 84 Call securelevel_gt with a credential. Also, s/p/td->td_proc/. Submitted by: LINT END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T22:41:02.000000Z K 7 svn:log V 120 The number of ccd(4) devices is no longer set at compile time so stop trying to do it in the examples and config files. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T23:37:15.000000Z K 7 svn:log V 89 Use LIST_ macros instead of TAILQ_ macros to be more like NetBSD. Obtained from: NetBSD END K 10 svn:author V 6 brooks K 8 svn:date V 27 2001-09-26T23:50:17.000000Z K 7 svn:log V 28 /home/brooks/ng_gif.message END K 10 svn:author V 5 peter K 8 svn:date V 27 2001-09-26T23:57:25.000000Z K 7 svn:log V 35 Oops, forgot to rm this last time. END