Ħ~171484 151 146 171 429 191 518 328 151 241 130 216 247 182 316 179 277 271 828 303 296 227 229 501 800 271 689 660 236 227 213 194 699 296 718 578 790 366 233 239 880 1398 1038 1363 627 276 124 241 199 591 240 258 190 208 212 736 241 188 200 185 410 138 335 127 206 424 546 453 341 1987 332 356 275 405 743 326 395 674 496 269 147 465 377 157 158 174 369 143 346 149 1902 144 487 968 234 942 239 179 664 169 155 141 194 365 158 157 221 188 320 156 308 156 382 214 131 387 203 351 415 147 651 191 154 189 310 458 251 641 230 757 694 1210 206 163 147 171 222 461 198 154 209 157 273 174 198 228 182 130 149 139 447 248 195 K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-07-18T04:47:59.000000Z K 7 svn:log V 49 MFC 1.59: Add back a mistakenly-removed 'break'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-07-18T04:57:32.000000Z K 7 svn:log V 74 MFC: archive_entry_copy_gname() and archive_entry_copy_uname() functions. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-07-18T18:07:15.000000Z K 7 svn:log V 336 Make fstest work out-of-the-box on Solaris: - Solaris' setgroups(2) doesn't change process' effective gid, so set it explicitly. - POSIX doesn't define O_NOFOLLOW. FreeBSD returns EMLINK when target is a symbolic link, but Solaris returns ELOOP then. - Solaris doesn't define O_SHLOCK and O_EXLOCK flags. Approved by: re (rwatson) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-18T20:38:13.000000Z K 7 svn:log V 98 - Add the proper lock profiling calls to _thread_lock(). Obtained from: kipmacy Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-18T20:46:06.000000Z K 7 svn:log V 424 - Remove the global definition of sched_lock in mutex.h to break new code and third party modules which try to depend on it. - Initialize sched_lock in sched_4bsd.c. - Declare sched_lock in sparc64 pmap.c and assert that we're compiling with SCHED_4BSD to prevent accidental crashes from running ULE. This is the sole remaining file outside of the scheduler that uses the global sched_lock. Approved by: re END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-19T03:34:50.000000Z K 7 svn:log V 231 MFp4: Rework on tmpfs's mapped read/write procedures. This should finally fix fsx test case. The printf's added here would be eventually turned into assertions. Submitted by: Mingyan Guo (mostly) Approved by: re (tmpfs blanket) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-19T06:57:46.000000Z K 7 svn:log V 55 Remove unused FSF source files. Approved by: re (hrs) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-19T06:57:46.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171490, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-07-19T07:22:00.000000Z K 7 svn:log V 38 MFC 1.59: Update portaudit location END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-07-19T08:14:28.000000Z K 7 svn:log V 124 Make clear that WITHOUT_TOOLCHAIN cannot be applied to build targets. PR: 114220 Reviewed by: simon Approved by: re (hrs) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-19T08:49:16.000000Z K 7 svn:log V 153 - Calling sched_nice() in tdsigwakeup() is no longer required by ULE and actually causes LORs and other panics. Reported by: mlaier Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-19T08:58:40.000000Z K 7 svn:log V 89 - Remove explicit references to sched_lock. A simpler assert will do. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-07-19T09:16:40.000000Z K 7 svn:log V 224 Restore behavior changed with rev. 1.46 and make IPV6_IPSEC_POLICY always visible again. This unbreaks some third party user space applications. PR: 114491 Reported by: sumikawa Reviewed by: sumikawa Approved by: re (hrs) END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-07-19T09:57:54.000000Z K 7 svn:log V 88 Replace hard coded options by their defined PFIL_{IN,OUT} names. Approved by: re (hrs) END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-07-19T11:22:34.000000Z K 7 svn:log V 184 Note that module should return EOPNOTSUPP for both unrecognized *and* unsupported values of `what'. Submitted by: kevlo Discussed on: cvs-doc@ Approved by: re (hrs) MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-07-19T14:31:52.000000Z K 7 svn:log V 173 MFC better error handling from archive_string_ensure() failures. Several key users of this function now simply return ENOMEM to the caller instead of aborting the program. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-07-19T16:16:00.000000Z K 7 svn:log V 730 - Enable static building of mxge(4) and its firmware. - Add custom .c wrappers for the firmware, rather than the standard firmware(9) generated firmware objects to work around toolchain problems on ia64 involving linking objects produced by ld -b -binary into the kernel. - Move from using Myricom's ".dat" firmware blobs to using Myricom's zlib compressed ".h" firmware header files. This is done to facilitate the custom wrappers, and saves a fair amount of wired memory in the case where the firmware is built in, or preloaded. - Fix two compile issues in mxge which only appear on non-i386/amd64. Reviewed by: mlaier, mav (earlier version with just zlib support) Glanced at by: sam Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-07-19T17:02:24.000000Z K 7 svn:log V 211 Regenerate after changing src/tools/build/options/WITHOUT_TOOLCHAIN stating that WITHOUT_TOOLCHAIN cannot be applied to build targets. Reminded by: Niclas Zeising niclas.zeising gmail.com Approved by: re (hrs) END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-07-19T17:12:02.000000Z K 7 svn:log V 202 MFC: Fix kbdmux(4) issue with backslash/underscore key not working on Japanese 106/109 keyboard. PR: kern/112214, kern/99090 Submitted by: TAKAHASHI Yoshihiro, TOMITA Yoshinori Approved by: re (hrs) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-07-19T17:23:20.000000Z K 7 svn:log V 134 Document support for M_NOWAIT by the new implementation of contigmalloc(9) in HEAD. Approved by: re (hrs) Reviewed by: Michael Plass END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-07-19T18:46:32.000000Z K 7 svn:log V 136 MFC: Close race conditions between fork() and [sg]etpriority()'s PRIO_USER case, and possibly also other places that deference p_ucred. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-19T19:51:45.000000Z K 7 svn:log V 407 - When newtd is specified to sched_switch() it was not being initialized properly. We have to temporarily unlock the TDQ lock so we can lock the thread and add it to the run queue. This is used only for KSE. - When we add a thread from the tdq_move() via sched_balance() we need to ipi the target if it's sitting in the idle thread or it'll never run. Reported by: Rene Landan Approved by: re END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-07-19T20:03:15.000000Z K 7 svn:log V 706 - Refine the load balancer to improve buildkernel times on dual core machines. - Leave the long-term load balancer running by default once per second. - Enable stealing load from the idle thread only when the remote processor has more than two transferable tasks. Setting this to one further improves buildworld. Setting it higher improves mysql. - Remove the bogus pick_zero option. I had not intended to commit this. - Entirely disallow migration for threads with SRQ_YIELDING set. This balances out the extra migration allowed for with the load balancers. It also makes pick_pri perform better as I had anticipated. Tested by: Dmitry Morozovsky Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-07-19T21:00:08.000000Z K 7 svn:log V 178 Update the default FILESYSTEMS value in a comment to note that ext2fs is included in the default list in the locate.updatedb script. Approved by: re (bmah) Inspired by: mwlucas END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-19T22:34:25.000000Z K 7 svn:log V 592 Attempt to improve feature parity between UDPv4 and UDPv6 by merging UDPv4 features to UDPv6: - Add MAC checks on delivery and MAC labeling on transmit. - Check for (and reject) datagrams with destination port 0. - For multicast delivery, check the source port only if the socket being considered as a destination has been connected. - Implement UDP blackholing based on net.inet.udp.blackhole. - Add a new ICMPv6 unreachable reply rate limiting category for failed delivery attempts and implement rate limiting for UDPv6 (submitted by bz). Approved by: re (kensmith) Reviewed by: bz END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-20T00:25:20.000000Z K 7 svn:log V 563 Add legacy interrupt handler which would be more appropriate for interrupt that is shared with other devices(e.g. USB) in system and provide a new tunable "hw.msk.legacy_intr" to activate the legacy interrupt handler. Setting the tunable automatically disables MSI for msk(4). Previously msk(4) used adoptive polling with taskqueue(9) as all msk(4) hardwares I know supports MSI. However, there are cases that MSI couldn't be used on some hardwares due to bugs in MSI implementatins. Tested by: Li-Lun Wang < llwang AT infor DOT org > Approved by: re (kensmith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-07-20T01:24:49.000000Z K 7 svn:log V 138 Don't exit immediately on libarchive warnings, just set the delayed return value and keep going. Approved by: re (hrs) MFC after: 7 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-07-20T01:27:50.000000Z K 7 svn:log V 129 Fill in some casts that are needed (according to GCC 4.1) Thanks to: Joerg Sonnenberger Approved by: re (hrs) MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-07-20T01:28:50.000000Z K 7 svn:log V 115 Fix a strict aliasing warning from GCC 4.1. Thanks to: Joerg Sonnenberger Approved by: re (hrs) MFC after: 3 days END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-07-20T03:42:57.000000Z K 7 svn:log V 97 Protect transaction labels by its own lock to reduce lock contention. Approved by: re (rwatson) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-07-20T06:55:11.000000Z K 7 svn:log V 606 Two changes to vm_fault_additional_pages(): 1. Rewrite the backward scan. Specifically, reverse the order in which pages are allocated so that upon failure it is never necessary to free pages that were just allocated. Moreover, any allocated pages can be put to use. This makes the backward scan behave just like the forward scan. 2. Eliminate an explicit, unsynchronized check for low memory before calling vm_page_alloc(). It serves no useful purpose. It is, in effect, optimizing the uncommon case at the expense of the common case. Approved by: re (hrs) MFC after: 3 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-07-20T08:35:18.000000Z K 7 svn:log V 199 i386_set_ioperm, i386_get_ldt and i386_set_ldt are now MPSAFE (Giant/sched_lock free) so remove unuseful Giant cruft. Approved by: jeff Approved by: re Sponsorized by: NGX Italy (http://www.ngx.it) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-07-20T08:43:42.000000Z K 7 svn:log V 621 Fix some problems with lock profiling in rw locks: - Adjust lock_profiling stubs semantic in the hard functions in order to be more accurate and trustable - As for sx locks, disable shared paths for lock_profiling. Actually, lock_profiling has a subtle race which makes results caming from shared paths not completely trustable. A macro stub (LOCK_PROFILING_SHARED) can be actually used for re-enabling this paths, but is currently intended for developing use only. - style(9) fixes Approved by: jeff, kmacy, jhb[1] Approved by: re [1] Had initial reservations not shared by others, conceded in the end. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-07-20T09:41:54.000000Z K 7 svn:log V 485 ttyfree() frees the cdev(). But if there are pending kevents, filt_ttyrdetach() etc would later attempt to dereference cdev->si_tty, causing a 0xdeadc0de dereference. Change kn_hook value from cdev to struct tty to avoid dereferencing freed cdev. In ttygone(), wake up select(), sigio and kevent() users in addition to the queue sleepers. Return EV_EOF from kevent filters if TS_GONE is set. Submitted by: peter Tested by: Peter Holm Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-20T11:14:51.000000Z K 7 svn:log V 693 Make sure we release the control vnode in Coda: We allocate coda_ctlvp when /coda is mounted, but never release it. During the unmount this vnode was marked as UNMOUNTING and when venus is started a second time the system would hang, possibly waiting for the old vnode to disappear. So now we call vrele on the control vnode when file system is unmounted to drop the reference we got during the mount. I'm pretty sure it is also necessary to not skip the handling in coda_inactive for the control vnode, it seems like that is the place we actually get rid of the vnode once the refcount has dropped to 0. Submitted by: Jan Harkes Approved by: re (kensmith) END K 10 svn:author V 5 sephe K 8 svn:date V 27 2007-07-20T11:38:12.000000Z K 7 svn:log V 271 In add_channel(), search 11g channels if mode is AUTO and corresponding 11b channel is not found, e.g. Atheros 5211. Reported by: matteo Problem outlined by: thompsa Reviewed by: sam, thompsa Approved by: re (kensmith), sam (mentor) Tested by: matteo (an early version) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-20T15:29:34.000000Z K 7 svn:log V 136 MFC: Close race conditions between fork() and [sg]etpriority()'s PRIO_USER case, and possibly also other places that deference p_ucred. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-07-20T15:48:02.000000Z K 7 svn:log V 145 New release notes: ixgb (no manpage) ISDN4BSD, ng_h4, and netatm disconnected Modified release note: ULE (3.0) Approved by: re (implicitly) END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-07-20T16:21:47.000000Z K 7 svn:log V 787 Clean up before implementing vfs clustering for msdosfs: In msdosfs_read(), mainly reorder the main loop to the same order as in ffs_read(). In msdosfs_write() and extendfile(), use vfs_bio_clrbuf() instead of clrbuf(). I think this just just a bogus optimization, but ffs always does it and msdosfs already did it in one place, and it is what I've tested. In msdosfs_write(), merge good bits from a comment in ffs_write(), and fix 1 style bug. In the main comment for msdosfs_pcbmap(), improve wording and catch up with 13 years of changes in the function. This comment belongs in VOP_BMAP.9 but that doesn't exist. In msdosfs_bmap(), return EFBIG if the requested cluster number is out of bounds instead of blindly truncating it, and fix many style bugs. Approved by: re (hrs) END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-07-20T17:06:57.000000Z K 7 svn:log V 1304 Implement vfs clustering for msdosfs. This gives a very large speedup for small block sizes (in my tests, about 5 times for write and 3 times for read with a block size of 512, if clustering is possible) and a moderate speedup for the moderatatly large block sizes that should be used on non-small media (4K is the best size in most cases, and the speedup for that is about 1.3 times for write and 1.2 times for read). mmap() should benefit from clustering like read()/write(), but the current implementation of vm only supports clustering (at least for getpages) if the fs block size is >= PAGE SIZE. msdosfs is now only slightly slower than ffs with soft updates for writing and slightly faster for reading when both use their best block sizes. Writing is slower for msdosfs because of more sync writes. Reading is faster for msdosfs because indirect blocks interfere with clustering in ffs. The changes in msdosfs_read() and msdosfs_write() are simpler merges of corresponding code in ffs (after fixing some style bugs in ffs). msdosfs_bmap() needs fs-specific code. This implementation loops calling a lower level bmap function to do the hard parts. This is a bit inefficient, but is efficient enough since msdsfs_bmap() is only called when there is physical i/o to do. Approved by: re (hrs) END K 10 svn:author V 2 se K 8 svn:date V 27 2007-07-20T23:02:01.000000Z K 7 svn:log V 946 Fix Symbios driver on amd64: Since amd64 has 64 bit pointers but the same 4KB pages as i386, data structures that just fit in one page on i386 (and on 64 bit architectures with 8KB pages) can be distributed over two pages on amd64. This is a porblem in the case of the Symbios driver, since the SCRIPTS engine in the SCSI chip operates on physical addresses and needs physically contiguous memory. Earlier patches used contigmalloc on amd64, but this version replaces part of a structure by a pointer to that data. In order to not introduce an extra indirection for other architectures, the change has been made conditional on __amd64__. Earlier attempts to repair this problem are removed (i.e. the macros that made amd64 use contigmalloc). The fix was submitted by Jan Mikkelsen and modified by me to only affect amd64. PR: 89550 Submitted by: janm at transactionware dot com (Jan Mikkelsen) Approved by: re (Hiroki Sato) MFC after: 2 weeks END K 10 svn:author V 3 scf K 8 svn:date V 27 2007-07-20T23:30:13.000000Z K 7 svn:log V 1269 Added environ-replacement detection. For programs that "clean" (i.e., su) or replace (i.e., zdump) the environment after a call to setenv(), putenv() or unsetenv() has been made, a few changes were made. - getenv() will return the value from the new environ array. - setenv() was split into two functions: __setenv() which is most of the previous setenv() without checks on the name and setenv() which contains the checks before calling __setenv(). - setenv(), putenv() and unsetenv() will unset all previous values and call __setenv() on all entries in the new environ array which in turn adds them to the end of the envVars array. Calling __setenv() instead of setenv() is done to avoid the temporary replacement of the '=' in a string with a NUL byte. Some strings may be read-only data. Added more regression checks for clearing the environment array. Replaced gettimeofday() with getrusage() in timing regression check for better accuracy. Fixed an off-by-one bug in __remove_putenv() in the use of memmove(). This went unnoticed due to the allocation of double the number of environ entries when building envVars. Fixed a few spelling mistakes in the comments. Reviewed by: ache Approved by: wes Approved by: re (kensmith) END K 10 svn:author V 8 truckman K 8 svn:date V 27 2007-07-21T00:01:09.000000Z K 7 svn:log V 529 MFC ObsoleteFiles.inc 1.91, 1.92, and 1.93: 1.91 - When /usr/sbin/xten went away back in 2003, /usr/libexec/xtend was overlooked. 1.92 - The archive_write_prepare.3 man page was removed in November 2006. The wpa man pages were moved to section 8 in June 2005. The clean_environment() function was removed from libutil in February 2004, so its man page is well overdue for removal. 1.93 - Nuke man page links that were orphaned by vendor branch import of TrustedBSD OpenBSM 1.0 alpha 6. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-07-21T00:27:17.000000Z K 7 svn:log V 181 - Correctly substitute variables like @NCURSES_MAJOR@ in manual pages PR: doc/114711 Submitted by: Yuri Pankov Approved by: re (bmah) MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-21T16:44:40.000000Z K 7 svn:log V 28 MFC: Remove unneeded files. END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-07-21T18:07:45.000000Z K 7 svn:log V 148 Do not forget to cam_periph_unhold the peripheral before exiting due to error. PR: kern/114636 Submitted by: Tijl Coosemans Approved by: re (hrs) END K 10 svn:author V 3 kan K 8 svn:date V 27 2007-07-21T20:52:32.000000Z K 7 svn:log V 106 Put local symbol suppression rule into most recent (e.g. last) version block. Approved by: re (kensmith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-07-21T21:41:32.000000Z K 7 svn:log V 498 - remove duplicate code from sctp_asconf.c - remove duplicate #include that is not under #ifdef FreeBSD version to allow compile on 6.1 - static analysis changes per the cisco SA tool including: o some SA_IGNORE comments o some checks for NULL before unlock. o type corrections int -> size_t - Fix it so sctp_alloc_asoc takes a thread/proc argument. Without this we pass a NULL in to bind on implicit assoc setup and crash :-( Approved by: re@freebsd.org(Ken Smith) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-07-21T22:17:06.000000Z K 7 svn:log V 143 MFC: 1.173: Perform range check before allocating memory when reading extended attributes. Reviewed by: kib PR: 114389 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-07-21T22:24:07.000000Z K 7 svn:log V 161 MFC 1.148: When parsing mount options, accept "shortnames" and "longnames" in addition to "shortname" and "longname". Submitted by: Eugene Grosbein PR: 114776 END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-22T03:45:35.000000Z K 7 svn:log V 98 Add some additional devices. Submitted by: HPS hselasky at c2i dot net Approved by: re (blanket) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-07-22T06:44:10.000000Z K 7 svn:log V 113 Use bus_get_dma_tag() to obtain the parent DMA tag. Reviewed by: sam, sephe, thompsa Approved by: re (kensmith) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-07-22T06:48:34.000000Z K 7 svn:log V 117 Include the header which includes the prerequisite header for AUE_NULL. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-22T12:18:31.000000Z K 7 svn:log V 639 Vendor import TrustedBSD OpenBSM 1.0 alpha 15, with the following change history since the last import: OpenBSM 1.0 alpha 15 - Fix bug when processing in_addr_ex tokens. - Restore the behavior of printing the string/text specified while auditing arg32 tokens. - Synchronized audit event list to Solaris, picking up the *at(2) system call definitions, now required for FreeBSD and Linux. Added additional events for *at(2) system calls not present in Solaris. - Bugs in auditreduce(8) fixed allowing partial date strings to be used in filtering events. Approved by: re (hrs) MFC after: 3 weeks Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-22T12:18:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171537, 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 2007-07-22T12:18:32.000000Z K 7 svn:log V 92 This commit was manufactured by cvs2svn to create tag 'openbsm-vendor-OPENBSM_1_0_ALPHA_15'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-22T12:20:42.000000Z K 7 svn:log V 103 Resolve conflicts from import of OpenBSM 1.0 alpha15 ($FreeBSD$/$P4$ conflict). Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-22T12:22:25.000000Z K 7 svn:log V 89 Update generated OpenBSM config.h for OpenBSM 1.0 alpha15 update. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-22T12:28:13.000000Z K 7 svn:log V 313 Merge OpenBSM 1.0 alpha 15 changes to src/sys/bsm: - Synchronized audit event list to Solaris, picking up the *at(2) system call definitions, now required for FreeBSD and Linux. Added additional events for *at(2) system calls not present in Solaris. Obtained from: TrustedBSD Project Approved by: re (hrs) END K 10 svn:author V 3 des K 8 svn:date V 27 2007-07-22T15:14:40.000000Z K 7 svn:log V 46 Whitespace cleanup Approved by: re (rwatson) END K 10 svn:author V 3 des K 8 svn:date V 27 2007-07-22T15:17:29.000000Z K 7 svn:log V 242 Apply the same error checks to PAM_TTY in pam_sm_close_session() as in pam_sm_open_session(), avoiding false negatives when no tty is present. Submitted by: Todd C. Miller Approved by: re (rwatson) MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-22T15:59:45.000000Z K 7 svn:log V 35 WISPY added an X. Approved by: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-22T18:29:18.000000Z K 7 svn:log V 113 Change new Wi-Spy device name to Wi-Spy 2.4x. Submitted by: Brix Andersen Approved by: re@ (blanket) PR: 114807 END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-07-22T20:45:27.000000Z K 7 svn:log V 331 The HPET appears to be broken on silby's Acer Pentium M system, never advancing. Read from the timer before attaching to be sure it advances in 1 us. Since the slowest rate allowed by the spec is 10 MHz, the timer is guaranteed to change in this interval if it is working. Tested by: Rui Paulo Approved by: re MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-22T20:53:28.000000Z K 7 svn:log V 449 ndis will signal the kthread to exit and then sleep on the proc pointer to be woken up by kthread_exit. This is racey and in some cases the kthread will exit before ndis gets around to sleep so it will be stuck indefinitely. This change reuses the kq_exit variable to indicate that the thread has gone and will loop on tsleep with a timeout waiting for it. If the kthread has already exited then it will not sleep at all. Approved by: re (rwatson) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-07-22T21:35:44.000000Z K 7 svn:log V 356 Preprocessing stub "KSE" breaks ABI either with modules and userspace consumers. This patch makes KSE no more an optionally stub for kernel structures fixing the breakage. As a tail note, this bug has broken kqemu for a long period now. Tested by: Ulf Lilleengen Discussed with: rwatson, jeff Approved by: jeff (mentor) Approved by: re END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-23T06:54:58.000000Z K 7 svn:log V 244 MFp4: When swapping is not enabled, allow creating files by taking physical memory pages into account for tm_maxfilesize. Reported by: Dominique Goncalves Submitted by: Howard Su Approved by: re (tmpfs blanket) END K 10 svn:author V 3 bde K 8 svn:date V 27 2007-07-23T07:10:17.000000Z K 7 svn:log V 1893 Make using msdosfs as the root file system sort of work: o Initialize ownerships and permissions. They were garbage (0) for root mounts since vfs_mountroot_try() doesn't ask for them to be set and msdosfs's old incomplete code to set them was removed. The garbage happened to give the correct ownerships root:wheel, but it gave permissions 000 so init could not be execed. Use the macros for root: wheel and 0755. (The removed code gave 0:0 and 0777. 0755 is more normal and secure, thought wrong for /tmp.) o Check the readonly flag for initial (non-MNT_UPDATE) mounts in the correct place, as in ffs. For root mounts, it is only passed in mp->mnt_flags, since vfs_mountroot_try() only passes it as a flag and nothing translates the flag to the "ro" option string. msdosfs only looked for it in the string, so it gave a rw mount for root mounts without even clearing the flag in mp->mnt_flags, so the final state was inconsistent. Checking the flag only in mp->mnt_flags works for initial userland mounts too. The MNT_UPDATE case is messier. The main point that should work but doesn't is fsck of msdosfs root while it is mounted ro. This needs mainly MNT_RELOAD support to work. It should be possible to run fsck -p and succeed provided the fs is consistent, not just for msdosfs, but this fails because fsck -p always tries to open the device rw. The hack that allows open for writing in ffs is not implemented in msdosfs, since without MNT_RELOAD support writing could only be harmful. So fsck must be turned off to use msdosfs as root. This is quite dangerous, since msdosfs is still missing actually using its fs-dirty flag internally, so it is happy to mount dirty fileystems rw. Unrelated changes: - Fix missing error handling for MNT_UPDATE from rw to ro. - Catch up with renaming msdos to msdosfs in a string. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-23T07:58:58.000000Z K 7 svn:log V 235 Continue effort to align UDPv4 and UDPv6 implementations by merging udp6_output() from udp6_output.c to udp6_usrreq.c, matching the UDPv4 structure, and allowing us to remove udp6_output.c. Reviewed by: bz, gnn Approved by: re (bmah) END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-07-23T09:42:32.000000Z K 7 svn:log V 258 If clock_ct_to_ts fails to convert time time from the real time clock, print a one line error message. Add some comments on not being able to trust the day of week field (I'll act on these comments in a follow up commit). Approved by: re MFC after: 3 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-07-23T11:37:10.000000Z K 7 svn:log V 180 MFC 1.2: The wpa_passphrase(8) manual page states that it first appeared in FreeBSD 6.2, but it didn't make it into RELENG_6_2. Update the manual page to say "FreeBSD 6.3". END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-23T13:28:54.000000Z K 7 svn:log V 308 When checking labels during a vnode link operation in MLS, use the file vnode label for a check rather than the directory vnode label a second time. MFC after: 3 days Submitted by: Zhouyi ZHOU Reviewed by: csjp Sponsored by: Google Summer of Code 2007 Approved by: re (bmah) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-07-23T14:52:22.000000Z K 7 svn:log V 646 Actually, KSE kernel bits locking is broken and can lead likely to dangerous races. Fix this problems adding correct locking for the members of 'struct kse_upcall' and other struct proc/struct thread related members. For the moment, just leave ku_mflag and ku_flags "lazy" locked. While here, cleanup the code removing the function kse_GC() (unused), and merging upcall_link(), upcall_unlink(), upcall_stash() in their respective callers (static functions, very short and only called in one place). Reported by: pav Tested by: pav (on some pointyhat cluster nodes) Approved by: jeff Approved by: re Sponsorized by: NGX Italy (http://www.ngx.it) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-07-23T15:40:26.000000Z K 7 svn:log V 233 MFC: Restore netstat -M functionality for most statistics on core dumps. One change in this patch relative to the changes in HEAD is that the mroute statistics will still fallback to using libkvm on live kernels if the sysctl fails. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-07-23T23:16:53.000000Z K 7 svn:log V 298 upcall_free() was only used in kse_GC() which has been removed so it now results unused; this, with -Werror option of gcc, rise a warning for gcc which let the buildkernel to be busted. Fix this removing upcall_free(). Reported by: various Approved by: jeff Approved by: re Pointy hat to: attilio END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-24T01:11:00.000000Z K 7 svn:log V 577 Don't fail on device attach if jumbo frame support was unsuccessful. Because nfe(4) hardware doesn't support SG on Rx path, supporting jumbo frame requires very large contiguous kernel memory(i.e. several mega bytes). In case of lack of contiguous kernel memory that allocation request may always fail. However nfe(4) can operate on normal sized MTU frames, so go ahead and just disable jumbo frame support. While I'm here add a new tunable "hw.nfe.jumbo_disable" to disable jumbo frame support. In nfe_poll, make sure to invoke correct Rx handler. Approved by: re (kensmith) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-24T01:24:03.000000Z K 7 svn:log V 399 Add MSI support. Ever since switching to adaptive polling re(4) occasionally spews watchdog timeouts on systems with MSI capability. This change is minimal one for supporting MSI and re(4) also needs MSIX support for RTL8111C in future. Because softc structure of re(4) is shared with rl(4), rl(4) was touched to use the modified softc. Reported by: cnst Tested by: cnst Approved by: re (kensmith) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-07-24T01:48:10.000000Z K 7 svn:log V 174 MFC ncurse manual page changes - Correctly substitute variables like @NCURSES_MAJOR@ in manual pages PR: doc/114711 Submitted by: Yuri Pankov END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-24T06:41:07.000000Z K 7 svn:log V 51 Stop mentioning /usr/X11R6. Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-07-24T13:06:08.000000Z K 7 svn:log V 370 Set timeout for all NIS RPC requests to 1 second and not just for yp_next as revision 1.50 did. This should fix, or at least very much reduce the risk of, NIS timing out due to UDP packet loss for NIS functions. See also revision 1.50 for more details about the general problem. Tested by: nosedive, freefall, hub, mx1, brooks MFC after: 1 week Approved by: re (mux) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-24T14:44:23.000000Z K 7 svn:log V 284 Add support for ShanTou ST268 usb nic. This is from a patch for NetBSD the PR pointed to. This appears to have been written by Julian Suschlik. Submitted by: Kuan-Chung Chiu Obtained from: http://www.nabble.com/Patch-for-udav(4)-t4070804.html PR: 114860 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-24T14:49:25.000000Z K 7 svn:log V 65 Add ChanTou ST268 USB NIC PR: 114860 Approved by: re@ (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-24T14:51:21.000000Z K 7 svn:log V 66 Add some additional cross references. Approved by: re@ (blanket) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-07-24T15:00:43.000000Z K 7 svn:log V 82 Update assertion after revision 1.23. Reviewed by: dfr Approved by: re (rwatson) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-07-24T15:35:02.000000Z K 7 svn:log V 273 Introduce Danny Braniss' iSCSI initiator, version 2.0.99. Please read the included man pages on how to use it. This code is still somewhat experimental but has been successfully tested on a number of targets. Many thanks to Danny for contributing this. Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-07-24T16:58:18.000000Z K 7 svn:log V 48 Attach the iscsi module build. Approved by: re END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-07-24T17:14:53.000000Z K 7 svn:log V 249 MFp4: Force 64-bit arithmatic when caculating the maximum file size. This fixes tmpfs caculations on 32-bit systems equipped with more than 4GB swap. Reported by: Craig Boston PR: kern/114870 Approved by: re (tmpfs blanket) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-07-24T18:08:16.000000Z K 7 svn:log V 52 First round of cleanups. Approved by: re (blanket) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-07-24T20:06:02.000000Z K 7 svn:log V 1808 - take out a needless panic under invariants for sctp_output.c - Fix addrs's error checking of sctp_sendx(3) when addrcnt is less than SCTP_SMALL_IOVEC_SIZE - re-add back inpcb_bind local address check bypass capability - Fix it so sctp_opt_info is independant of assoc_id postion. - Fix cookie life set to use MSEC_TO_TICKS() macro. - asconf changes o More comment changes/clarifications related to the old local address "not" list which is now an explicit restricted list. o Rename some functions for clarity: - sctp_add/del_local_addr_assoc to xxx_local_addr_restricted() - asconf related iterator functions to sctp_asconf_iterator_xxx() o Fix bug when the same address is deleted and added (and removed from the asconf queue) where the ifa is "freed" twice refcount wise, possibly freeing it completely. o Fix bug in output where the first ASCONF would not go out after the last address is changed (e.g. only goes out when retransmitted). o Fix bug where multiple ASCONFs can be bundled in the same packet with the and with the same serial numbers. o Fix asconf stcb iterator to not send ASCONF until after all work queue entries have been processed. o Change behavior so that when the last address is deleted (auto asconf on a bound all endpoint) no action is taken until an address is added; at that time, an ASCONF add+delete is sent (if the assoc is still up). o Fix local address counting so that address scoping is taken into account. o #ifdef SCTP_TIMER_BASED_ASCONF the old timer triggered sending of ASCONF (after an RTO). The default now is to send ASCONF immediately (except for the case of changing/deleting the last usable address). Approved by: re(ken smith)@freebsd.org END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-07-25T02:55:30.000000Z K 7 svn:log V 48 MFC 1.164: Terminate ext2_opts array with NULL. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-25T06:43:06.000000Z K 7 svn:log V 394 ums(4) does not work if the mouse defaults to boot protocol. Force the protocol to be report on each open, but ignore any errors as set protocol for mice that don't implement the boot protocol can generate an error. Evidentally, the Gyration GyroPoint RF Technology Receiver (Gyration Ultra Cordless) device has this problem. Submitted by: Eugene M. Kim PR: 106565 Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-25T06:48:33.000000Z K 7 svn:log V 875 Fix absolutely maddening autorepeat bug that would cause the last key to repeat if you had more than two keys down at any given time (which happened to me all the time with emacs). This is taken from PR 110681, although what URATAN Shigenobu describes there is different than the pathology that I have been seeing. I'm seeing this only in X, while he sees it on his console, yet I think the two problems are related. I've also reworked the patch slightly to conform to the coding standards of adjacent code. It is unclear to me if this merely masks the maddening bug that I have seen, or if this is a real fix. I typically see the problem when I'm typing fast in emacs and using lots of motion keys (meta and control). In either case, my workstation at work again is finally useful with this patch. PR: 110681 Submitted by: URATAN Shigenobu Approved by: re (blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-07-25T07:11:08.000000Z K 7 svn:log V 141 Start to converge on standard ways of saying some things like Ethernet and Adapter. Obtained from: NetBSD (kinda) Approved by: re (blanket) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-07-25T08:12:36.000000Z K 7 svn:log V 847 Vendor import of 9.4.1-P1, which has fixes for the following: 1. The default access control lists (acls) are not being correctly set. If not set anyone can make recursive queries and/or query the cache contents. See also: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2925 2. The DNS query id generation is vulnerable to cryptographic analysis which provides a 1 in 8 chance of guessing the next query id for 50% of the query ids. This can be used to perform cache poisoning by an attacker. This bug only affects outgoing queries, generated by BIND 9 to answer questions as a resolver, or when it is looking up data for internal uses, such as when sending NOTIFYs to slave name servers. All users are encouraged to upgrade. See also: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2926 Approved by: re (kensmith, implicit) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-07-25T08:12:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r171577, 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 2007-07-25T08:12:37.000000Z K 7 svn:log V 83 This commit was manufactured by cvs2svn to create tag 'bind9-vendor-BIND_9_4_1_P1'. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-07-25T08:24:40.000000Z K 7 svn:log V 569 Update to 9.3.4-P1, which fixes the following: The DNS query id generation is vulnerable to cryptographic analysis which provides a 1 in 8 chance of guessing the next query id for 50% of the query ids. This can be used to perform cache poisoning by an attacker. This bug only affects outgoing queries, generated by BIND 9 to answer questions as a resolver, or when it is looking up data for internal uses, such as when sending NOTIFYs to slave name servers. All users are encouraged to upgrade. See also: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2926 END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T13:16:39.000000Z K 7 svn:log V 77 MFC rev. 1.1198 Add static build depends for ng_deflate, ng_nat and ng_sppp. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T13:20:29.000000Z K 7 svn:log V 63 MFC rev. 1.1210 Return back NETGRAPH_MPPC_COMPRESSION depends. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T13:32:48.000000Z K 7 svn:log V 49 MFC rev. 1.40 Compensate low int math precision. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-07-25T13:37:33.000000Z K 7 svn:log V 99 Fix a whitespace mistake from the last commit. Submitted by: far too many to list Approved by: re END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T13:50:57.000000Z K 7 svn:log V 272 MFC rev. 1.15-1.17 - Use the ISO standard function variable vs. a GCC'ism. - Global xmit stats calculation fix. - Avoid false assertion on transmit and delayed ack timeout with enabled invariants. Replace callout_pending() by callout_active() to remove race window. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T14:03:46.000000Z K 7 svn:log V 66 MFC rev. 1.25 - 1.31 Several fixes and performance optimizations. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T14:25:51.000000Z K 7 svn:log V 65 MFC rev. 1.63 - 1.67 Multiple multilink fixes and optimizations. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-07-25T15:19:37.000000Z K 7 svn:log V 127 New release note: iscsi_initiator(8). Updated release notes: BIND 9.4.1-p1, OpenBSM 1.0alpha15. Approved by: re (implicit) END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-07-25T15:55:31.000000Z K 7 svn:log V 96 MFC: Fix an integer overflow and allow access to files larger than 4GB on NTFS. Ok'ed by: le END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-07-25T18:08:01.000000Z K 7 svn:log V 227 Require 'cleanvar' so that files and sockets created in /var/run by wpa_supplicant and other programs started by 'netif' don't get erased by a subsequent 'cleanvar'. Approved by: re (bmah) Reviewed by: dougb MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-07-25T18:48:24.000000Z K 7 svn:log V 62 Fix comments in tcp_do_segment(). Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T19:10:39.000000Z K 7 svn:log V 215 MFC rev. 1.1 of ng_nat.h and rev. 1.5,1.9,1.10 of ng_nat.c - Add support for setmode and settarget messages. - Allow node to bypass traffic while no alias address defined. - Fix result of some mechanical change. END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-25T19:15:05.000000Z K 7 svn:log V 64 MFC rev. 1.3 - Add support for setmode and settarget messages. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-26T06:24:04.000000Z K 7 svn:log V 285 The MAC address was not being set correctly on the lagg interface so all outgoing frames had the src of 00:00:00:00:00:00. We fake enough of if_setlladdr() to set the MAC address without resetting the interface, on RELENG_6 this also requires overwriting _ac_enaddr in struct arpcom. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-07-26T10:54:33.000000Z K 7 svn:log V 117 Honor the IFF_MONITOR flag. PR: kern/99500 Submitted by: Craig Leres Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-07-26T14:45:57.000000Z K 7 svn:log V 38 Updated release note: BIND 9.3.4-p1. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-07-26T15:32:55.000000Z K 7 svn:log V 294 If the trap number stored in the trapframe is corrupted into a negative value, then we would use a negative index into the trap_msg[] array resulting in a nested page fault. Make the 'type' variable holding the trap number unsigned to avoid this. MFC after: 2 weeks Approved by: re (rwatson) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-07-26T16:52:57.000000Z K 7 svn:log V 110 The v_mountedhere field is protected by the vnode lock, not vnode's internal lock. Approved by: re (rwatson) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-07-26T16:58:09.000000Z K 7 svn:log V 258 When we do open, we should lock the vnode exclusively. This fixes few races: - fifo race, where two threads assign v_fifoinfo, - v_writecount modifications, - v_object modifications, - and probably more... Discussed with: kib, ups Approved by: re (rwatson) END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-07-26T18:15:02.000000Z K 7 svn:log V 322 Reduce stack usage by 256 bytes per call. It helps to avoid kernel stack overflow in complicated traffic filtering setups. There can be minor performance degradation for the MHLEN < len <= 256 case due to additional buffer allocation, but it is a rare case. Approved by: re (rwatson), glebius (mentor) MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-07-26T19:08:11.000000Z K 7 svn:log V 55 MFC v1.10: Be sure HPET is working before attaching it END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-26T20:11:16.000000Z K 7 svn:log V 554 Fix up ndis interaction with net80211 - make NDIS_DEBUG a sysctl - default to IEEE80211_MODE_11B if the card doesnt tell us the channels - dont mess with ic_des_chan when we assosciate - Allow a directed scan by setting the ESSID before scanning (verified with wireshark). Hidden APs probably wouldnt have worked before. - Grab the channel type and use it to look up the correct curchan for the scan results (mistakenly used 11B before) - Fix memory leak in the ndis_scan_results Tested by: matteo Reviewed by: sam Approved by: re (rwatson) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-26T20:30:18.000000Z K 7 svn:log V 95 Avoid holding the softc lock when using copyout(). Reported by: dfr Approved by: re (rwatson) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-27T00:43:12.000000Z K 7 svn:log V 58 style(9) Pointed out by: cnst Approved by: re (kensmith) END K 10 svn:author V 5 silby K 8 svn:date V 27 2007-07-27T00:57:06.000000Z K 7 svn:log V 95 Export the contents of the syncache to netstat. Approved by: re (kensmith) MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-27T01:45:01.000000Z K 7 svn:log V 213 MFC if_msk.c, rev 1.16 to RELENG_6. Disable automatic IP ID increment. Due to a hardware bug the automatic IP ID increment in TSO case generated corrupted IP packets. This change brings back TSO capability. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-27T01:48:58.000000Z K 7 svn:log V 361 MFC if_msk.c, rev 1.17 if_mskreg.h, rev 1.5 to RELENG_6. Increase a maximum segment size of DMA to 4096. Previously it used MCLBYTES for the segment size but it used too many Tx descriptors in TSO case. While I'm here adjust maximum size of the sum of all segment lengths in a given DMA mapping to 65535, the maximum size, in bytes, of a IP packet. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-07-27T01:50:54.000000Z K 7 svn:log V 154 MFC if_mskreg.h, rev 1.6 to RELENG_6. The maximum size of the sum of all segment lengths in a given DMA mapping should be 65535 + link layer headers. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-27T08:25:02.000000Z K 7 svn:log V 544 Continue effort to improve parity between UDPv4 and UDPv6: add a missing scope security check for the UDPv6 socket credential lookup service, allowing security policies to bound access to credential information. While not an immediate issue for Jail, which doesn't allow use of UDPv6, this may be relevant to other security policies that may wish to control ident lookups. While here, eliminate a very unlikely panic case, in which a socket in the process of being freed is inspected by the sysctl. Approved by: re (kensmith) Reviewed by: bz END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-07-27T08:40:05.000000Z K 7 svn:log V 132 Modified release notes: - hostapd update to 0.5.8 - wpa_supplicant update to 0.5.8 - KDE update to 3.5.7 Approved by: re (blanket) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2007-07-27T09:21:18.000000Z K 7 svn:log V 660 Actually, upcalls cannot be freed while destroying the thread because we should call uma_zfree() with various spinlock helds. Rearranging the code would not help here because we cannot break atomicity respect prcess spinlock, so the only one choice we have is to defer the operation. In order to do this use a global queue synchronized through the kse_lock spinlock which is freed at any thread_alloc() / thread_wait() through a call to thread_reap(). Note that this approach is not ideal as we should want a per-process list of zombie upcalls, but it follows initial guidelines of KSE authors. Tested by: jkim, pav Approved by: jeff, julian Approved by: re END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-07-27T09:34:42.000000Z K 7 svn:log V 596 It seems that some i386 mothermoards either do not implement the day of week field correctly, or they remember bad values that are written into the day of week field. For this reason, ignore the day of week field when reading the clock on i386 rather than bailing if it is set incorrectly. Problems were seen on a number of platforms, including VMWare, qemu, EPIA ME6000, Epox-3PTA and ABIT-SL30T. This is a slightly different fix to that proposed by Ted in his PR, but the same basic idea. PR: 111117 Submitted by: Ted Faber Approved by: re (rwatson) MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-07-27T11:59:57.000000Z K 7 svn:log V 1112 First in a series of changes to remove the now-unused Giant compatibility framework for non-MPSAFE network protocols: - Remove debug_mpsafenet variable, sysctl, and tunable. - Remove NET_NEEDS_GIANT() and associate SYSINITSs used by it to force debug.mpsafenet=0 if non-MPSAFE protocols are compiled into the kernel. - Remove logic to automatically flag interrupt handlers as non-MPSAFE if debug.mpsafenet is set for an INTR_TYPE_NET handler. - Remove logic to automatically flag netisr handlers as non-MPSAFE if debug.mpsafenet is set. - Remove references in a few subsystems, including NFS and Cronyx drivers, which keyed off debug_mpsafenet to determine various aspects of their own locking behavior. - Convert NET_LOCK_GIANT(), NET_UNLOCK_GIANT(), and NET_ASSERT_GIANT into no-op's, as their entire behavior was determined by the value in debug_mpsafenet. - Alias NET_CALLOUT_MPSAFE to CALLOUT_MPSAFE. Many remaining references to NET_.*_GIANT() and NET_CALLOUT_MPSAFE are still present in subsystems, and will be removed in followup commits. Reviewed by: bz, jhb Approved by: re (kensmith) END K 10 svn:author V 8 takawata K 8 svn:date V 27 2007-07-27T12:00:29.000000Z K 7 svn:log V 108 Minor Bug fix that will cause panic with some terminal with voice path on USB. Approved by: re@ (kensmith) END K 10 svn:author V 5 bland K 8 svn:date V 27 2007-07-27T12:09:55.000000Z K 7 svn:log V 69 Update for japanese holidays. PR: 114732 Approved by: re (rwatson) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:26:42.000000Z K 7 svn:log V 52 INTR_FILTER bits for arm Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:28:15.000000Z K 7 svn:log V 76 Import xscale core 3 cache management functions. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:39:41.000000Z K 7 svn:log V 126 Add a new set of functions to handle L2 cache. Make them no-op for every CPU except Xscale core 3. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:42:25.000000Z K 7 svn:log V 365 Bring in two bandaids to get the elf trampoline to work again, until I find a proper solution. - Add a dummy entry point which just calls the C entry points, and try to make sure it's the first code in the binary. - Copy a bit more than func_end to try to copy the whole load_kernel() function. gcc4 puts code behind the func_end symbol. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:45:04.000000Z K 7 svn:log V 102 Properly handle supersections. Make sure we cache entries in the L2 cache. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:45:33.000000Z K 7 svn:log V 59 Fix the cache mode description. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:46:15.000000Z K 7 svn:log V 113 Use supersection instead of standard sections to map the whole memory when available. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:46:43.000000Z K 7 svn:log V 62 Handle supersections and L2 cache. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:48:05.000000Z K 7 svn:log V 177 Use coherent mapping for DMA on arm. This is propably suitable for the other archs, but I can't test it so I made it conditionnal on __arm__ for now. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:49:11.000000Z K 7 svn:log V 79 Say if the L2 cache is enabled or disabled as well. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:50:57.000000Z K 7 svn:log V 102 Add initial IOP342 support. Thanks to Intel for providing sample hardware. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:52:04.000000Z K 7 svn:log V 132 Share the timer and watchdog drivers with the i81342. It's the same, except it uses different registers. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:53:06.000000Z K 7 svn:log V 87 Do not define NIRQ, it is already defined in include/intr.h Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:53:42.000000Z K 7 svn:log V 35 Cleanup Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:54:27.000000Z K 7 svn:log V 54 XScale core 3 definitions. Approved by: re (blanket) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-07-27T14:57:03.000000Z K 7 svn:log V 44 CRB config file. Approved by: re (blanket) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-07-27T19:55:42.000000Z K 7 svn:log V 352 Update the sysctl_ctx_init(9) manual page with the following information from the submitter: Starting value for OID_AUTO was changed from 100 to 256 (0x100) in kern/kern_sysctl.c#rev1.112 on 2001-07-25, and defined as CTL_AUTO_START in sys/sysctl.h#rev1.98. Submitted by: cnst Silence from: #bsddocs on efnet MFC After: 3 days Approved by: re (bmah) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-07-27T20:01:22.000000Z K 7 svn:log V 155 Add a counter for the total number of pages cached and support for reporting the value of this counter in the program "vmstat". Approved by: re (rwatson) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-07-28T00:05:25.000000Z K 7 svn:log V 99 Forced commit to note repo copy from src/tools/tools/net80211/wlandebug Approved by: re (rwatson) END