ƒ´174000 172 675 232 154 330 166 431 159 186 157 194 156 806 374 260 125 138 166 145 169 252 226 150 210 314 238 470 132 228 456 176 506 202 306 172 247 134 293 149 330 198 165 135 135 394 176 164 147 125 119 210 718 270 228 306 812 373 285 285 294 309 259 164 921 143 149 164 408 1288 275 156 927 554 219 177 205 202 277 301 140 186 152 147 178 231 178 139 185 173 229 426 175 227 437 127 174 166 159 177 146 181 166 156 123 154 636 285 572 600 264 608 688 205 110 312 206 345 555 503 187 403 305 522 541 269 182 551 569 372 364 464 223 162 875 237 154 140 370 793 239 279 142 205 111 408 700 286 313 474 310 332 316 411 703 289 477 313 335 189 411 703 289 477 313 335 153 166 225 726 344 439 1601 763 K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-27T23:37:48.000000Z K 7 svn:log V 580 * Fix support for followings: o Acer Aspire 4520 laptop - jack sensing / automute o Toshiba Satellite A135-S4527 laptop - jack sensing / automute Tested by: lioux o Apple Macbook 3 (is it?) - require gpio0 (for speakers) and ovref50 (for headphone) to make it works - jack sensing / automute Tested by: Ed Schouten * Add Nvidia MCP67 controller ids. * Be sensible about simmilar controller with multiple pci ids. * Connect unused DAC/ADC to stream#0 rather than forcing each of them managing their own stream. Approved by: re (kensmith) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-11-28T00:16:24.000000Z K 7 svn:log V 136 Fix pointer dereferencing problems in _pthread_mutex_init_calloc_cb() that were obscured by pseudo-opaque pthreads API pointer casting. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-11-28T00:17:34.000000Z K 7 svn:log V 59 Only zero large allocations when necessary (for calloc()). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2007-11-28T02:11:17.000000Z K 7 svn:log V 233 Restore member fields sigval_int and sigval_ptr, this unbreaks compilation of some old programs. Since sigval is union type, this change will not have binary compatibility problem. MFC: after 3 days Discussed with: rwatson, glebius END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-28T02:13:20.000000Z K 7 svn:log V 72 Add missing MCP65 id which was accidentally removed in previous commit. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-11-28T05:50:45.000000Z K 7 svn:log V 334 Make ADAPTIVE_GIANT as the default in the kernel and remove the option. Currently, Giant is not too much contented so that it is ok to treact it like any other mutexes. Please don't forget to update your own custom config kernel files. Approved by: cognet, marcel (maintainers of arches where option is not enabled at the moment) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-28T06:10:16.000000Z K 7 svn:log V 67 MFC: add the Planex GW-US54GXS adapter Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-28T06:11:18.000000Z K 7 svn:log V 94 MFC 1.45: update default wme parameters to latest WiFi test plans Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-28T06:12:30.000000Z K 7 svn:log V 65 MFC: WMM packet classification fixes Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-28T06:13:23.000000Z K 7 svn:log V 101 MFC 1.91: correct re-association indicator dispatched in node join event Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-28T06:15:03.000000Z K 7 svn:log V 64 MFC: sta mode setup for 11n devices Approved by: re (kensmith) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-11-28T07:29:10.000000Z K 7 svn:log V 713 MFp4: Add a new option to newfs(8), -r, to specify reserved space at the end of the device. It can be useful, e.g., when the device is to become a member of a gmirror array later w/o losing the file system on it. Document the new option in the manpage. While I'm here, improve error handling for -s option, which is syntactically similar to -r; and document the fact that -s0 selects the default fs size explicitly, which can be useful, e.g., in a menu-based wrapper around newfs(8) requiring some value be entered for the fs size. Also fix a small typo in the help line for -s (missing space). Idea and initial implementation by: marck Discussed on: -fs Critical review by: bde Tested with: cmp(1) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-11-28T07:54:42.000000Z K 7 svn:log V 281 - Pay attention to the fact that ioctl(2) is only known to return -1 on error while any other return value from it can indicate success. (See RETURN VALUE in our ioctl(2) manpage and the POSIX spec.) - Avoid assumptions about the state of the data buffer after ioctl(2) failure. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2007-11-28T08:50:20.000000Z K 7 svn:log V 167 Make sure GSS-API mechanisms are loaded if gss_acquire_cred is called with a null mechanism list. PR: misc/117349 Submitted by: Sean McNeil END K 10 svn:author V 8 keramida K 8 svn:date V 27 2007-11-28T11:03:06.000000Z K 7 svn:log V 28 Spell 'Yugoslav' correctly. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T12:00:14.000000Z K 7 svn:log V 44 Add the Planex FNW-3603TX card to the list. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T12:02:19.000000Z K 7 svn:log V 72 Add information about the ICH6 and ICH7 being supported since recently. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-28T12:04:08.000000Z K 7 svn:log V 49 Fix spelling of stack_capture() to stack_save(). END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T12:04:25.000000Z K 7 svn:log V 75 Add information about the 845M card that I recently committed support for. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T12:11:36.000000Z K 7 svn:log V 157 Sync with md(4)'s information regarding the swap backend. PR: docs/115721 Submitted by: Stefan Lambrev MFC After: 3 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T12:29:59.000000Z K 7 svn:log V 131 Every newline should start on it's own line. I didn't do that in the previous commit, so make it happen now. Prodded by: brueffer END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-11-28T13:04:11.000000Z K 7 svn:log V 55 Mention ADAPTIVE_GIANT removal. Reviewed by: attilio@ END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T13:23:50.000000Z K 7 svn:log V 118 Correctly get the authentication key for TCP-MD5 from the SA. Submitted by: Nick Hilliard on net@ MFC after: 8 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T13:33:27.000000Z K 7 svn:log V 222 Let opt be an array. Though &opt[0] == opt == &opt, &opt is highly confusing and hard to understand so change it to just opt and remove the extra cast no longer/not needed. Discussed with: rwatson MFC after: 3 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T14:48:30.000000Z K 7 svn:log V 143 Remove mentionings of kern.dumpdev which is no longer available. PR: docs/113570 Submitted by: lawrance MFC After: 3 days (where applicable) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-28T15:27:22.000000Z K 7 svn:log V 375 - Add Analog Devices AD1984 codec id. - Enable pcbeep control for Acer + ALC268 (nid 29). Give enough (fake) hints so the parser will grab it and allocate "speaker" control. - Fix regression while preparing DAC and ADC for multichannel format. Since playback policy is to output to every possible path, ensure that each DAC is started. Reported / Tested by: Guy Brand END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-11-28T16:41:47.000000Z K 7 svn:log V 37 Sync with HEAD. Approved by: re(gnn) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-11-28T16:55:39.000000Z K 7 svn:log V 132 MFC: fix situation where GDB gives incorrect backtraces when a signal handler is in the call chain. Approved by: re(kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-28T17:31:11.000000Z K 7 svn:log V 363 Don't delete files in the X11 socket directories under /tmp (.X11-unix, .ICE-unix, .font-unix, .XIM-unix) when purging files from /tmp via the daily 100.clean-tmps job. If you are logged into an X session longer than the timeout period (default of 3 days), then this job can delete the X11 sockets out from under the session without this fix. MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-28T19:14:06.000000Z K 7 svn:log V 84 A minor issue with lock names, WITNESS complains when the two locks are the same... END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-11-28T19:40:17.000000Z K 7 svn:log V 410 Turn the CAM passthroug interface to AMR back ON. Adjust the T_DIRECT filtering so that disk drives can be attached via the pass driver. Add CAM locking. Don't mark CAM commands as SG64 since the hardware isn't designed to deal with 64-bit passthru commands. Hopefully the bounce buffer changes that were done for the management/ioctl interface are robust enough to handle this deficiency for CAM as well. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-11-28T19:47:36.000000Z K 7 svn:log V 106 Revert the "machine" directive part of the previous commit in order to unbreak existing configs and LINT. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T20:33:58.000000Z K 7 svn:log V 214 Add support for tcpmd5 tests. Add README.tcpmd5 to describe how to build a simple test setup and run tests. Convert compile time options to run time options [1]. Discussed with: rwatson Suggested by: rwatson [1] END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T20:38:05.000000Z K 7 svn:log V 81 Convert errx(-1, ..., strerror(errno)) to err(-1, ...). Discussed with: rwatson END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-11-28T21:37:25.000000Z K 7 svn:log V 152 Expand the EXAMPLES section for atacontrol.8 PR: docs/117310 Submitted by: Ted Mittelstaedt with minor modifications by me. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:40:07.000000Z K 7 svn:log V 43 Add more OpenSolaris compatibilty headers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:44:17.000000Z K 7 svn:log V 201 Rename the definition of lbolt to LBOLT to avoid a clash with a global variable in FreeBSD. Until now lbolt in sys/proc.h has been #ifdef'ed out based on _SOLARIS_C_SOURCE, but that is going away now. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:47:09.000000Z K 7 svn:log V 58 Add a missing volatile so that the code compiles cleanly. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T21:48:21.000000Z K 7 svn:log V 238 Adjust a comment that suggest that we might consider a panic. Make clear that this is not a good idea when called from tcp_output()->ipsec_hdrsiz_tcp()->ipsec4_hdrsize_tcp() as we do not know if IPsec processing is needed at that point. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:48:25.000000Z K 7 svn:log V 106 Remove a typedef which was just a hack to avoid including vmem.h. That typedef breaks other Solaris code. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:49:16.000000Z K 7 svn:log V 74 Add compatibility cruft moved from under _SOLARIS_C_SOURCE in sys/types.h END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:50:05.000000Z K 7 svn:log V 44 Remove an extern that is defined elsewhere. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:50:40.000000Z K 7 svn:log V 44 Add more OpenSolaris compatibility headers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T21:54:46.000000Z K 7 svn:log V 302 Remove _SOLARIS_C_SOURCE compatibility definitions. Unfortunately the ZFS porting style didn't extend this, instead using a heap of additional header files that don't get installed. My intention had been to allow OpenSolaris external code to build on FreeBSD out of the box (i.e. without a src tree). END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:09:12.000000Z K 7 svn:log V 85 Remove some OpenSolaris compatibility stuff now that we're doing it a different way. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:10:36.000000Z K 7 svn:log V 73 Remove a couple of definitions which now exist in compatibility headers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:11:39.000000Z K 7 svn:log V 56 Include an extra header to get this to compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:12:21.000000Z K 7 svn:log V 34 Check endianness the FreeBSD way. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:13:28.000000Z K 7 svn:log V 28 Fix a prototype definition. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:16:00.000000Z K 7 svn:log V 118 * Check endianness the FreeBSD way. * Use LBOLT rather than lbolt to avoid a clash with a FreeBSD global variable. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-28T22:20:08.000000Z K 7 svn:log V 625 Adjust the code to probe for the PCI config mechanism to use. - On amd64, just assume type #1 is always used. PCI 2.0 mandated deprecated type #2 and required type #1 for all future bridges which was well before amd64 existed. - For i386, ignore whatever value was in 0xcf8 before testing for type #1 and instead rely on the other tests to determine if type #1 works. Some newer machines leave garbage in 0xcf8 during boot and as a result the kernel doesn't find PCI at all (which greatly confuses ACPI which expects PCI to exist when PCI busses are in the namespace). MFC after: 3 days Discussed with: scottl END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-28T22:21:17.000000Z K 7 svn:log V 174 Correct the logic : we can just invalidate the cache lines, and not write-back them, only if PREWRITE is not set, and if the buffer is cache-line aligned. MFC After: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-28T22:22:05.000000Z K 7 svn:log V 135 MFamd64: 1.109 of pci_cfgreg.c which changes pci_cfgdisable() into a nop for type #1 similar to what other OS's do. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-28T22:23:35.000000Z K 7 svn:log V 213 MFC revision 1.360 When reactivating a cached page, reset the page's pool to the default pool. (Not doing this before was a performance pessimization but not a cause for panic.) Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T22:33:53.000000Z K 7 svn:log V 720 Add sysctls to if_enc(4) to control whether the firewalls or bpf will see inner and outer headers or just inner or outer headers for incoming and outgoing IPsec packets. This is useful in bpf to not have over long lines for debugging or selcting packets based on the inner headers. It also properly defines the behavior of what the firewalls see. Last but not least it gives you if_enc(4) for IPv6 as well. [ As some auxiliary state was not available in the later input path we save it in the tdbi. That way tcpdump can give a consistent view of either of (authentic,confidential) for both before and after states. ] Discussed with: thompsa (2007-04-25, basic idea of unifying paths) Reviewed by: thompsa, gnn END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-28T22:35:48.000000Z K 7 svn:log V 281 Update man page to reflect latest work on enc(4): - added sysctls to if_enc(4) to control whether the firewalls or bpf will see inner and outer headers or just inner headers for incoming and outgoing IPsec packets. - if_enc work with IPv6 now as well. Reviewed by: brueffer END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-28T22:41:14.000000Z K 7 svn:log V 192 Account for pv entry pages in the total number of wired pages. (Note: pv entry pages have always been included in the total number of wired pages on i386 just not amd64.) MFC after: 6 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-28T22:45:09.000000Z K 7 svn:log V 187 Add /root/, /.cshrc, and /.profile to the default UpdateIfUnmodified directive. Users get irritated if FreeBSD Update steps on these while upgrading to a new release. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-11-28T22:55:55.000000Z K 7 svn:log V 198 Fixes for ARM9/ARM10 : Call uma_sel_align() there at well. Set CPU_CONTROL_VECRELOC if we're using the high vectors page. Submitted by: Rafal Jaworowski MFC After: 1 week END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T22:58:09.000000Z K 7 svn:log V 217 Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSD headers. All OpenSolaris compatibility comes via the set of specific compatibility headers in src/compat/opensolaris and src/sys/compat/opensolaris. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-28T23:04:11.000000Z K 7 svn:log V 166 Add COHERENT to descriptor mem allocation for the benefit of ARM (request from Olivier Houchard), its a noop on most architectures and goodness on those that use it. END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-28T23:21:55.000000Z K 7 svn:log V 73 Remove an OpenSolaris compatibility header that is no longer referenced. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-11-28T23:24:07.000000Z K 7 svn:log V 823 Back out previous commit; i.e., turn hyperthreading back on by default. Newer Intel processors have better hyperthreading implementations than the original ones, and FreeBSD's SMP and scheduler code has greatly improved between 6.x and 7.x; so hyperthreading now provides a non-trivial performance win. Note that security issues involving shared caches and other microarchitectural features (e.g., dynamic branch prediction tables) still exist; consequently, it is recommended that hyperthreading be turned off on systems with untrusted local users. This can be performed by setting machdep.hyperthreading_allowed=0 in /boot/loader.conf. Hyperthreading will continue to be disabled by default on FreeBSD 6.x. Requested by: core Approved by: re (kensmith) Security: See FreeBSD-SA-05:09.htt for background information. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-28T23:24:38.000000Z K 7 svn:log V 51 MFC of the New em driver from HEAD Approved by:re END K 10 svn:author V 3 jfv K 8 svn:date V 27 2007-11-28T23:52:14.000000Z K 7 svn:log V 57 Latest driver version added to RELEASE. Approved by: re END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-29T00:15:08.000000Z K 7 svn:log V 73 Remove some compatibility stuff that we now get from the Solaris header. END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-11-29T01:15:03.000000Z K 7 svn:log V 315 Remove entry points for -finstrument functions since they are currently unused except to obfuscate disassemblies. -mprofiler-epilogue is currently with gcc-4 (it does too little), but -finstrument-functions is broken in a different way (it does too much). amd64 version: meger whitespace fixes from i386 version. END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-11-29T02:01:21.000000Z K 7 svn:log V 1194 Don't use plain "ret" instructions at targets of jump instructions, since the branch caches on at least Athlon XP through Athlon 64 CPU's don't understand such instructions and guarantee a cache miss taking at least 10 cycles. Use the documented workaround "ret $0" instead ("nop; ret" also works, but "ret $0" is probably faster on old CPUs). Normal code (even asm code) doesn't branch to "ret", since there is usually some cleanup to do, but the __mcount, .mcount and .mexitcount entry points were optimized too well to have the minimum number of instructions (3 instructions each if profiling is not enabled) and they did this. I didn't see a significant number of cache misses for .mexitcount, but for the shared "ret" for __mcount and .mcount I observed cache misses costing 26 cycles each. For a send(2) syscall that makes about 70 function calls, the cost of these cache misses alone increased the syscall time from about 4000 cycles to about 7000 cycles. 4000 is for a profiling (GUPROF) kernel with profiling disabled; after this fix, configuring profiling only costs about 600 cycles in the 4000, which is consistent with almost perfect branch prediction in the mcounting calls. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-11-29T03:54:56.000000Z K 7 svn:log V 179 MFC(1.14): Fixing a double free bug which will cause tail to dump core when there's no tailing newline(\n) character. PR: bin/118267 Reviewed by: kib Approved by: re (kensmith) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2007-11-29T04:20:19.000000Z K 7 svn:log V 63 Fix -jX when makefiles are remade. Approved by: re (kensmith) END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-11-29T06:34:30.000000Z K 7 svn:log V 832 Move the shared cp_time array (counts %sys, %user, %idle etc) to the per-cpu area. cp_time[] goes away and a new function creates a merged cp_time-like array for things like linprocfs, sysctl etc. The atomic ops for updating cp_time[] in statclock go away, and the scope of the thread lock is reduced. sysctl kern.cp_time returns a backwards compatible cp_time[] array. A new kern.cp_times sysctl returns the individual per-cpu stats. I have pending changes to make top and vmstat optionally show per-cpu stats. I'm very aware that there are something like 5 or 6 other versions "out there" for doing this - but none were handy when I needed them. I did merge my changes with John Baldwin's, and ended up replacing a few chunks of my stuff with his, and stealing some other code. Reviewed by: jhb Partly obtained from: jhb END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-11-29T06:43:58.000000Z K 7 svn:log V 458 Revert revision 1.4. Intel CPUs with family 0x6, model 0xE and later (i.e., Intel Core(TM)) have a PMC architecture that differs somewhat from previous CPUs in family 0x6. Even though the basic programming model is similar, the documented set of legal values that may be loaded into their PMC MSRs differs from that of the previous PMCs in family 0x6 and reusing bit values valid for the older PMCs could result in undefined behaviour in the general case. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-29T08:38:22.000000Z K 7 svn:log V 122 Move use of 'i' in cp_time sysctl under SCTL_MASK32 so that it compiles without warnings on systems that don't define it. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-11-29T16:06:12.000000Z K 7 svn:log V 83 Correct a random value disclosure in random(4). Security: FreeBSD-SA-07:09.random END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-11-29T16:06:54.000000Z K 7 svn:log V 110 Correct a random value disclosure in random(4). Security: FreeBSD-SA-07:09.random Approved by: re (kensmith) END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-11-29T16:07:53.000000Z K 7 svn:log V 107 Correct a random value disclosure in random(4). Security: FreeBSD-SA-07:09.random Approved by: so (simon) END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-11-29T16:08:54.000000Z K 7 svn:log V 182 Correct a random value disclosure in random(4). [07:09] Correct a gtar directory traversal vulnerability. [07:10] Security: FreeBSD-SA-07:09.random Security: FreeBSD-SA-07:10.gtar END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-11-29T16:09:26.000000Z K 7 svn:log V 206 Correct a random value disclosure in random(4). [07:09] Correct a gtar directory traversal vulnerability. [07:10] Security: FreeBSD-SA-07:09.random Security: FreeBSD-SA-07:10.gtar Approved by: so (simon) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-29T17:16:55.000000Z K 7 svn:log V 44 Add description of stack_print() and MLINK. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-29T17:43:30.000000Z K 7 svn:log V 93 MFC: freebsd-update(8) upgrade, ipfwpcap(8), IPFilter 4.1.28. Approved by: re (implicitly) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-11-29T17:56:55.000000Z K 7 svn:log V 57 Document PCI IDs of controllers added in aac_pci.c v1.63 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-11-29T18:36:09.000000Z K 7 svn:log V 55 MFC: Correct a gtar directory traversal vulnerability. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-29T18:37:01.000000Z K 7 svn:log V 84 MFC rev. 1.204: fix a typo in ipfw table usage example. Approved by: re (kensmith) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-11-29T18:38:31.000000Z K 7 svn:log V 135 MFC aac.c v1.121: Correct calculation of aac_sg_tablesize. Obtained from: Adaptec, via driver b11669 Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-29T18:42:15.000000Z K 7 svn:log V 84 MFC rev. 1.204: fix a typo in ipfw table usage example. Approved by: re (kensmith) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-11-29T18:53:11.000000Z K 7 svn:log V 44 Bump .Dd for my last commit adding PCI IDs. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-11-29T19:02:05.000000Z K 7 svn:log V 91 MFC rev. 1.23: do not leak inodes hash table at module unload. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-29T19:05:09.000000Z K 7 svn:log V 81 MFC 1.8: be more careful handling off-channel frames Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-11-29T19:05:22.000000Z K 7 svn:log V 132 MFC r1.22 Have the lagg interface generate link up/down events, this fixes using carp+lagg together. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-11-29T20:16:42.000000Z K 7 svn:log V 329 Restore RFC 1724 hack for interface selection to RELENG_7, as routed and other routing daemons still rely on this interface and otherwise do not function on 7.0. It has not been restored to 8-CURRENT, so this is not an MFC. Reviewed by: bms Submitted by: Marko Zec Tested by: kensmith Approved by: re (kensmith) END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-11-29T20:50:40.000000Z K 7 svn:log V 84 Adjust the padding to account for the change of size of the MI part of struct pcpu. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-11-29T21:23:22.000000Z K 7 svn:log V 134 MFC: ieee80211_find_channel_byieee for use with sta mode scanning changes to handle off-channel beacons Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-11-29T21:49:08.000000Z K 7 svn:log V 341 To reduce the impact of possible removal of the syscalls required by libkse in FreeBSD 8.0, do not build or install static versions of libkse (i.e. libkse*.a) in the default case. Static versions will be built and installed if libthr is not built or if libkse is the default threading library. Discussed on: freebsd-arch MFC after: 3 days END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:01:23.000000Z K 7 svn:log V 34 Use "8-current" manpage entities. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:11:58.000000Z K 7 svn:log V 81 Use 7.0-stable base system and 7.2 X.org manpages. Approved by: re (implicitly) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-11-30T05:11:59.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:19:24.000000Z K 7 svn:log V 66 New release note: SA-07:09.random. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:25:21.000000Z K 7 svn:log V 84 Use "6.3-stable" and "7.2" manpage entities for base system and X.org respectively. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:28:03.000000Z K 7 svn:log V 53 MFC: SA-07:09.random. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:38:35.000000Z K 7 svn:log V 88 Use X.org 7.2 and FreeBSD 6.3-RELEASE manpage hyperlinks. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:40:09.000000Z K 7 svn:log V 73 MFC: FreeBSD-SA-07:09.random. New release note: FreeBSD-SA-07:10.tar. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:45:36.000000Z K 7 svn:log V 63 MFC: Fix for tar directory traversal in FreeBSD-SA-07:10.tar. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:55:05.000000Z K 7 svn:log V 30 New errata: SA-07:09.random. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-11-30T05:58:06.000000Z K 7 svn:log V 61 New errata: FreeBSD-SA-07:09.random, FreeBSD-SA-07:10.gtar. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-11-30T07:14:42.000000Z K 7 svn:log V 543 Improve get_pv_entry()'s handling of low-memory conditions. After page allocation fails and pv entries are reclaimed, there may be an unused pv entry in a pv chunk that survived the reclamation. However, previously, after reclamation, get_pv_entry() did not look for an unused pv entry in a surviving pv chunk; it simply retried the page allocation. Now, it does look for an unused pv entry before retrying the page allocation. Note: This only applies to RELENG_7. Earlier branches use a different pv entry allocator. MFC after: 6 weeks END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-11-30T11:02:36.000000Z K 7 svn:log V 189 Add a cross-reference to newgrp(1). Every time I need newgrp, I forget its name but I remember it's like login for groups - newgrp(1) already cross-references login(1). MFC after: 2 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-30T15:11:42.000000Z K 7 svn:log V 477 MFC: (revision 1.47, 1.48) - Add missing MCP65 id which was accidentally removed in previous commit. - Add Analog Devices AD1984 codec id. - Enable pcbeep control for Acer + ALC268 (nid 29). Give enough (fake) hints so the parser will grab it and allocate "speaker" control. - Fix regression while preparing DAC and ADC for multichannel format. Since playback policy is to output to every possible path, ensure that each DAC is started. Reported / Tested by: Guy Brand END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-30T15:12:06.000000Z K 7 svn:log V 505 MFC: (revision 1.47, 1.48) - Add missing MCP65 id which was accidentally removed in previous commit. - Add Analog Devices AD1984 codec id. - Enable pcbeep control for Acer + ALC268 (nid 29). Give enough (fake) hints so the parser will grab it and allocate "speaker" control. - Fix regression while preparing DAC and ADC for multichannel format. Since playback policy is to output to every possible path, ensure that each DAC is started. Reported / Tested by: Guy Brand Approved by: re (kensmith) END K 10 svn:author V 4 brix K 8 svn:date V 27 2007-11-30T15:35:18.000000Z K 7 svn:log V 170 MFC: (revision 1.121) Add usr/lib/libgssapi_krb5.so.8 to the list of old libs from the 20071120 shared library version bump. Approved by: re (kensmith), erwin (mentor) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-11-30T15:39:22.000000Z K 7 svn:log V 513 MFC: - Remove magic number and fit max rx buffer size accurately. - Patch registers CR47 and CR157 on devices that require it. - Fix power calibration setting on ZD1211B. Obtained from: OpenBSD - Fix multicast transfer by properly reprogram multicast global hash table, which in turns fix promiscuous mode and IPv6 autoconfiguration / local networking. Reviewed by: sam, Weongyo Jeong Tested using: Aztech WL230 , Belkin F5D7050, Unicorn WL-54G, 3COM 3CRUSB10075 Approved by: re (kensmith) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-11-30T15:55:50.000000Z K 7 svn:log V 592 Merge from HEAD to RELENG_7 src/sys/dev/aac/aac_pci.c 1.63 src/share/man/man4/aac.4 1.37, 1.38 Add PCI IDs from Adaptec's driver version b11669: Adaptec RAID 3085 Adaptec RAID 31205 Adaptec RAID 31605 Adaptec RAID 5085 Adaptec RAID 51205 Adaptec RAID 51605 Adaptec RAID 5445 Adaptec RAID 5805 IBM ServeRAID 8s ICP RAID ICP5045BL ICP RAID ICP5085BL ICP RAID ICP5085SL ICP RAID ICP5125BR ICP RAID ICP5125SL ICP RAID ICP5165BR ICP RAID ICP5165SL ICP RAID ICP5445SL ICP RAID ICP5805BL ICP RAID ICP5805SL ICP9067MA SATA RAID Approved by: re (kensmith) END K 10 svn:author V 8 deischen K 8 svn:date V 27 2007-11-30T17:16:14.000000Z K 7 svn:log V 107 Initialize the current thread and signal locks so that sigaction() will work after a fork(). WARNS=3'ify. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2007-11-30T17:20:29.000000Z K 7 svn:log V 13 WARNS=3'ify. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-11-30T21:29:08.000000Z K 7 svn:log V 217 Add sysctl_rename_oid() to support device_set_unit() usage. Otherwise, when unit numbers are changed, the sysctl devinfo tree gets out of sync and duplicate trees are attempted to be attached with the original name. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-11-30T21:30:14.000000Z K 7 svn:log V 111 Deal with the possibility of device_set_unit() being called when attaching the associated devinfo sysctl tree. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-11-30T21:36:12.000000Z K 7 svn:log V 250 Add sio_puc_kludge_unit() to stop sio devices originating from puc stomping on the units intended for the motherboard sio ports. This is no real substitute for the not-yet-committed device wiring enhancements. Code taken from sio's pci attachment. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-11-30T21:45:07.000000Z K 7 svn:log V 460 Allow the sio acpi attachment to be disabled (ie: use hints only). This hack means you can get the units and flags to match up more easily with serial consoles on machines with acpi tables that cause the com ports to be probed in the wrong order (and hence get the wrong sio unit number). This replaces the common alternative hack of editing the code to comment out the acpi attachment. This could go away entirely when device wiring patches are committed. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-11-30T23:02:42.000000Z K 7 svn:log V 407 - Add the PCI side of the HOST-PCI bridge itself to the bus. This is required by the X.Org PCI domains code and additionally needs a workaround for Hummingbird and Sabre bridges as these don't allow their config headers to be read at any width, which is an unusual behavior. - In psycho(4) take advantage of DEFINE_CLASS_0 and use more appropriate types for some softc members. MFC after: 3 days END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-11-30T23:27:39.000000Z K 7 svn:log V 92 Add ipv6 to ng_cisco node. ipv6 wasn't a reality when I wrote it.. Submitted by: Marko Zec END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-30T23:41:51.000000Z K 7 svn:log V 311 Move call to tcp_signature_compute() after we adjusted the payload offset in the tcp header. With relevant parts of the tcp header changing after the 'signature' was computed, the signature becomes invalid. Reviewed by: tools/regression/netinet/tcpconnect MFC after: 3 days Tested by: Nick Hilliard (see net@) END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-11-30T23:46:51.000000Z K 7 svn:log V 213 Centralize and correct computation of TCP-MD5 signature offset within the packet (tcp header options field). Reviewed by: tools/regression/netinet/tcpconnect MFC after: 3 days Tested by: Nick Hilliard (see net@) END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-12-01T00:52:48.000000Z K 7 svn:log V 425 MFC: Fix 3 issues relating to the use of "auth" rules in IPFilter, from sourceforge: 1837014 Kernel panics after authentication of an outgoing packet 1836992 Potential bugs in packet auth code (w/patches) 1836967 Kernel panic when using auth rule with keep state and another reported only to FreeBSD by Andiry (see PR) PR: kern/118251 Submitted by: Andriy Syrovenko Reviewed by: darrenr Approved by: re END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-12-01T00:53:41.000000Z K 7 svn:log V 444 MFC: Fix 3 issues relating to the use of "auth" rules in IPFilter, from sourceforge: 1837014 Kernel panics after authentication of an outgoing packet 1836992 Potential bugs in packet auth code (w/patches) 1836967 Kernel panic when using auth rule with keep state and another reported only to FreeBSD by Andiry (see PR) PR: kern/118251 Submitted by: Andriy Syrovenko Reviewed by: darrenr Approved by: re END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-12-01T07:01:45.000000Z K 7 svn:log V 173 MFC(1.86): Eliminating an unnecessary check on an_gone inside an_stats_update() since a properly locked callout_stop(9) does do the right thing. Approved by: re (kensmith) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-12-01T08:53:03.000000Z K 7 svn:log V 88 ieee80211com.ic_fixed_rate holds rate instead of rate index Reviewed by: Weongyo Jeong END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-12-01T11:28:37.000000Z K 7 svn:log V 454 MFC kern_mutex.c rev. 1.201 and kern_rwlock.c rev. 1.32: Simplify adaptive spinning algorithm which should make things faster when sleeping / waking up waiters. Also fix a bug with rw_try_upgrade() when adaptive spinning is enabled as turnstile_lookup() will recurse on ts_lock that will never be released [1]. [1] Reported by: jeff with Nokia help Tested by: pho, kris (earlier, bugged version of rwlock part) Discussed with: jhb, jeff Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-12-01T13:12:43.000000Z K 7 svn:log V 471 Fix a broken check that recently became more annoying because it now gets enabled when INVARIANTS is on instead of DIAGNOSTIC (which apparently nobody uses). From Tor's description: This happens when the block range spans two block maps, the first in the inode (mapping up to NDADDR direct blocks) and the second being the first indirect block. The current check assumes that both block maps are indirect blocks. Work done by: tegge Tested by: kris, kensmith END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-01T14:23:29.000000Z K 7 svn:log V 275 For un-prototyped static inline functions declared in pthread_md.h on ia64, powerpc, and sparc64, use ANSI function headers and specifically indicate the lack of arguments with 'void'. Otherwise, warnings are generated at WARNS=3, leading to a compile failure with -Werror. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-01T14:24:44.000000Z K 7 svn:log V 267 For un-prototyped static inline functions declared in pthread_md.h on sparc64, use ANSI function headers and specifically indicate the lack of arguments with 'void'. Otherwise, warnings are generated at WARNS=3 for libkse, leading to a compile failure with -Werror. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-01T16:24:23.000000Z K 7 svn:log V 369 MFC rev 1.11 agp.4 Add information about the 845M card that I recently committed support for. MFC rev 1.44 agp_i810.c Add the 845M GMCH controller. PR: 114802 Approved by: imp (mentor), anholt (private mail) Submitted by: Alex Goncharov MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-01T17:24:18.000000Z K 7 svn:log V 128 MFC rev 1.11 agp.4 Add information about the 845M card that I recently committed support for. Approved by: re (hrs) END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-12-01T18:56:50.000000Z K 7 svn:log V 70 Add missing #ifndef _ASSERT_H_ protection against multiple inclusions END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-01T19:24:28.000000Z K 7 svn:log V 778 The kernel linker includes a number of utility functions to look up symbol information in support of DDB(4); these functions bypass normal linker locking as they may run in contexts where locking is unsafe (such as the kernel debugger). Add a new interface linker_ddb_search_symbol_name(), which looks up a symbol name and offset given an address, and also linker_search_symbol_name() which does the same but *does* follow the locking conventions of the linker. Unlike existing functions, these functions place the name in a caller-provided buffer, which is stable even after linker locks have been released. These functions will be used in upcoming revisions to stack(9) to support kernel stack trace generation in contexts as part of a live, rather than suspended, kernel. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-12-01T19:28:13.000000Z K 7 svn:log V 144 Only protect the prototypes with #ifndef _ASSERT_H_, the standards specifically allow changes to the NDEBUG macro between #includes of assert.h END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-12-01T19:42:33.000000Z K 7 svn:log V 59 Fix a non-fatal off-by-one error in the previous revision. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-12-01T20:07:45.000000Z K 7 svn:log V 48 Remove XRPU driver, after asking all the users. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-12-01T20:39:47.000000Z K 7 svn:log V 275 Based in info gleaned from the web and other drivers (including the Linux sx driver), change a magic value in the PLX bridge chip. Apparently later builds of the PCI cards had corrected values in the configuration eeprom. This change supposedly fixes some pci bus problems. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-01T22:04:16.000000Z K 7 svn:log V 696 Modify stack(9) stack_print() and stack_sbuf_print() routines to use new linker interfaces for looking up function names and offsets from instruction pointers. Create two variants of each call: one that is "DDB-safe" and avoids locking in the linker, and one that is safe for use in live kernels, by virtue of observing locking, and in particular safe when kernel modules are being loaded and unloaded simultaneous to their use. This will allow them to be used outside of debugging contexts. Modify two of three current stack(9) consumers to use the DDB-safe interfaces, as they run in low-level debugging contexts, such as inside lockmgr(9) and the kernel memory allocator. Update man page. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-12-01T23:05:01.000000Z K 7 svn:log V 143 Delete from the vendor brach a few things that are dead on head. (they should have been removed here instead of on HEAD in the first place...) END K 10 svn:author V 2 jb K 8 svn:date V 27 2007-12-02T00:05:18.000000Z K 7 svn:log V 187 Add extra visibility definitions. See: These are already in OpenSolaris and DTrace uses STV_ELIMINATE. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-12-02T01:28:35.000000Z K 7 svn:log V 50 Eliminate vfs_page_set_valid()'s unused argument. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-12-02T04:04:42.000000Z K 7 svn:log V 108 Correct the nwbx_ies field type in struct ndis_wlan_bssid_ex. PR: kern/118369 Submitted by: Weongyo Jeong END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-12-02T07:43:42.000000Z K 7 svn:log V 19 Correct a comment. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:38:32.000000Z K 7 svn:log V 313 MFC rev 1.45 rl.4 Add the Planex FNW-3603TX card to the list. MFC rev 1.172 if_rl.c MFC rev 1.68 if_rlreg.h Add the FNW3603TX Planex NIC. PR: 76081 Approved by: imp (mentor) Submitted by: umi at pocke dot org MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:42:16.000000Z K 7 svn:log V 605 MFC rev 1.8 ichsmb.4 Add information about the ICH6 and ICH7 being supported since recently. MFC rev 1.20 ichsmb_pci.c Add the Intel 82801FB (ICH6) SMBus controller and the Intel 82801GB (ICH7) SMBus controller. PR: 85106 [1] PR: 99663 [2] Approved by: imp (mentor), jhb Submitted by: Oliver Fromme , [1] Arthur Hartwig , [1] Lowell Gilbert [2]@ MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:45:05.000000Z K 7 svn:log V 191 MFC rev 1.7 newsyslog.conf.5 s/effect/affect/ PR: docs/118266 Submitted by: "Kim Scarborough" MFC After: 3 days Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:45:57.000000Z K 7 svn:log V 218 MFC rev 1.9 nfe.4 The nfe driver will first appear in 7.0 and not in 6.x PR: i386/118264 Submitted by: "Julian H. Stacey" Nod from: yongari Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:47:28.000000Z K 7 svn:log V 379 MFC rev 1.41, 1.42 mdconfig.8 Sync with md(4)'s information regarding the swap backend. PR: docs/115721 Submitted by: Stefan Lambrev MFC After: 3 days Every newline should start on it's own line. I didn't do that in the previous commit, so make it happen now. Prodded by: brueffer Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:48:30.000000Z K 7 svn:log V 215 MFC rev 1.64 sysctl.8 Remove mentionings of kern.dumpdev which is no longer available. PR: docs/113570 Submitted by: lawrance MFC After: 3 days (where applicable) Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:49:23.000000Z K 7 svn:log V 237 MFC rev 1.29 atacontrol.8 Expand the EXAMPLES section for atacontrol.8 PR: docs/117310 Submitted by: Ted Mittelstaedt with minor modifications by me. Approved by: re (hrs) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-12-02T08:54:50.000000Z K 7 svn:log V 219 Correct the calculation for the number of 100ns intervals since January 1, 1601. The 1601 - 1970 period was in seconds rather than 100ns units. Remove duplication by having NdisGetCurrentSystemTime call ntoskrnl_time. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:54:59.000000Z K 7 svn:log V 316 MFC rev 1.45 rl.4 Add the Planex FNW-3603TX card to the list. MFC rev 1.172 if_rl.c MFC rev 1.68 if_rlreg.h Add the FNW3603TX Planex NIC. PR: 76081 Approved by: imp (mentor) Submitted by: umi at pocke dot org MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:56:37.000000Z K 7 svn:log V 608 MFC rev 1.8 ichsmb.4 Add information about the ICH6 and ICH7 being supported since recently. MFC rev 1.20 ichsmb_pci.c Add the Intel 82801FB (ICH6) SMBus controller and the Intel 82801GB (ICH7) SMBus controller. PR: 85106 [1] PR: 99663 [2] Approved by: imp (mentor), jhb Submitted by: Oliver Fromme , [1] Arthur Hartwig , [1] Lowell Gilbert [2]@ MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:57:47.000000Z K 7 svn:log V 194 MFC rev 1.7 newsyslog.conf.5 s/effect/affect/ PR: docs/118266 Submitted by: "Kim Scarborough" MFC After: 3 days Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T08:58:46.000000Z K 7 svn:log V 382 MFC rev 1.41, 1.42 mdconfig.8 Sync with md(4)'s information regarding the swap backend. PR: docs/115721 Submitted by: Stefan Lambrev MFC After: 3 days Every newline should start on it's own line. I didn't do that in the previous commit, so make it happen now. Prodded by: brueffer Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:00:36.000000Z K 7 svn:log V 218 MFC rev 1.64 sysctl.8 Remove mentionings of kern.dumpdev which is no longer available. PR: docs/113570 Submitted by: lawrance MFC After: 3 days (where applicable) Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:01:18.000000Z K 7 svn:log V 240 MFC rev 1.29 atacontrol.8 Expand the EXAMPLES section for atacontrol.8 PR: docs/117310 Submitted by: Ted Mittelstaedt with minor modifications by me. Approved by: re (hrs) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-12-02T09:03:43.000000Z K 7 svn:log V 93 Hide a debug printf, NDIS_DEBUG is always defined and we test the sysctl. MFC after: 3 days END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:04:11.000000Z K 7 svn:log V 316 MFC rev 1.45 rl.4 Add the Planex FNW-3603TX card to the list. MFC rev 1.172 if_rl.c MFC rev 1.68 if_rlreg.h Add the FNW3603TX Planex NIC. PR: 76081 Approved by: imp (mentor) Submitted by: umi at pocke dot org MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:05:38.000000Z K 7 svn:log V 608 MFC rev 1.8 ichsmb.4 Add information about the ICH6 and ICH7 being supported since recently. MFC rev 1.20 ichsmb_pci.c Add the Intel 82801FB (ICH6) SMBus controller and the Intel 82801GB (ICH7) SMBus controller. PR: 85106 [1] PR: 99663 [2] Approved by: imp (mentor), jhb Submitted by: Oliver Fromme , [1] Arthur Hartwig , [1] Lowell Gilbert [2]@ MFC After: 3 days Approved by: re (hrs), imp (mentor, implicit) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:06:42.000000Z K 7 svn:log V 194 MFC rev 1.7 newsyslog.conf.5 s/effect/affect/ PR: docs/118266 Submitted by: "Kim Scarborough" MFC After: 3 days Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:07:48.000000Z K 7 svn:log V 382 MFC rev 1.41, 1.42 mdconfig.8 Sync with md(4)'s information regarding the swap backend. PR: docs/115721 Submitted by: Stefan Lambrev MFC After: 3 days Every newline should start on it's own line. I didn't do that in the previous commit, so make it happen now. Prodded by: brueffer Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:08:45.000000Z K 7 svn:log V 218 MFC rev 1.64 sysctl.8 Remove mentionings of kern.dumpdev which is no longer available. PR: docs/113570 Submitted by: lawrance MFC After: 3 days (where applicable) Approved by: re (hrs) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-12-02T09:09:44.000000Z K 7 svn:log V 240 MFC rev 1.29 atacontrol.8 Expand the EXAMPLES section for atacontrol.8 PR: docs/117310 Submitted by: Ted Mittelstaedt with minor modifications by me. Approved by: re (hrs) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-12-02T09:12:03.000000Z K 7 svn:log V 56 Get ready for BETA4 builds. Approved by: re (implicit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-12-02T09:12:04.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_7_0'. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2007-12-02T10:06:59.000000Z K 7 svn:log V 132 MFC: Make sure GSS-API mechanisms are loaded if gss_acquire_cred is called with a null mechanism list.` Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-12-02T10:10:27.000000Z K 7 svn:log V 629 Add two new sysctls in support of the forthcoming procstat(1) to support its -f and -v arguments: kern.proc.filedesc - dump file descriptor information for a process, if debugging is permitted, including socket addresses, open flags, file offsets, file paths, etc. kern.proc.vmmap - dump virtual memory mapping information for a process, if debugging is permitted, including layout and information on underlying objects, such as the type of object and path. These provide a superset of the information historically available through the now-deprecated procfs(4), and are intended to be exported in an ABI-robust form. END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-12-02T10:17:30.000000Z K 7 svn:log V 252 MFC: rev. 1.144 sys/netinet/tcp_output.c Let opt be an array. Though &opt[0] == opt == &opt, &opt is highly confusing and hard to understand so change it to just opt and remove the extra cast no longer/not needed. Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-12-02T10:32:49.000000Z K 7 svn:log V 347 MFC: rev. 1.303 sys/netinet/tcp_subr.c [1] rev. 1.135 sys/netinet/tcp_syncache.c rev. 1.145 sys/netinet/tcp_output.c Unbreak TCP-MD5 signature calculations. Submitted by: Nick Hilliard (see net@) [1] Tested by: Nick Hilliard (see net@) Tested by: tools/regression/netinet/tcpconnect Approved by: re (kensmith) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-12-02T12:49:28.000000Z K 7 svn:log V 1504 Close a race. The RAS implementation would set the end address, then the start address. These were used by the kernel to restart a RAS sequence if it was interrupted. When the thread switching code ran, it would check these values and adjust the PC and clear them if it did. However, there's a small flaw in this scheme. Thread T1, sets the end address and gets preempted. Thread T2 runs and also does a RAS operation. This resets end to zero. Thread T1 now runs again and sets start and then begins the RAS sequence, but is preempted before the RAS sequence executes its last instruction. The kernel code that would ordinarily restart the RAS sequence doesn't because the PC isn't between start and 0, so the PC isn't set to the start of the sequence. So when T1 is resumed again, it is at the wrong location for RAS to produce the correct results. This causes the wrong results for the atomic sequence. The window for the first race is 3 instructions. The window for the second race is 5-10 instructions depending on the atomic operation. This makes this failure fairly rare and hard to reproduce. Mutexs are implemented in libthr using atomic operations. When the above race would occur, a lock could get stuck locked, causing many downstream problems, as you might expect. Also, make sure to reset the start and end address when doing a syscall, or a malicious process could set them before doing a syscall. Reviewed by: imp, ups (thanks guys) Pointy hat to: cognet MFC After: 3 days END K 10 svn:author V 5 guido K 8 svn:date V 27 2007-12-02T13:00:47.000000Z K 7 svn:log V 668 Consider the following situation: 1. A packet comes in that is to be forwarded 2. The destination of the packet is rewritten by some firewall code 3. The next link's MTU is too small 4. The packet has the DF bit set Then the current code is such that instead of setting the next link's MTU in the ICMP error, ip_next_mtu() is called and a guess is sent as to which MTU is supposed to be tried next. This is because in this case ip_forward() is called with srcrt set to 1. In that case the ia pointer remains NULL but it is needed to get the MTU of the interface the packet is to be sent out from. Thus, we always set ia to the outgoing interface. MFC after: 2 weeks END