{78924 76 130 241 202 640 158 306 145 326 151 159 227 259 198 162 126 363 147 175 179 166 243 115 133 151 213 164 206 241 238 661 123 220 153 286 185 159 277 202 253 236 1474 199 214 130 229 301 127 764 138 128 197 152 151 190 144 219 139 119 153 163 318 179 149 239 180 127 168 643 275 169 229 199 188 188 813 310 K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2001-06-28T09:41:42.000000Z K 7 svn:log V 33 MFC: Fix typos in comment (1.5). END K 10 svn:author V 5 benno K 8 svn:date V 27 2001-06-28T09:56:59.000000Z K 7 svn:log V 146 Put back the two semicolons I accidentally lost while reformatting this to bring it closer to style(9). Spotted by: Mark Peek END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-06-28T12:02:45.000000Z K 7 svn:log V 110 Fix another buffer overflow. PR: 15593 Submitted by: Przemyslaw Frasunek END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-28T12:35:28.000000Z K 7 svn:log V 545 Merge in parts of a larger patchset i received from Bruce. Untested by now (except of a compile test), but i believe this to contain no actual functional changes. . Fix the copyright of the Regents i accidentally broke in rev 1.197 (although only a very small part of the original driver survived at all...). . Bump MAX_CYLINDER since some obscure formats really use more than 80 cylinders. . Correctly handle BIO_FORMAT which used to be a bitmask but is now a BIO command of its own. . Numerous stylistic fixes. Submitted by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-28T17:02:31.000000Z K 7 svn:log V 66 Add acpi_powerres.c to fix the acpi build. Pointy-hat to: msmith END K 10 svn:author V 3 joe K 8 svn:date V 27 2001-06-28T17:02:32.000000Z K 7 svn:log V 213 MFC: Revision 1.28. Use 'LIBS+= ...' instead of 'LIBS= ...' in the generated makefile so that the user can override libraries at build time. This is makes it easier to cross-compile crunch builds. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2001-06-28T17:07:37.000000Z K 7 svn:log V 48 Follow Mike's commit by adding acpi_powerres.c. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-06-28T18:06:15.000000Z K 7 svn:log V 233 - create an entry of IPV6CTL_STATS sysctl. - fix the problem that netstat doesn't show raw6 and icmp6 pcblist. - make netstat use sysctl to retreive stats of ipv6 and icmpv6 instead of kread. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-06-28T19:27:02.000000Z K 7 svn:log V 60 getcwd(3) is defined by POSIX, not ISO C. Approved by: bde END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-06-28T19:32:46.000000Z K 7 svn:log V 63 MFC: 1.24; Avoid confusion over NQNFS, and discourage its use. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-06-28T21:44:27.000000Z K 7 svn:log V 130 MFC: Add the new clnt_control() request `CLSET_CONNECT', which allows a UDP RPC client to specify that connect(2) should be used. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-06-28T21:45:47.000000Z K 7 svn:log V 166 Change default of ipv6_default_interface to NO. This is meaningless in most cases and rather harmful. Reported by: Kevin Oberman MFC after: 1 week END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-06-28T21:50:53.000000Z K 7 svn:log V 106 Fix a one-byte overrun. PR: 28472 Submitted by: David Xu Obtained from: OpenBSD END K 10 svn:author V 5 guido K 8 svn:date V 27 2001-06-28T21:52:49.000000Z K 7 svn:log V 68 Up the average age and hope I can still show my face next saturday. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2001-06-28T22:05:32.000000Z K 7 svn:log V 32 s/Netherlands/the Netherlands/g END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-06-28T22:06:27.000000Z K 7 svn:log V 271 Back out previous commit: it doesn't help anything since write_file(), which is also called from handle_hup(), uses stdio(3). Furthermore, this means that calling exit(3) (via quit()) there is required to flush the buffer write_file() was working on. Submitted by: bde END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-28T22:21:33.000000Z K 7 svn:log V 55 Fix more mntvnode and vnode interlock order reversals. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-28T22:22:20.000000Z K 7 svn:log V 83 Don't check witness assertions if the lock doesn't use witness or witness is dead. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-28T22:23:06.000000Z K 7 svn:log V 87 Forced commit. Previous commit was: Submitted by: Alexander N. Kabaev END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-06-28T22:53:42.000000Z K 7 svn:log V 70 Add error checking for copyin() operations in posix4 scheduling code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2001-06-28T23:02:09.000000Z K 7 svn:log V 146 Remove a fascinating but confusing construct involving chaining conditional clauses in the following way: (0 || a || b); No functional change. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2001-06-29T04:01:38.000000Z K 7 svn:log V 20 Fix up indentation. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-29T04:18:10.000000Z K 7 svn:log V 41 Grab Giant around trap_pfault() for now. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-29T04:18:59.000000Z K 7 svn:log V 59 Grab Giant around fault handling at the top level for now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-06-29T06:00:44.000000Z K 7 svn:log V 120 pccard modem support fixed. Update hints problems. Add copyright and copying notice: Do what you want with this file. END K 10 svn:author V 3 des K 8 svn:date V 27 2001-06-29T06:21:57.000000Z K 7 svn:log V 72 Fix include ordering breakage from rev. 1.23. Please-read-style(9): dd END K 10 svn:author V 6 yokota K 8 svn:date V 27 2001-06-29T06:42:39.000000Z K 7 svn:log V 110 Test "sc->kbd != NULL" rather than "sc != NULL" before accessing the keyboard in scopen(). MFC after: 2 weeks END K 10 svn:author V 6 yokota K 8 svn:date V 27 2001-06-29T07:17:14.000000Z K 7 svn:log V 145 Quit the ioctl MOUSE_GETINFO as soon as we have gathered necessary information. There is no need to stick around any longer. MFC after: 2 weeks END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2001-06-29T07:32:10.000000Z K 7 svn:log V 140 MFC: Typo fix: requires -> reacquires Revision Changes Path 1.12 +2 -2 src/lib/libc_r/man/pthread_cond_timedwait.3 END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-29T07:36:29.000000Z K 7 svn:log V 566 First stab at fixing resource deallocation, and implementing fdc(4) as a KLD. Still doesn't work well except in the PCMCIA case (now if only pccardd(8) could load and unload drivers dynamically...). Mainly, it tries to find fdc0 on the PCI bus for whatever obscure reasons, but i need someone who understands driver(9) to fix this. However, it's at least already better than before, and i'm tired of maintaining too many private changes in my tree, given the large patches bde submitted. :) Idea of a KLD triggered by: Michael Reifenberger END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-06-29T07:49:41.000000Z K 7 svn:log V 28 Upgrade to Binutils 2.11.2. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-29T07:53:45.000000Z K 7 svn:log V 125 This change slipped through hidden in a CVS conflict. Logically belongs to the previous commit (fix resource deallocation). END K 10 svn:author V 6 yokota K 8 svn:date V 27 2001-06-29T08:24:56.000000Z K 7 svn:log V 58 Don't free buffers we didn't allocate. MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-06-29T08:37:12.000000Z K 7 svn:log V 194 Fixed bogon in revision 1.37. Don't bogusly print a radix node's duped key marker (``=>'') for routes with non-positive rmx_expire metric, such as ethernet interface routes. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-06-29T09:08:24.000000Z K 7 svn:log V 94 Make `rttrash' variable (#routes not in table but not freed) visible through ``netstat -rs''. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-06-29T09:47:27.000000Z K 7 svn:log V 68 - Added entry for Daniel C. Sobral. - Fixed entry for Charlie Root. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-29T10:01:24.000000Z K 7 svn:log V 182 Duh-oh! When beautifying a comment right before my last commit, i didn't realize that make considers a comment with just leading white space only an ``unassociated shell command''. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-29T10:44:45.000000Z K 7 svn:log V 109 Enable interrupts again after disabling them in epson_{in,out}sw(). splx() doesn't do the equivalent of sti. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-29T11:10:41.000000Z K 7 svn:log V 160 Add a new MI pointer to the process' trapframe p_frame instead of using various differently named pointers buried under p_md. Reviewed by: jake (in principle) END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-06-29T11:45:14.000000Z K 7 svn:log V 143 Add a note on what happens if the "-p" option is specified and a final directory already exists. Reviewed by: freebsd-audit MFC after: 5 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-06-29T12:07:29.000000Z K 7 svn:log V 1381 Backout CSRG revision 7.22 to this file (if in_losing notices an RTF_DYNAMIC route, it got freed twice). I am not sure what was the actual problem in 1992, but the current behavior is memory leak if PCB holds a reference to a dynamically created/modified routing table entry. (rt_refcnt>0 and we don't call rtfree().) My test bed was: 1. Set net.inet.tcp.msl to a low value (for test purposes), e.g., 5 seconds, to speed up the transition of TCP connection to a "closed" state. 2. Add a network route which causes ICMP redirect from the gateway. 3. ping(8) host H that matches this route; this creates RTF_DYNAMIC RTF_HOST route to H. (I was forced to use ICMP to cause gateway to generate ICMP host redirect, because gateway in question is a 4.2-STABLE system vulnerable to a problem that was fixed later in ip_icmp.c,v 1.39.2.6, and TCP packets with DF bit set were triggering this bug.) 4. telnet(1) to H 5. Block access to H with ipfw(8) 6. Send something in telnet(1) session; this causes EPERM, followed by an in_losing() call in a few seconds. 7. Delete ipfw(8) rule blocking access to H, and wait for TCP connection moving to a CLOSED state; PCB is freed. 8. Delete host route to H. 9. Watch with netstat(1) that `rttrash' increased. 10. Repeat steps 3-9, and watch `rttrash' increases. PR: kern/25421 MFC after: 2 weeks END K 10 svn:author V 3 dcs K 8 svn:date V 27 2001-06-29T12:34:21.000000Z K 7 svn:log V 106 MFC: 1.15: small typo on debug message. PR: 28337 Submitted by: Koga Youichirou END K 10 svn:author V 3 yar K 8 svn:date V 27 2001-06-29T12:59:20.000000Z K 7 svn:log V 121 Clarify the feature that -exec parameters won't get shell-expanded when the specified utility is run. MFC after: 5 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2001-06-29T13:54:56.000000Z K 7 svn:log V 35 Fix editor'o where I lost the `+'. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-29T15:21:28.000000Z K 7 svn:log V 134 Define BIO_CMD{1,2}, available for local hacks, similar to the already existing BIO_FLAG{1,2}. To be used in the fdc(4) driver soon. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-29T15:23:31.000000Z K 7 svn:log V 206 Two more "oops"es here: i didn't mean to turn on fdc debugging by default in the KLD, and to turn off pccard support, so reverse each of the flags. Also, the flags should be overridable by /etc/make.conf. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-06-29T15:29:47.000000Z K 7 svn:log V 32 (MFC 1.3): Fix Assembler buglet END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-06-29T15:30:48.000000Z K 7 svn:log V 669 Use the new-born BIO_CMD1 instead of fudging a bio_flag value for reading the sector ID. Based on numerous comments made by Bruce, rewrite a good part of the old fdformat() function, and merge it with fdreadid() into a single unified fdmisccmd() function. Various style and a couple of more serious bugs fixed there. While i was at it, i also fixed the long-standing "TODO: don't allocate buffer on stack." in fdcioctl(), fixed a number of style bugs there, and finally implemented the FD_DEBUG ioctl command that has been advertised in (formerly ) for almost seven years now. ;-) Submitted by: bde (a lot of fixes for fdformat()) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2001-06-29T15:31:01.000000Z K 7 svn:log V 43 (MFC 1.12): comment out *all* unused code. END K 10 svn:author V 5 greid K 8 svn:date V 27 2001-06-29T15:45:35.000000Z K 7 svn:log V 34 MFC: Use M_ZERO flag to malloc(9) END K 10 svn:author V 7 shafeeq K 8 svn:date V 27 2001-06-29T16:26:22.000000Z K 7 svn:log V 100 add entries for the vop_get/create/destroyvobject calls Submitted by: Greg Troxel END K 10 svn:author V 5 green K 8 svn:date V 27 2001-06-29T16:34:14.000000Z K 7 svn:log V 58 Put in a missing colon in the "Enter passphrase" message. END K 10 svn:author V 5 green K 8 svn:date V 27 2001-06-29T16:43:13.000000Z K 7 svn:log V 57 Also add a colon to "Bad passphrase, please try again ". END K 10 svn:author V 4 roam K 8 svn:date V 27 2001-06-29T16:55:24.000000Z K 7 svn:log V 97 Add kldconfig(8), a utility to modify the kernel module search path. Reviewed by: -arch, -audit END K 10 svn:author V 4 roam K 8 svn:date V 27 2001-06-29T16:58:21.000000Z K 7 svn:log V 51 Connect the new kldconfig(8) utility to the build. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2001-06-29T17:09:07.000000Z K 7 svn:log V 121 Clear the in thread scheduler flag after jumping to the start of a signal handler from the scheduler. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-06-29T18:06:22.000000Z K 7 svn:log V 47 Remove file that hasn't been used since ze/zp. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-06-29T18:13:30.000000Z K 7 svn:log V 27 Remove cruft from old bus. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-06-29T19:46:29.000000Z K 7 svn:log V 62 Silence warnings on the Alpha: don't assume size_t is an int. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-06-29T19:51:37.000000Z K 7 svn:log V 71 Move ast() and userret() to sys/kern/subr_trap.c now that they are MI. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-06-29T20:05:48.000000Z K 7 svn:log V 225 stop sending echo packets whenever the upper limit is specified by the -c option, regardless of the -f option. based on a comment from Tomohide Nagashima . Obtained from: KAME MFC after: 1 week END K 10 svn:author V 5 green K 8 svn:date V 27 2001-06-29T20:06:47.000000Z K 7 svn:log V 85 Use __unused for non-used variables. Submitted by: Mike Barcroft END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:11:04.000000Z K 7 svn:log V 54 Vendor import of the Intel ACPI CA 20010615 snapshot. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:11:04.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r78986, 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 2001-06-29T20:11:05.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20010615'. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:19:59.000000Z K 7 svn:log V 32 Merge FreeBSD-specific changes. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-06-29T20:26:38.000000Z K 7 svn:log V 76 sync usage/description with reality. Obtained from: KAME MFC after: 1 week END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:29:59.000000Z K 7 svn:log V 547 Update to synch with the 20010615 ACPI CA import. Add an ACPI subsystem mutex, and macros for handling it. Because it's not possible to differentiate between ACPI CA acquiring mutexes for internal use and for use by AML, and because AML in the field doesn't handle mutexes correctly, we can't use the ACPI subsystem's internal locking. In addition, we have other private data of our own to lock. Add initial locking to the ACPI driver code and the thermal module. These locks are currently inoperative. Pull some errant style back into line. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:31:37.000000Z K 7 svn:log V 179 Use msleep() when we sleep waiting for a GPE, since we are holding the ACPI mutex. Add some comments to EcWaitEventIntr. Clean up deviant style, add debugging to be consistent. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:32:29.000000Z K 7 svn:log V 74 Update for new debug layer constant names in the ACPI CA 20010615 import. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T20:33:29.000000Z K 7 svn:log V 133 Add ACPI subsystem mutex support, currently disabled. This implements a private mutex we can use to wrap the ACPI subsystem proper. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-06-29T20:51:00.000000Z K 7 svn:log V 106 - fixed typo - a wording improvement in BUGS (ping vs ping6 issue) Obtained from: KAME MFC after: 1 week END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-06-29T21:09:09.000000Z K 7 svn:log V 97 Correct a spelling error. PR: 28527 Submitted by: Giorgos Keramidas END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-06-29T21:14:24.000000Z K 7 svn:log V 96 stf doesn't need any parameter. (NOTES on -CURRENT is OK and -STABLE only) Obtained from: KAME END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-06-29T21:18:06.000000Z K 7 svn:log V 716 This is a backport of many of the changes from revisions 1.41 through 1.44. The resulting code layout that is much closer to that found in -current. The main changes are: - Improved error reporting - Background mounts are less likely to fail due to temporary errors that may occur as the server comes up. - Foreground mounts give up after one failed attempt instead of retrying again and again. - We now never proceed with the mount() syscall unless we have received a reply from the remote nfsd; this can avoid hung mounts. - Using the new CLSET_CONNECT clnt_control request, mount_nfs now ensures that the remote nfsd is replying from the expected source address, fixing another cause of hung mounts. END K 10 svn:author V 6 msmith K 8 svn:date V 27 2001-06-29T21:20:46.000000Z K 7 svn:log V 214 Add ACPI lock support. Pass the softc, not the device_t to the Notify handler. Don't invoke the Interpreter from callout context, as it may sleep. Use AcpiOsQueueForExecution, which is called from taskqueue_swi. END