ƒ²x162589 184 196 147 114 508 214 229 148 140 183 117 1037 467 316 286 294 344 644 171 121 144 295 351 160 246 172 346 297 162 138 159 181 142 1535 241 188 150 120 183 594 292 241 243 327 281 279 173 148 133 240 150 243 181 685 180 535 284 889 140 292 216 372 416 226 208 192 149 207 120 154 121 162 150 309 171 174 167 203 217 259 176 176 204 146 325 336 1637 175 168 185 275 197 185 170 247 183 217 106 489 123 191 199 767 162 571 356 218 195 1126 709 133 176 161 203 178 501 570 196 228 621 338 111 349 500 177 188 177 161 138 172 492 503 215 121 323 296 323 187 208 150 169 139 146 162 132 214 185 290 241 236 1195 710 337 168 293 163 847 544 190 226 214 313 233 144 170 183 154 155 734 348 201 272 552 390 1447 197 303 295 158 545 145 246 249 320 444 K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-23T21:12:23.000000Z K 7 svn:log V 103 Fix our ancient tcpslice for >2GB limits. PR: bin/13691 MFC after: 1 week Submitted by: Bruce A. Mah END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-09-23T22:01:51.000000Z K 7 svn:log V 54 Bump .Dd. Reminded by: ru Approved by: re (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-24T00:26:33.000000Z K 7 svn:log V 22 Cleanup sloppy ifdef. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-24T02:23:29.000000Z K 7 svn:log V 415 add KTRACE hooks into kevent... This will help people debug their kqueue programs to find out exactly which events were registered and which were returned... This should be lower in kern_kevent, but that would require special munging due to locks and the functions used to copyin/copyout kevents... If someone wants to teach ktrace how to output pretty kevents, I have a kevent prety printer that can be used... END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-24T02:29:53.000000Z K 7 svn:log V 121 return EBADF instead of successfully attaching (and then panicing) when an fd is dieing.. Convinced by: jhb PR: 103127 END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-24T04:47:47.000000Z K 7 svn:log V 136 hide kqueue_register from public view, and replace it w/ kqfd_register... this eliminates a possible race in aio registering a kevent.. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-24T09:16:27.000000Z K 7 svn:log V 56 Disconnect tcpslice from build. Reviewed by: sam, bmah END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-24T09:18:36.000000Z K 7 svn:log V 48 De-orbit burn tcpslice. Reviewed by: sam, bmah END K 10 svn:author V 3 hrs K 8 svn:date V 27 2006-09-24T09:39:17.000000Z K 7 svn:log V 91 Disable an overly-verbose warning message by default. Suggested by: njl MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-09-24T10:57:34.000000Z K 7 svn:log V 23 Remove tcpslice files. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-24T13:35:58.000000Z K 7 svn:log V 940 Rework the way errors are handled with respect to how audit records are written to the audit trail file: - audit_record_write() now returns void, and all file system specific error handling occurs inside this function. This pushes error handling complexity out of the record demux routine that hands off to both the trail and audit pipes, and makes trail behavior more consistent with pipes as a record destination. - Rate limit kernel printfs associated with running low on space. Rate limit audit triggers for low space. Rate limit printfs for fail stop events. Rate limit audit worker write error printfs. - Document in detail the types of limits and space checks we perform, and combine common cases. This improves the audit subsystems tolerance to low space conditions by avoiding toasting the console with printfs are waking up the audit daemon continuously. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2006-09-24T13:39:04.000000Z K 7 svn:log V 370 MFC 1.42, 1.43: Let the EHCI hardware track the toggle state for bulk and interrupt transfers. This fixes some cases where the software toggle tracking was not doing the right thing. For example, a short transfer that transferred 0 bytes of the requested qTD transfer size does cause a toggle change, but the existing code was assuming it didn't. Approved by: re (mux) END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-09-24T13:58:44.000000Z K 7 svn:log V 220 - move steps describing how to gain ipdivert support to SYNOPSIS and follow the style of other section 4 manual pages - add ipfw(4) to SEE ALSO section Reviewed by: ru Approved by: trhodes (mentor), keramida (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-24T14:35:26.000000Z K 7 svn:log V 189 MFC 1.152: When the volume is being downgraded from a read-write mode, mark it as clean. PR: kern/85366 Submitted by: Dan Lukes Approved by: re (hrs) END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2006-09-24T14:55:48.000000Z K 7 svn:log V 197 MFC 1.106: Fix a number of cases where ugen would panic, especially when the device went away while open or if you tried to change the config number while devices were open. Approved by: re (hrs) END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-09-24T16:02:32.000000Z K 7 svn:log V 250 MFC: Make op parameter to mux_keyboard() u_int instead of int. This should fix sparc64 messages like Sep 15 11:17:39 peahi kernel: WARNING pid 5477 (kbdcontrol): ioctl sign-extension ioctl ffffffff80244b45 PR: sparc64/96798 Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-24T17:31:04.000000Z K 7 svn:log V 547 Sleep for one second after calling audit -t to give the audit daemon a chance to actually terminate the audit service and exit. Otherwise, on an rc.d/auditd restart, the new audit daemon instance may try to start auditing while the previous session is still running. Likewise, this ensures a chance for auditd to terminate the audit trail at system shutdown. Perhaps more ideally, the script would wait synchronously for auditd to exit rather than for an arbitrary but short period of time. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-09-24T17:37:03.000000Z K 7 svn:log V 74 Fix uninitialized variable warning. Submitted by: dhw Reviewed by: ryanb END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-24T19:24:26.000000Z K 7 svn:log V 29 Add a newline to the printf. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-25T01:29:48.000000Z K 7 svn:log V 52 remove unnecessary NULL check... Coverity ID: 1545 END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-09-25T02:53:32.000000Z K 7 svn:log V 201 MFC: Do not try to call keyboard callback unless keyboard is active and busy. This should fix 'kbdcontrol -K < /dev/console' panic on sparc64 with sunkbd(4). PR: sparc64/96798 Approved by: re (hrs) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-09-25T04:01:20.000000Z K 7 svn:log V 254 MFC r1.81 Revert r1.11.2.38 as the ethernet header was inadvertently stripped from ARP packets. Reimplement this correctly and use a sysctl that defaults to off so the user doesnt get any suprises if ipfw blocks the ARP packet. Approved by: re (hrs) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-25T06:19:41.000000Z K 7 svn:log V 69 MFC: Bring GCC manpages back to reality. Approved by: re (kensmith) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-25T07:22:39.000000Z K 7 svn:log V 153 if min is greater than max, prefer max over min... I managed to get a retransmit timer that was going to take 19 days to trigger... Reviewed by: silby END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-25T09:37:35.000000Z K 7 svn:log V 80 MFC: vendor patch for BSM problem in protocol version 1. Approved by: re (mux) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2006-09-25T10:05:37.000000Z K 7 svn:log V 250 MFC rev 1.36 to RELENG_6: (pw_copy): Handle the case of a malformed line in master.passwd (copy it silently, do not dereference NULL pointer). MFC rev. 1.37 to RELENG_6: Minor comment fix to the change above. PR: bin/102848 Approved by: re (hrs) END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T10:11:16.000000Z K 7 svn:log V 204 Account for output IP datagrams on the ifaddr where they originated from, *not* the first ifaddr on the ifp. This is similar to what NetBSD does. PR: kern/72936 Submitted by: alfred Reviewed by: andre END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T10:12:07.000000Z K 7 svn:log V 70 Forced commit to note this change should be MFCed. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-25T11:16:58.000000Z K 7 svn:log V 46 MFC: upgrade to 1.2.3. Approved by: re (hrs) END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-25T11:26:29.000000Z K 7 svn:log V 67 add support for the ALI/ULI M5288 AHCI part. patch by: Sven Petai END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-25T11:35:34.000000Z K 7 svn:log V 86 Add a command debugging module and a periodic watchdog timer. Sponsored by: IronPort END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-25T11:40:14.000000Z K 7 svn:log V 47 Add the mfi_debug.c file and MFI_DEBUG option. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T11:40:29.000000Z K 7 svn:log V 1437 Vendor import TrustedBSD OpenBSM 1.0 alpha 12, with the following change history notes since the last import: OpenBSM 1.0 alpha 12 - Correct bug in auditreduce which prevented the -c option from working correctly when the user specifies to process successful or failed events. The problem stemmed from not having access to the return token at the time the initial preselection occurred, but now a second preselection process occurs while processing the return token. - getacfilesz(3) API added to read new audit_control(5) filesz setting, which auditd(8) now sets the kernel audit trail rotation size to. - auditreduce(1) now uses stdin if no file names are specified on the command line; this was the documented behavior previously, but it was not implemented. Be more specific in auditreduce(1)'s examples section about what might be done with the output of auditreduce. - Add audit_warn(5) closefile event so that administrators can hook termination of an audit trail file. For example, this might be used to compress the trail file after it is closed. - auditreduce(1) now uses regular expressions for pathname matching. Users can now supply one or more (comma delimited) regular expressions for searching the pathnames. If one of the regular expressions is prefixed with a tilde (~), and a path matches, it will be excluded from the search results. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T11:40:29.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r162621, 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 2006-09-25T11:40:30.000000Z K 7 svn:log V 92 This commit was manufactured by cvs2svn to create tag 'openbsm-vendor-OPENBSM_1_0_ALPHA_12'. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-25T11:42:12.000000Z K 7 svn:log V 55 Update the mfi module build with the mfi_debug.c file. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T11:48:07.000000Z K 7 svn:log V 28 Spleling Submitted by: pjd END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T11:53:06.000000Z K 7 svn:log V 87 Resolve conflicts from OpenBSM 1.0 alpha 12 import. Obtained from: TrustedBSD Project END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T11:53:54.000000Z K 7 svn:log V 501 Fix an incompatibility between CARP and IPv4 multicast routing, whereby the VRRPv2 advertisements will originate from the wrong source address. This only affects kernels compiled with MROUTING and after the MRT_INIT ioctl() has been issued. Set imo_multicast_vif in carp's softc to the invalid value -1 after it is zeroed by softc allocation, to stop the ip_output() path looking up the incorrect source address thinking a vif is set. PR: kern/100532 Submitted by: Bohus Plucinsky MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T11:53:58.000000Z K 7 svn:log V 195 Hook up additional OpenBSM man page aliases following OpenBSM 1.0 alpha 12 import. Most of these should have existed previously, but didn't. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T11:56:20.000000Z K 7 svn:log V 144 auditreduce now requires OpenBSM's config/config.h, so add that to the build include path. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T12:22:07.000000Z K 7 svn:log V 146 Merge OpenBSM 1.0 alpha 12 import changes into src/sys/bsm. New events for the Linuxulator. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T13:01:59.000000Z K 7 svn:log V 234 MFC: Fix an incompatibility between CARP and IPv4 multicast routing, whereby advertisements originate from the wrong source address. This only affects MROUTING kernels. PR: kern/100532 Submitted by: Bohus Plucinsky Approved by: re@ END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T13:02:58.000000Z K 7 svn:log V 188 MFC: Account for output IP datagrams on the ifaddr where they will be sent from, not the first ifaddr on the ifp. PR: kern/72936 Submitted by: alfred Reviewed by: andre Approved by: re@ END K 10 svn:author V 5 marck K 8 svn:date V 27 2006-09-25T15:06:24.000000Z K 7 svn:log V 184 Fix bug introduced in rev 1.23: pw_equal does not check crypted password field, so one cannot change crypted password keeping other fields intact. Approved by: des MCF after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-09-25T15:49:51.000000Z K 7 svn:log V 78 MFC rev 1.311: Allow 16 byte memory mapped I/O ranges. Approved by: re (hrs) END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-09-25T17:12:20.000000Z K 7 svn:log V 55 MFC v1.2 PR: 88222 Approved by: re (bmah) END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-09-25T17:19:28.000000Z K 7 svn:log V 40 MFC 1.13-1.15 Approved by: re (hrs) END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-25T18:20:56.000000Z K 7 svn:log V 147 Fix a typo in af_inet6.c such that IPv6 addresses may be deleted from interfaces. PR: bin/102701 Submitted by: George Mitchell MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-25T20:12:13.000000Z K 7 svn:log V 58 Document config_intrhook. MFC After: 250 millifortnights END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-25T23:19:01.000000Z K 7 svn:log V 146 Add "FreeBSD" trademark statement to copyright section of boot messages. MFC after: 3 days Approved by: core, board at FreeBSDFoundation dot org END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-26T00:15:56.000000Z K 7 svn:log V 85 SI_ORDER_THIRD + 2, not SI_ORDER_FOURTH + 2. MFC after: 3 days Submitted by: mlaier END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-09-26T01:02:02.000000Z K 7 svn:log V 589 It is possible for bpf to return a length such that: length != BPF_WORDALIGN(length) This meeans that it is possible for this to be true: interface->rbuf_offset > interface->rbuf_len Handle this case in the test for running out of packets. While OpenBSD's solution of setting interface->rbuf_len to BPF_WORDALIGN(length) is safe due to the size of the buffer, I think this solution results in less hidden assumptions. This should fix the problem of dhclient running away and consuming 100% CPU. PR: bin/102226 Submitted by: Joost Bekkers MFC after: 3 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-26T01:21:46.000000Z K 7 svn:log V 88 fix calculating to_tsecr... This prevents the rtt calculations from going all wonky... END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-26T02:12:05.000000Z K 7 svn:log V 438 Merge Makefile:1.12, id.1:1.16,1.17, id.c:1.28,1.29 from HEAD to RELENG_6: Add a -a argument to id(1), which causes id(1) to print out process audit properties, including the audit user id. This can be quite helpful in debugging audit problems. Obtained from: TrustedBSD Project Rename "-a" flag to "-A" in order to avoid conflicting with the "-a" flag as found on Solaris. Requested by: ceri Approved by: re (hrs) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-09-26T02:15:15.000000Z K 7 svn:log V 188 MFC rev 1.10 network_ipv6 also does some interface configuration so require it to run before starting devd so they don't trip over each other. PR: conf/103428 Approved by: re (hrs) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-09-26T02:17:43.000000Z K 7 svn:log V 793 MFC pccard_ether rev 1.51: Search the list of up interfaces provided by "ifconfig -ul" instead of greping for UP in "ifconfig $ifn". This eliminates a dependancy on /usr. pccard_ether rev 1.53 and network.subr rev 1.173: Introduce a new method ipv6if which attemptes to figure out if an interface is an IPv6 interface. Use this method to decide if we should attempt to configure an interface with an IPv6 address in pccard_ether. The mechanism pccard_ether uses to do this is unsuited to the task because it assumes the list of interfaces it is passed is the full list of IPv6 interfaces and makes decissions based on that. This is at least a step in the right direction and is probably about as much as we can MFC safely. PR: conf/103428 Approved by: re (hrs) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-26T02:18:35.000000Z K 7 svn:log V 45 Catch up with share/mk/bsd.sys.mk rev. 1.38. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:12:49.000000Z K 7 svn:log V 197 Use mount interlock to protect all changes to mnt_flag and mnt_kern_flag. This eliminates a race where MNT_UPDATE flag could be lost when nmount() raced against sync(), sync_fsync() or quotactl(). END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:15:04.000000Z K 7 svn:log V 121 Don't restore mnt_kern_flag on failed MNT_UPDATE mount, it can race with dounmount(), causing loss of MNTK_UNMOUNT flag. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:15:59.000000Z K 7 svn:log V 277 Add mnt_noasync counter to better handle interleaved calls to nmount(), sync() and sync_fsync() without losing MNT_ASYNC. Add MNTK_ASYNC flag which is set only when MNT_ASYNC is set and mnt_noasync is zero, and check that flag instead of MNT_ASYNC before initiating async io. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:17:17.000000Z K 7 svn:log V 321 Increase mnt_noasync once in softdep_mount() to disallow async io, closing a window where a file system using softupdates could be async for a short while if both MNT_UPDATE and MNT_ASYNC were passed as flags to nmount(). Add MNTK_SOFTDEP flag to ensure that softdep_mount() doesn't increase mnt_noasync multiple times. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:18:36.000000Z K 7 svn:log V 131 Don't restore MNT_QUOTA bit in mnt_flag after a failed mount with MNT_UPDATE flag, closing a race between nmount() and quotactl(). END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:19:11.000000Z K 7 svn:log V 113 Don't restore MNT_QUOTA bit in mnt_flag after snapshot creation, closing a race between nmount() and quotactl(). END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:20:09.000000Z K 7 svn:log V 98 Reduce fluctuations of mnt_flag to allow unlocked readers to get a slightly more consistent view. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-26T04:21:20.000000Z K 7 svn:log V 55 Protect change to bo_flag by holding the bufobj mutex. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-26T04:59:52.000000Z K 7 svn:log V 111 Begin the process of moving info to sysctl stuff for FreeBSD by providing OIDs for WWNN/WWPN and Initiator ID. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-26T05:46:55.000000Z K 7 svn:log V 29 Fix both arguments to err(). END K 10 svn:author V 2 vd K 8 svn:date V 27 2006-09-26T09:47:46.000000Z K 7 svn:log V 63 Fix typo PR: docs/103666 Submitted by: vd Approved by: maxim END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-26T12:36:34.000000Z K 7 svn:log V 30 Added COMPAT_FREEBSD6 option. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-26T12:41:13.000000Z K 7 svn:log V 71 Now that we have COMPAT_FREEBSD6 officially, use it from opt_compat.h. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-26T12:44:20.000000Z K 7 svn:log V 59 Add a value to the define I forgot, for the purity's sake. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-26T12:45:47.000000Z K 7 svn:log V 212 PC98 would also like a trademark. Who would have thought that getting a kernel printf right would be so tricky? MFC after: 3 days Submitted by: Gavin Atkinson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-26T14:38:56.000000Z K 7 svn:log V 79 Only support the SMB_OLD_BREAD ioctl if one of COMPAT_FREEBSD[456] is defined. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-09-26T14:51:33.000000Z K 7 svn:log V 77 Oops. Catch up on the last couple of releases and prepare for the next one. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-26T15:48:13.000000Z K 7 svn:log V 75 Fix a memory leak in ipmi_unload(). CID: 1542 Found by: Coverity Prevent END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-09-26T16:08:29.000000Z K 7 svn:log V 106 Revert 1.17.2.8, which reportedly causes problems on some hardware. Approved by: re Reported by: glebius END K 10 svn:author V 5 brian K 8 svn:date V 27 2006-09-26T18:06:09.000000Z K 7 svn:log V 122 Behave as documented when reading fields saying "X/Y" where X != * rather than mis-parsing them as "X". MFC after: 1 day END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-26T18:28:38.000000Z K 7 svn:log V 166 Back out rev 1.242.2.13 as it introduces a potentially expensive hash lookup to the ip output path. A better way needs to be found to resolve this. Approved by: re@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-26T18:44:56.000000Z K 7 svn:log V 84 MFC: Add an explicit bus_add_child method for smbus(4). Approved by: re (kensmith) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-09-26T19:12:11.000000Z K 7 svn:log V 80 Revert 1.17.2.8, it causes some problems. Approved by: re Reported by: glebius END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-09-26T19:59:52.000000Z K 7 svn:log V 108 Remove second person from the sentece and rephrase a bit. Approved by: trhodes (mentor), keramida (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-26T21:46:12.000000Z K 7 svn:log V 55 Remove bogus casts of valid integer ioctl() arguments. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-09-26T22:28:12.000000Z K 7 svn:log V 231 Add a -a option as a no-op for Solaris compatibility, as briefly discussed on src-committers. This is intentionally not included in the usage() function as it would confuse the output too much. Approved by: jhb MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-26T23:14:42.000000Z K 7 svn:log V 240 The need to run a filter also implies that bouncing could be possible, so just use the COULD_BOUNCE flag for both and retire the USE_FILTER flag. This fixes the problem that rev 1.81 introduced with the if_bfe driver (and possibly others). END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-09-26T23:26:53.000000Z K 7 svn:log V 1542 Summer of Code 2005: improve libalias - part 1 of 2 With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:32:36.000000Z K 7 svn:log V 81 MFC rev 1.209: Prepare for type stable struct mount. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:33:31.000000Z K 7 svn:log V 74 MFC rev 1.220: Make struct mount type stable. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:34:51.000000Z K 7 svn:log V 91 MFC rev 1.133: VOP_GETWRITEMOUNT() returns a referenced mount. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:36:10.000000Z K 7 svn:log V 180 MFC rev 1.667: vfs_busy() holds reference on mount until vfs_unbusy() is called. vfs_getvfs() returns a referenced mount. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:37:46.000000Z K 7 svn:log V 102 MFC: Release references acquired by VOP_GETWRITEMOUNT() and vfs_getvfs(). Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:39:19.000000Z K 7 svn:log V 91 MFC rev 1.221 : Print dangling vnodes before panic at unmount. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:40:11.000000Z K 7 svn:log V 76 MFC rev 1.226: Unbusy mount before destruction. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:40:59.000000Z K 7 svn:log V 152 MFC rev 1.419 and 1.420: Hold reference on mountpoint slightly longer in kern_statfs() and kern_fstatfs() Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:41:50.000000Z K 7 svn:log V 89 MFC rev 1.134: Handle reclaimed vnode in VOP_GETWRITEMOUNT() Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-09-27T00:42:42.000000Z K 7 svn:log V 122 MFC rev 1.422: Hold reference on mountpoint slightly longer in kern_fhstatfs() Approved by: re (kensmith) END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-09-27T02:08:44.000000Z K 7 svn:log V 13 Compilation. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-09-27T04:53:40.000000Z K 7 svn:log V 396 MFC revision 1.38 The sparc64/sparc64/pmap.c implementations of pmap_remove(), pmap_protect(), and pmap_copy() have optimizations for regions larger than PMAP_TSB_THRESH (which works out to 16MB). This caused a panic in tsb_foreach for kernel mappings, since pm->pm_tsb is NULL in that case. This fix teaches tsb_foreach to use the kernel's tsb in that case. Approved by: re (mux) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-27T04:54:23.000000Z K 7 svn:log V 28 Fix a bad #include statment END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-27T05:00:10.000000Z K 7 svn:log V 96 Skip the AEN event command that is always hanging out on the card. Submitted by: Doug Ambrisko END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-27T05:49:21.000000Z K 7 svn:log V 102 Explicitly say which gid do we use as a fallback, when operator is not found. Suggested by: kensmith END K 10 svn:author V 6 anholt K 8 svn:date V 27 2006-09-27T06:38:54.000000Z K 7 svn:log V 671 Add support for 945G/GM AGP chipsets. The key problem was that the aperture size detection using the MSAC bit doesn't work -- the bit appears to be set even when it shouldn't be. Linux takes a different approach, testing for a bit of the GMADR (PCIR_BAR(2)) being set. However, as I don't think that's a safe way to test aperture size, we just allocate the resource and check its size. This also pointed out that agp_generic_attach hadn't been allocating our aperture resource, which may have caused problems in some cases. Also corrected is a minor copy-and-pasteo in an error case. PR: kern/103079 Submitted by: mnag Tested on: i945GM, i915GM MFC after: 2 weeks END K 10 svn:author V 4 stas K 8 svn:date V 27 2006-09-27T08:25:53.000000Z K 7 svn:log V 69 - Add my birthday entry to the chronicle. Approved by: sem (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-27T08:39:00.000000Z K 7 svn:log V 478 - Use existing functions mtx_lock() and mtx_unlock(). - Change variable name to 'error', as this is what is mostly used for functions that return an error. - Add mutex(9) to the SEE ALSO section. - Bump the date. I don't really like the example code. I'd prefer symmetry where possible, eg. mtx_lock(&example_lock); error = example(NULL, EXAMPLE_ONE); mtx_unlock(&example_lock); if (error != 0) return (error); But I'll leave it as it is for now. Reviewed by: simon END K 10 svn:author V 3 mux K 8 svn:date V 27 2006-09-27T09:24:44.000000Z K 7 svn:log V 263 MFC udp_usrreq.c:1.180 and tcp_usrreq.c:1.128 : Fix a bunch of SYSCTL_INT() that should have been SYSCTL_ULONG() to match the type of the variable they are exporting. Spotted by: Thomas Hurst Approved by: re@ (rwatson) Forgotten by: mux END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-27T09:28:54.000000Z K 7 svn:log V 121 s/predefine/predefined/ PR: gnu/86627 Submitted by: Arne Woerner Approved by: re (mux) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-27T09:29:29.000000Z K 7 svn:log V 99 s/predefine/predefined/ PR: gnu/86627 Submitted by: Arne Woerner END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-27T10:08:03.000000Z K 7 svn:log V 1028 Merge audit_worker.c:1.12 from HEAD to RELENG_6: Rework the way errors are handled with respect to how audit records are written to the audit trail file: - audit_record_write() now returns void, and all file system specific error handling occurs inside this function. This pushes error handling complexity out of the record demux routine that hands off to both the trail and audit pipes, and makes trail behavior more consistent with pipes as a record destination. - Rate limit kernel printfs associated with running low on space. Rate limit audit triggers for low space. Rate limit printfs for fail stop events. Rate limit audit worker write error printfs. - Document in detail the types of limits and space checks we perform, and combine common cases. This improves the audit subsystems tolerance to low space conditions by avoiding toasting the console with printfs are waking up the audit daemon continuously. Obtained from: TrustedBSD Project Approved by: re (mux) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-27T10:08:47.000000Z K 7 svn:log V 612 Merge auditd:1.3 from HEAD to RELENG_6: Sleep for one second after calling audit -t to give the audit daemon a chance to actually terminate the audit service and exit. Otherwise, on an rc.d/auditd restart, the new audit daemon instance may try to start auditing while the previous session is still running. Likewise, this ensures a chance for auditd to terminate the audit trail at system shutdown. Perhaps more ideally, the script would wait synchronously for auditd to exit rather than for an arbitrary but short period of time. Obtained from: TrustedBSD Project Approved by: re (mux) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-27T10:30:17.000000Z K 7 svn:log V 42 Put back NO_WERROR= to fix sparc64 build. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-27T10:46:41.000000Z K 7 svn:log V 82 MFC rev. 1.456: s/IP_FIREWALL_FORWARD/IPFIREWALL_FORWARD/. Approved by: re (mux) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-27T10:48:35.000000Z K 7 svn:log V 67 MFC rev. 1.55: document 'make quicksearch'. Approved by: re (mux) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-27T12:30:27.000000Z K 7 svn:log V 111 - Removed a copyright from makefile. - Added ${.CURDIR} to .include "...". - Whitespace fixes. OK'ed by: piso END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-27T15:30:46.000000Z K 7 svn:log V 83 MFC 1.34: Connect QFULL events up with decreasing openings. Approved by: re (mux) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-27T15:32:04.000000Z K 7 svn:log V 409 MFC: Revert back to using *(int *)arg when accessing integer ioctl arguments. For now, this is a work-around only, as sparc64 remains broken for these ioctls, but it makes keyboard ioctls for little endian LP64 platforms such as amd64 work again when using kbdmux (it is used in the GENERIC kernel). A one true fix for all is in works, and will be committed to -CURRENT shortly. Approved by: re (kensmith) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-27T15:38:13.000000Z K 7 svn:log V 474 Bump MAX_INITIATORS to 1024- the LSI-Logic can go even higher than this for 'initiator id'- this is a stopgap until a sparse map is added. Make compat defines for offset format (FreeBSD 5 or less). Add no-asyncio flag. There's some breakage with ASYNC I/O that every now and then drops us into an infinite loop. This also then does a fallback to no-asyncio if the AIO option isn't loaded/compiled into the kernel. A number of other chanes to try and track some breakage. END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-09-27T16:41:15.000000Z K 7 svn:log V 103 Use ctty instead of just returning. ctty just has a simple open that returns ENXIO. Submitted by: jhb END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-09-27T16:42:10.000000Z K 7 svn:log V 135 Move Giant up even further since P_CONTROLT isn't really fully locked yet (p_flag is, but P_CONTROLT isn't really). Submitted by: jhb END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-09-27T18:10:16.000000Z K 7 svn:log V 528 MFC Correct a very old and very obscure bug: vmspace_fork() calls pmap_copy() if the mapping is VM_INHERIT_SHARE. Suppose the mapping is also wired. vmspace_fork() clears the wiring attributes in the vm map entry but pmap_copy() copies the PG_W attribute in the PTE. I don't think this is catastrophic. It blocks pmap_remove_pages() from destroying the mapping and corrupts the pmap's wiring count. This revision fixes the problem by changing pmap_copy() to clear the PG_W attribute. Approved by: re (mux) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-09-27T18:51:19.000000Z K 7 svn:log V 241 Since ULE doesn't honor hlt_cpus_mask don't compile code that prevents timer interrupt servicing for disabled HTT cores in ULE case. Should be probably fixed in ULE code instead, but we have no real maintainer for ULE to do it. PR: 103697 END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2006-09-27T19:20:43.000000Z K 7 svn:log V 14 Correct typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-27T19:32:26.000000Z K 7 svn:log V 256 Emulate moving cr0, cr2, cr3, or cr4 into any i386 general register rather than just emulating mov cr0, eax. This fixes some Compaq/HP BIOS with DMA (as the BIOS tried to read cr3 so it could translate addresses if paging was enabled). MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-27T19:57:02.000000Z K 7 svn:log V 408 Fix our ioctl(2) implementation when the argument is "int". New ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-09-27T21:28:44.000000Z K 7 svn:log V 82 Revert my previous change as it does not seem to be entirely correct and popular. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-09-27T22:09:35.000000Z K 7 svn:log V 92 Extend comment explaining why code is conditional at !defined(SCHED_ULE). Suggested by: ru END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-28T01:59:30.000000Z K 7 svn:log V 81 MFC: The kvm_mkdb(8) is long dead. Approved by: re (kensmith) Originally by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-28T08:36:08.000000Z K 7 svn:log V 70 Retire macros for the old kernel memory allocator. Submitted by: bde END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-28T09:32:22.000000Z K 7 svn:log V 42 Remove 120.clean-kvmdb. MFC After: 1 day END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-28T10:02:04.000000Z K 7 svn:log V 81 Add -march=i386 to fix amd64 build by generating the same code as i386 would do. END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-28T10:04:07.000000Z K 7 svn:log V 399 The IPv4 code should clean up multicast group state when an interface goes away. Without this change, it leaks in_multi (and often ether_multi state) if many clonable interfaces are created and destroyed in quick succession. The concept of this fix is borrowed from KAME. Detailed information about this behaviour, as well as test cases, are available in the PR. PR: kern/78227 MFC after: 1 week END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-28T12:21:08.000000Z K 7 svn:log V 410 Fix the IPv4 multicast routing detach path. On interface detach whilst the MROUTER is running, the system would panic as described in the PR. The fix in the PR is a good start, however, the other state associated with the multicast forwarding cache has to be freed in order to avoid leaking memory and other possible panics. More care and attention is needed in this area. PR: kern/82882 MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-28T12:33:36.000000Z K 7 svn:log V 123 Initializate "offset" variable to zero; otherwise, if not using the -o option, it might contain garbage. MFC after: 1 day END K 10 svn:author V 3 bms K 8 svn:date V 27 2006-09-28T13:00:50.000000Z K 7 svn:log V 29 Note the removal of tcpslice END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-09-28T13:02:36.000000Z K 7 svn:log V 225 Correct multiple vulnerabilities in crypto(3). Limit the size of public keys used in order to protect applications from a denial of service via insane key sizes. Security: FreeBSD-SA-06:23.openssl Approved by: re (htimsnek) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-09-28T13:05:59.000000Z K 7 svn:log V 198 Correct multiple vulnerabilities in crypto(3). Limit the size of public keys used in order to protect applications from a denial of service via insane key sizes. Security: FreeBSD-SA-06:23.openssl END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-09-28T13:06:23.000000Z K 7 svn:log V 225 Correct multiple vulnerabilities in crypto(3). Limit the size of public keys used in order to protect applications from a denial of service via insane key sizes. Security: FreeBSD-SA-06:23.openssl Approved by: so (cperciva) END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-28T13:59:26.000000Z K 7 svn:log V 93 When doing TSO correctly do the check to prevent a maximum sized IP packet from overflowing. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T14:44:16.000000Z K 7 svn:log V 114 New release notes: id(1) -a (+MFC), tcpslice removed, ARM binary generation. Updated release notes: KDE 3.5.4. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T14:51:42.000000Z K 7 svn:log V 57 MFC: id(1) -A, KDE 3.5.4. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T15:10:33.000000Z K 7 svn:log V 76 New errata: SA-06:21.gzip, SA-06:23.openssl. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T15:17:08.000000Z K 7 svn:log V 46 New errata: SA-06:21.gzip, SA-06:23.openssl. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T15:36:59.000000Z K 7 svn:log V 53 New release notes: SA-06:21.gzip, SA-06:23.openssl. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T15:42:02.000000Z K 7 svn:log V 69 MFC: SA-06:21.gzip, SA-06:23.openssl. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-28T15:49:13.000000Z K 7 svn:log V 39 MFC: SA-06:21.gzip, SA-06:23.openssl. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-09-28T15:57:10.000000Z K 7 svn:log V 121 MFC 1.44: Listen to a control socket on an IPv4 as well through an IPv4-mapped IPv6 address. Approved by: re (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-09-28T16:01:53.000000Z K 7 svn:log V 93 MFC 1.44: Listen to a control socket on an IPv4 as well through an IPv4-mapped IPv6 address. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2006-09-28T16:02:34.000000Z K 7 svn:log V 193 Fix compilation with gcc 4.1. This is imported on the vendor branch as it was applied in the mainstream source and a later complete import of 4.2.2p3 will complete the fix. Submitted by: kan END K 10 svn:author V 7 roberto K 8 svn:date V 27 2006-09-28T16:02:34.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r162735, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-28T16:30:36.000000Z K 7 svn:log V 143 A couple of simple tweaks that trim BTX by 6 bytes. Since BTX is 16-byte aligned within boot2 however, this actually trims boot2 by 16 bytes. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-09-28T17:29:00.000000Z K 7 svn:log V 1099 Various fixups, especially for the upcomming High Definition Audio commit. 1) sys/dev/sound/pcm/sound.h sys/dev/sound/pcm/channel.c * Be more specific: SD_F_SOFTVOL -> SD_F_SOFTPCMVOL 2) sys/dev/sound/pcm/mixer.[ch] * Implement mix_setparentchild() mix_setrealdev() mix_getparent() mix_getchild() The purpose of these functions is implement relative volume adjustment, such as to tie two or more mixer device into a single logical device. Usefull for the upcoming HDA driver and few AC97 codec (such as AD1981B) where the master volume "vol" need to be implemented using this logical manner. 3) sys/dev/sound/pcm/ac97_patch.[ch] * Patch for AD1981B codec to enable (automuting) headphone jack sense. 4) sys/dev/sound/pcm/ac97.c * Implement proper logical master volume for AD9181B codec through various mix_set{parentchild,realdev}(). Tie both "ogain" (headphone volume) and "phone" (speaker/lineout) to a logical "vol". 5) sys/dev/sound/pcm/usb/uaudio_pcm.c * ditto, for "vol" -> { "pcm" }. MFC after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-28T18:02:46.000000Z K 7 svn:log V 615 When tcp_output() receives an error upon sending a packet it reverts parts of its internal state to ignore the failed send and try again a bit later. If the error is EPERM the packet got blocked by the local firewall and the revert may cause the session to get stuck and retry indefinitely. This way we treat it like a packet loss and let the retransmit timer and timeouts do their work over time. The correct behavior is to drop a connection that gets an EPERM error. However this _may_ introduce some POLA problems and a two commit approach was chosen. Discussed with: glebius PR: kern/25986 PR: kern/102653 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-28T18:27:01.000000Z K 7 svn:log V 240 Merge init_main.c:1.266, 1.267, copyright.h:1.22, 1.23 from HEAD to RELENG_6: Add "FreeBSD" trademark statement to copyright section of boot messages. Approved by: core, board at FreeBSDFoundation dot org Approved by: re (bmah) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-09-28T18:35:26.000000Z K 7 svn:log V 71 Partial MFC of v1.69 - adding info for 5.5-REL. Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-28T19:06:20.000000Z K 7 svn:log V 200 Ignore a sub-topic match if it is inside the command description. Otherwise, merge-help can get confused by a command description that includes a word that starts with a capital S. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-28T19:07:13.000000Z K 7 svn:log V 71 Add an 'smap' command that dumps out the BIOS SMAP. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-28T19:38:02.000000Z K 7 svn:log V 754 Optimize the int 15/87 handler for space to shave another 16 bytes off of BTX (and thus boot2): - Don't bother saving %eax, %ebx, or %ecx as it is not necessary. - Use a more compact sequence to load the base value out of a GDT entry by loading the contiguous low 24 bits into the upper 24 bits of %eax, loading the high 8 bits into %al, and using a ror to rotate the bits (2 mov's and a ror) rather than loading the pieces in smaller chunks (3 mov's and a shl). - Use movzwl + leal instead of movl + movw + shll + addl. - Use 'xchgl %eax,%foo' rather than 'movl %eax,%foo' for cases where it's ok to trash %eax. xchgl %eax, foo is a 1-byte opcode whereas the mov is a 2-byte opcode. - Use movzwl rather than xorl + movw. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-28T19:42:10.000000Z K 7 svn:log V 451 Tweak the code to handle intercepting BIOS calls to int 0x15 to shave another 16 bytes off of BTX (and thus boot2): - Compare against the value of %eax that is saved on the stack instead of loading it into %eax (which requires saving the current %eax on the stack). - Use %ch to examine the keyboard flag state in the BIOS to see if Ctrl-Alt-Del is pressed instead of %al so we don't have to save %eax on the stack anymore. MFC after: 1 week END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-09-28T20:37:38.000000Z K 7 svn:log V 95 remove reference to nonexistent pam(8) manual page. Approved by: re (bmah), keramida (mentor) END K 10 svn:author V 6 danger K 8 svn:date V 27 2006-09-28T20:51:00.000000Z K 7 svn:log V 130 Re-word the description of the "async" flag. Suggested by: Milos Vyletel (mv@rulez.sk) Approved by: re (bmah), keramida (mentor) END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-09-28T21:09:10.000000Z K 7 svn:log V 118 MFC: Make the tinybsd framework a peer of nanobsd and picobsd in the tree Some patches to come. Approved by: re (ken) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-09-28T21:22:21.000000Z K 7 svn:log V 217 Set txrx_error to 1 when we reach abort. This makes the program correctly set the exit code. The PR has further details on this. PR: bin/103206 Submitted by: John Hickey MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-09-29T00:20:56.000000Z K 7 svn:log V 135 Fix two minor style(9) nits in v1.313 which were noticed during an MFC review. alc@ will be MFCing V1.313 plus style fix to RELENG_6. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-29T01:30:37.000000Z K 7 svn:log V 49 Whitespace sync with HEAD. Approved by: re(ken) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-29T01:44:25.000000Z K 7 svn:log V 75 MFC: rev 1.25: remove redundant defines alerady set. Approved by: re(KEN) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-29T01:50:03.000000Z K 7 svn:log V 88 MFC: default to big endian ARM if "TARGET_BIG_ENDIAN" is defined. Approved by: re(KEN) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-29T01:54:09.000000Z K 7 svn:log V 59 MFC: rev 1.19: change platform name. Approved by: re(KEN) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-29T01:56:01.000000Z K 7 svn:log V 60 MFC: add some preliminary ARM support Approved by: re(KEN) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-09-29T03:07:41.000000Z K 7 svn:log V 638 MFC rev 1.7 It is possible for bpf to return a length such that: length != BPF_WORDALIGN(length) This meeans that it is possible for this to be true: interface->rbuf_offset > interface->rbuf_len Handle this case in the test for running out of packets. While OpenBSD's solution of setting interface->rbuf_len to BPF_WORDALIGN(length) is safe due to the size of the buffer, I think this solution results in less hidden assumptions. This should fix the problem of dhclient running away and consuming 100% CPU. PR: bin/102226 Submitted by: Joost Bekkers Approved by: re (ken) END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-09-29T04:00:27.000000Z K 7 svn:log V 252 MFC: cp.1 1.34,1.35 MFC: utils.c 1.47,1.48,1.49 MFC: extern.h 1.21 MFC: cp.c 1.54 Add an option to allow copying of a hierarchy while linking the regular files. Bikeshedded to death on: hackers Submitted by:andersonatcenttech.com Approved by: re (ken) END K 10 svn:author V 3 suz K 8 svn:date V 27 2006-09-29T04:22:38.000000Z K 7 svn:log V 108 MFC Rev. 1.64 (fixed a bug that IPv6 packets arriving to stf are not accepted) Approved by: re (kensmith) END K 10 svn:author V 3 suz K 8 svn:date V 27 2006-09-29T04:24:50.000000Z K 7 svn:log V 179 MFC Rev 1.111 (fixed a bug that local IPv6 traffic (to an address configured on an interface other than lo0) does not show up properly on any bpf.) Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-09-29T04:37:22.000000Z K 7 svn:log V 459 MFC revision 1.358: Lock the vm_object while checking its type to see if it is a vnode-backed object that requires Giant in vm_object_deallocate(). This is somewhat hairy in that if we can't obtain Giant directly, we have to drop the object lock, then lock Giant, then relock the object lock and verify that we still need Giant. If we don't (because the object changed to OBJT_DEAD for example), then we drop Giant before continuing. Approved by: re END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2006-09-29T04:41:37.000000Z K 7 svn:log V 295 Do not chdir(2) until after setuid(2), otherwise "su - username" would fail when root doesn't have the permission to enter target user's home directory. If set, PAM environment variable HOME will be used in chdir(2) instead of pwd->pw_dir, this allows pam_chroot module to continue to function. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-09-29T04:51:16.000000Z K 7 svn:log V 1353 MFC revisions 1.313 and 1.328: When the VM needs to allocated physical memory pages (for non interrupt use) and it has not plenty of free pages it tries to free pages in the cache queue. Unfortunately freeing a cached page requires the locking of the object that owns the page. However in the context of allocating pages we may not be able to lock the object and thus can only TRY to lock the object. If the locking try fails the cache page can not be freed and is activated to move it out of the way so that we may try to free other cache pages. If all pages in the cache belong to objects that are currently locked the cache queue can be emptied without freeing a single page. This scenario caused two problems: 1) vm_page_alloc always failed allocation when it tried freeing pages from the cache queue and failed to do so. However if there are more than cnt.v_interrupt_free_min pages on the free list it should return pages when requested with priority VM_ALLOC_SYSTEM. Failure to do so can cause resource exhaustion deadlocks. 2) Threads than need to allocate pages spend a lot of time cleaning up the page queue without really getting anything done while the pagedaemon needs to work overtime to refill the cache. This change fixes the first problem. (1) Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-29T06:06:39.000000Z K 7 svn:log V 105 Move the -l option processing to where it belongs. Overall still not kosher but better matches style(9). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-29T06:12:17.000000Z K 7 svn:log V 206 MFC 1.90-1.91: Don't treat failure to find the operator GID as a fatal error; this made it impossible to use newfs (and mdmfs) when /etc/group is missing and /etc is read-only. Approved by: re (kensmith) END K 10 svn:author V 5 marck K 8 svn:date V 27 2006-09-29T06:13:20.000000Z K 7 svn:log V 200 MFC rev 1.28: Fix bug introduced in rev 1.23: pw_equal does not check crypted password field, so one cannot change crypted password keeping other fields intact. Approved by: re (kensmith) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-09-29T06:17:51.000000Z K 7 svn:log V 62 MFC 1.52: Remove 120.clean-kvmdb. Approved by: re (kensmith) END K 10 svn:author V 5 silby K 8 svn:date V 27 2006-09-29T06:24:26.000000Z K 7 svn:log V 450 Rather than autoscaling the number of TIME_WAIT sockets to maxsockets / 5, scale it to min(ephemeral port range / 2, maxsockets / 5) so that people with large gobs of memory and/or large maxsockets settings will not exhaust their entire ephemeral port range with sockets in the TIME_WAIT state during periods of heavy load. Those who wish to tweak the size of the TIME_WAIT zone can still do so with net.inet.tcp.maxtcptw. Reviewed by: glebius, ru END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-29T06:46:31.000000Z K 7 svn:log V 51 o Convert w/spaces to tabs in the previous commit. END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-09-29T07:02:21.000000Z K 7 svn:log V 150 MFC rev. 1.38 Place shared libpcap library under /lib, currently needed by /sbin/ipf and /sbin/pflogd. Reviewed by: ru@ Approved by: re@ (kensmith@) END K 10 svn:author V 6 matteo K 8 svn:date V 27 2006-09-29T07:04:17.000000Z K 7 svn:log V 153 MFC rev. 1.58: Install shared libpthread library into /lib; needed by some /sbin programs. PR: bin/88404 Reviewed by: ru@ Approved by: re@ (kensmith@) END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-09-29T07:33:56.000000Z K 7 svn:log V 227 MFC rev. 1.58, 1.59 If /dev/tty gets opened after your controlling terminal has been revoked you can't call tty_clone afterwords. This can be done in ctty_clone by returning with *dev = ctty. Reviewed by: jhb Approved by: re END K 10 svn:author V 3 mbr K 8 svn:date V 27 2006-09-29T07:41:24.000000Z K 7 svn:log V 351 MFC rev. 1.241, 1.242, 1.243 Add some Giant locks to protect against races between tty and sessrele(), doenterpgrp(), leavepgrp(), pgdelete() and enterpgrp(). The tty code is still under giant lock, but the session/pgrp release code just used proctree_locks. P_CONTROLT isn't really fully locked too in enterpgrp(). Reviewed by: jhb Approved by: re END