ı162208 204 105 151 350 984 172 183 192 136 97 156 272 214 164 122 175 256 559 208 136 665 161 134 153 334 383 215 2938 193 298 413 949 138 163 169 163 178 174 169 187 164 184 121 111 147 117 164 267 174 107 138 144 136 240 247 139 119 127 170 163 198 152 197 138 561 470 185 327 176 246 1879 153 351 159 187 356 145 410 551 212 123 918 141 191 140 114 212 198 140 213 122 162 107 125 169 146 147 143 111 138 126 322 136 175 256 208 119 748 427 123 108 179 179 248 388 512 405 586 315 295 334 615 246 166 118 350 174 159 153 424 241 164 229 183 166 643 339 413 135 159 392 176 162 185 303 164 316 165 164 168 216 465 181 169 226 201 199 271 159 522 136 231 441 462 145 303 211 108 1175 238 261 169 105 1305 122 106 325 120 105 135 105 151 307 303 196 105 192 187 105 230 153 571 230 220 278 213 134 105 236 186 493 178 222 279 166 K 10 svn:author V 5 brian K 8 svn:date V 27 2006-09-10T20:41:33.000000Z K 7 svn:log V 11 Fix a typo END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-11T05:12:12.000000Z K 7 svn:log V 59 Fix three whitespace nits. I think these are from kan@... END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-11T05:35:57.000000Z K 7 svn:log V 257 Add a knob for compiling the tree -DNDEBUG. This turns off all the asserts and makes binaries smaller. The binaries also become repeatable again. As it was, without this md5's of binaries built with different paths differed. # Where do I document this? END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-11T06:48:53.000000Z K 7 svn:log V 888 The run_filter() procedure is a means of working around DMA engine bugs in old/broken hardware. Unfortunately, it adds cache pressure and possible mispredicted branches to the fast path of the bus_dmamap_load collection of functions. Since it's meant for slow path exception processing, de-inline it and allow its conditions to be pre-computed at tag_create time and thus short-circuited at runtime. While here, cut down on the size of _bus_dmamap_load_buffer() by pushing the bounce page logic into a non-inlined function. Again, this helps with cache pressure and mispredicted branches. According to the TSC, this shaves off a few cycles on average. Unfortunately, the data varies quite a bit due to interrupts and preemption, so it's hard to get a good measurement. Real world measurements of network PPS are welcomed. A merge to amd64 and other arches is pending more testing. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-11T07:31:55.000000Z K 7 svn:log V 77 Add support for MCP61 and MCP65 adaptors. Submitted by: Peer Chen at nVIDIA END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-11T13:15:09.000000Z K 7 svn:log V 92 Make it possible again to build -CURRENT snapshots on -STABLE. Reported by: Angelo Turetta END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-11T13:39:44.000000Z K 7 svn:log V 100 - Utilize the "showconfig" top-level target. - Pass __MAKE_CONF=/dev/null to get a pristine output. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-11T13:55:27.000000Z K 7 svn:log V 45 Document the new know, WITHOUT_ASSERT_DEBUG. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-11T13:56:28.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-11T17:34:28.000000Z K 7 svn:log V 61 PR: 103130 Submitted by: Shusuke Shinomiya MFC after: 1 day END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-11T17:57:23.000000Z K 7 svn:log V 176 null commit to provide commit message to previous at the request of Sam Leffler: The previous commit established min and maxtags for VMware pseudo disks to fix a submitted PR. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-11T18:07:09.000000Z K 7 svn:log V 118 Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined. This is needed for bi-sex architectures. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-09-11T18:22:57.000000Z K 7 svn:log V 71 MFC: Use better Korean translation for `trap'. Approved by: re (bmah) END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-11T18:33:59.000000Z K 7 svn:log V 30 CF devices are ATA not ATAPI. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T18:39:51.000000Z K 7 svn:log V 83 MFC: Use sysctl_handle_long() for kern.ipc.maxsockbuf. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T18:41:31.000000Z K 7 svn:log V 163 MFC: Sync sizes of physmap[], phys_avail[], and dump_avail[] and bump up the sizes to handle systems with very fragmented memory maps. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T19:31:52.000000Z K 7 svn:log V 466 - Fix rman_manage_region() to be a lot more intelligent. It now checks for overlaps, but more importantly, it collapses adjacent free regions. This is needed to cope with BIOSen that split up ports for system devices (like IPMI controllers) across multiple system resource entries. - Now that rman_manage_region() is not so dumb, remove extra logic in the x86 nexus drivers to populate the IRQ rman that manually coalesced the regions. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T19:32:54.000000Z K 7 svn:log V 115 Give the ACPI I/O rman's unique description strings to make 'devinfo -u' output less confusing. MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-09-11T19:39:46.000000Z K 7 svn:log V 42 Add myself as OpenSSL janitor/maintainer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T19:41:31.000000Z K 7 svn:log V 572 Add a default method for BUS_ADD_CHILD() that just calls device_add_child_ordered(). Previously, a device driver that wanted to add a new child device in its identify routine had to know if the parent driver had a custom bus_add_child method and use BUS_ADD_CHILD() in that case, otherwise use device_add_child(). Getting it wrong in either direction would result in panics or failure to add the child device. Now, BUS_ADD_CHILD() always works isolating child drivers from having to know intimate details about the parent driver. Discussed with: imp MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T19:42:27.000000Z K 7 svn:log V 69 Add prototype for bus_generic_add_child() missed in previous commit. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-11T19:47:53.000000Z K 7 svn:log V 42 Update to fit latest USB cleanup crusade. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-11T19:48:30.000000Z K 7 svn:log V 61 Add support for a few more Serverworks and lookalikes chips. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-11T19:56:10.000000Z K 7 svn:log V 239 Fix a NULL pointer dereference of ro->ro_rt->rt_flags by checking for the validity of ro->ro_rt first. This prevents crashing on any non-normally routed IP packet. Coverity CID: 162 (incorrectly, it was re-introduced by previous commit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T20:10:42.000000Z K 7 svn:log V 290 Actually hook up the IPI_INVLCACHE IDT vectors backing pmap_invalidate_cache() in the SMP case so pmap_mapdev() in multiuser doesn't panic with a trap 30. I broke this many months ago when I added pmap_invalidate_cache() as early parts of the PAT work. Patience from: jmg Pointy hat: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T20:12:42.000000Z K 7 svn:log V 122 Add a new ddb command 'show lapic' to dump details about the local APIC registers for the current CPU. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T20:52:41.000000Z K 7 svn:log V 2844 Minor overhaul of SMBus support: - Change smbus_callback() to pass a void * rather than caddr_t. - Change smbus_bread() to pass a pointer to the count and have it be an in/out parameter. The input is the size of the buffer (same as before), but on return it will contain the actual amount of data read back from the bus. Note that this value may be larger than the input value. It is up to the caller to treat this as an error if desired. - Change the SMB_BREAD ioctl to write out the updated struct smbcmd which will contain the actual number of bytes read in the 'count' field. To preserve the previous ABI, the old ioctl value is mapped to SMB_OLD_BREAD which doesn't copy the updated smbcmd back out to userland. I doubt anyone actually used the old BREAD anyway as it was rediculous to do a bulk-read but not tell the using program how much data was actually read. - Make the smbus driver and devclass public in the smbus module and push all the DRIVER_MODULE()'s for attaching the smbus driver to various foosmb drivers out into the foosmb modules. This makes all the foosmb logic centralized and allows new foosmb modules to be self-contained w/o having to hack smbus.c everytime a new smbus driver is added. - Add a new SMB_EINVAL error bit and use it in place of EINVAL to return an error for bad arguments (such as invalid counts for bread and bwrite). - Map SMB bus error bits to EIO in smbus_error(). - Make the smbus driver call bus_generic_probe() and require child drivers such as smb(4) to create device_t's via identify routines. Previously, smbus just created one anonymous device during attach, and if you had multiple drivers that could attach it was just random chance as to which driver got to probe for the sole device_t first. - Add a mutex to the smbus(4) softc and use it in place of dummy splhigh() to protect the 'owner' field and perform necessary synchronization for smbus_request_bus() and smbus_release_bus(). - Change the bread() and bwrite() methods of alpm(4), amdpm(4), and viapm(4) to only perform a single transaction and not try to use a loop of multiple transactions for a large request. The framing and commands to use for a large transaction depend on the upper-layer protocol (such as SSIF for IPMI over SMBus) from what I can tell, and the smb(4) driver never allowed bulk read/writes of more than 32-bytes anyway. The other smb drivers only performed single transactions. - Fix buffer overflows in the bread() methods of ichsmb(4), alpm(4), amdpm(4), amdsmb(4), intpm(4), and nfsmb(4). - Use SMB_xxx errors in viapm(4). - Destroy ichsmb(4)'s mutex after bus_generic_detach() to avoid problems from child devices making smb upcalls that would use the mutex during their detach methods. MFC after: 1 week Reviewed by: jmg (mostly) END K 10 svn:author V 8 pdeuskar K 8 svn:date V 27 2006-09-11T20:59:01.000000Z K 7 svn:log V 96 Fix issues found by Coverity (223392, 223393) due to TSO additions Submitted by: Matthew Jacob END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-11T22:17:18.000000Z K 7 svn:log V 205 Add note about identify routines needing to use BUS_ADD_CHILD rather than device_add_child. The latter is only for busses adding children, not children drivers telling a bus that they have an instance... END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-11T22:20:37.000000Z K 7 svn:log V 320 - Revert making bus_generic_add_child() the default for BUS_ADD_CHILD(). Instead, we want busses to explicitly specify an add_child routine if they want to support identify routines, but by default disallow having outside drivers add devices. - Give smbus(4) an explicit bus_add_child() method. Requested by: imp END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-09-12T04:25:13.000000Z K 7 svn:log V 855 Introduce a new entry point, mac_create_mbuf_from_firewall. This entry point exists to allow the mandatory access control policy to properly initialize mbufs generated by the firewall. An example where this might happen is keep alive packets, or ICMP error packets in response to other packets. This takes care of kernel panics associated with un-initialize mbuf labels when the firewall generates packets. [1] I modified this patch from it's original version, the initial patch introduced a number of entry points which were programmatically equivalent. So I introduced only one. Instead, we should leverage mac_create_mbuf_netlayer() which is used for similar situations, an example being icmp_error() This will minimize the impact associated with the MFC Submitted by: mlaier [1] MFC after: 1 week This is a RELENG_6 candidate END K 10 svn:author V 8 charnier K 8 svn:date V 27 2006-09-12T05:08:36.000000Z K 7 svn:log V 41 WARNS=6 chocked on unitialized variable. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T06:39:27.000000Z K 7 svn:log V 68 Configure for for big endian if TARGET_BYTES_BIG_ENDIAN is defined. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T06:59:39.000000Z K 7 svn:log V 74 Build 'ld' supporting a big endian ARM if "TARGET_BIG_ENDIAN" is defined. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T07:02:15.000000Z K 7 svn:log V 68 Default vector to big endian ARM if "TARGET_BIG_ENDIAN" is defined. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T07:03:58.000000Z K 7 svn:log V 83 Craft the FreeBSD/ARM ABI by hacking the New ARM ABI source. Submitted by: cognet END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T07:09:45.000000Z K 7 svn:log V 79 Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined (& targeting ARM). END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-12T07:22:42.000000Z K 7 svn:log V 78 MFC: Stop cutting tarball names to eight symbols. Approved by: re (kensmith) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T07:37:02.000000Z K 7 svn:log V 92 Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARM target default. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T07:37:44.000000Z K 7 svn:log V 69 Move to more global Makefile.tgt vs. having to define in the leaves. END K 10 svn:author V 6 alexbl K 8 svn:date V 27 2006-09-12T09:05:00.000000Z K 7 svn:log V 89 Add my birthday to the calendar, sadly I am only the fifth youngest. Approved by: novel END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-12T15:01:19.000000Z K 7 svn:log V 29 Trim some unneeded includes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-12T15:48:22.000000Z K 7 svn:log V 19 Bump date, per ru@ END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-12T16:05:21.000000Z K 7 svn:log V 54 MFC: SA-06:19.openssl, SA-06:20.bind, BIND 9.3.2-P1. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-12T16:47:44.000000Z K 7 svn:log V 24 MFC: SA-06:19.openssl. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2006-09-12T17:54:35.000000Z K 7 svn:log V 67 Add FBSDID, rename local variable time to not conflict with time() END K 10 svn:author V 4 jhay K 8 svn:date V 27 2006-09-12T17:54:58.000000Z K 7 svn:log V 173 MFC: Use net.inet6.ip6.redirect / ip6_sendredirects as part of the decision to generate icmp6 redirects. Now it is possible to switch redirects off. Approved by: re (bmah) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-12T19:02:34.000000Z K 7 svn:log V 82 Put the osta.c license on osta.h. The license is the same. Approved by: scottl@ END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-12T19:24:01.000000Z K 7 svn:log V 12 Style sync. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-12T20:37:22.000000Z K 7 svn:log V 46 Format mask lacks one bit. Reported by: jkim END K 10 svn:author V 3 kan K 8 svn:date V 27 2006-09-12T21:57:28.000000Z K 7 svn:log V 52 Remove redundant defines alerady set by Makefile.fe END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-12T22:06:39.000000Z K 7 svn:log V 44 Busmaster DMA address fix in VIA 6421 case. END K 10 svn:author V 5 peter K 8 svn:date V 27 2006-09-12T22:27:11.000000Z K 7 svn:log V 145 MFC: rev 1.21: fix return of uninitialized data from malloc(). Could cause readdir() to fail or give duplicate results or other strange things. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-13T01:23:08.000000Z K 7 svn:log V 154 document that PAE kernels needs twice the value of non-PAE kernels for KVA_PAGES, and that it it likely needed for >4GB memory boxes.. MFC after: 3 days END K 10 svn:author V 8 charnier K 8 svn:date V 27 2006-09-13T04:50:44.000000Z K 7 svn:log V 42 Reduce the number of errors under WARNS=6 END K 10 svn:author V 8 charnier K 8 svn:date V 27 2006-09-13T05:01:25.000000Z K 7 svn:log V 22 compile under WARNS=6 END K 10 svn:author V 8 charnier K 8 svn:date V 27 2006-09-13T05:06:12.000000Z K 7 svn:log V 30 initialize variable (WARNS=6) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-13T06:58:40.000000Z K 7 svn:log V 78 Fix a lock leak in an error case. Reported by: netchild Reviewed by: rwatson END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-13T08:37:48.000000Z K 7 svn:log V 71 MFC: Add autologin entries for all speeds. Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-13T08:38:49.000000Z K 7 svn:log V 105 MFC: "late" flag in fstab + mountlate script + necessary changes to mount(8) Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-13T08:39:16.000000Z K 7 svn:log V 60 MFC: CPUTYPE support for VIA C3 Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-13T08:40:21.000000Z K 7 svn:log V 104 MFC: avoid unnecessary use of touch + ${.TARGET} fixes + redirection issues Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-13T08:40:40.000000Z K 7 svn:log V 46 MFC: CSTD support Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-13T09:05:39.000000Z K 7 svn:log V 464 dd a series of regression tests to validate that privilege requirements are implemented properly for a number of kernel subsystems. In general, they try to exercise the privilege first as the root user, then as a test user, in order to determine when privilege is being checked. Currently, these tests do not compare inside/outside jail, and probably should be enhanced to do that. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-09-13T09:10:01.000000Z K 7 svn:log V 377 MFC of fix for PR 98858 Properly cast the values of valsize (the size of the value passed in) in setsockopt so that they can be compared correctly against negative values. Passing in a negative value had a rather negative effect on our socket code, making it impossible to open new sockets. PR: 98858 Submitted by: James.Juran@baesystems.com Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-13T09:18:27.000000Z K 7 svn:log V 89 Merge audit.c:1.19 from HEAD to RELENG_6: Small style cleanup. Approved by: re (mux) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-13T09:23:34.000000Z K 7 svn:log V 230 Merge audit_bsm.c:1.11 from HEAD to RELENG_6: Add a BSM conversion switch case for AUE_GETCWD, so that a console warning isn't generated when __getcwd() is invoked. Obtained from: TrustedBSD Project Approved by: re (mux) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-13T09:35:59.000000Z K 7 svn:log V 81 Remove duplicated code. Declare functions non-static that shouldn't be inlined. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-13T10:20:56.000000Z K 7 svn:log V 154 - Change the example CFLAGS entry to match our default in sys.mk. - Document that -fno-strict-aliasing is required for -O2. Prodded by: users of stable@ END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-13T13:08:27.000000Z K 7 svn:log V 1783 Rewrite of TCP syncookies to remove locking requirements and to enhance functionality: - Remove a rwlock aquisition/release per generated syncookie. Locking is now integrated with the bucket row locking of syncache itself and syncookies no longer add any additional lock overhead. - Syncookie secrets are different for and stored per syncache buck row. Secrets expire after 16 seconds and are reseeded on-demand. - The computational overhead for syncookie generation and verification is one MD5 hash computation as before. - Syncache can be turned off and run with syncookies only by setting the sysctl net.inet.tcp.syncookies_only=1. This implementation extends the orginal idea and first implementation of FreeBSD by using not only the initial sequence number field to store information but also the timestamp field if present. This way we can keep track of the entire state we need to know to recreate the session in its original form. Almost all TCP speakers implement RFC1323 timestamps these days. For those that do not we still have to live with the known shortcomings of the ISN only SYN cookies. The use of the timestamp field causes the timestamps to be randomized if syncookies are enabled. The idea of SYN cookies is to encode and include all necessary information about the connection setup state within the SYN-ACK we send back and thus to get along without keeping any local state until the ACK to the SYN-ACK arrives (if ever). Everything we need to know should be available from the information we encoded in the SYN-ACK. A detailed description of the inner working of the syncookies mechanism is included in the comments in tcp_syncache.c. Reviewed by: silby (slightly earlier version) Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-13T13:21:17.000000Z K 7 svn:log V 59 Remove unessary includes and follow common ordering style. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-13T15:15:57.000000Z K 7 svn:log V 258 MFC: Sync the nve(4) driver with HEAD including updating the binary library to the 1.0-0310 23-Nov-2005 version and adding device IDs for the nForce 430 chipset. Requested by: Jared Ring Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-13T15:17:41.000000Z K 7 svn:log V 67 MFC: Tweak comment. Approved by: re (mlaier) Requestd by: delphij END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-09-13T15:24:27.000000Z K 7 svn:log V 91 Document net.inet.tcp.maxtcptw and net.inet.tcp.nolocaltimewait. Wording by: Devon O'Dell END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-13T15:46:49.000000Z K 7 svn:log V 263 Fix synchronization in gmirror and graid3 which I broken. Synchronization request can still have bio_to set to sc_provider (this is READ part of a synchronization request) and in this case g_{mirror,raid3}_sync() wasn't called as it should be. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-09-13T15:47:26.000000Z K 7 svn:log V 49 Fix markup bug in last commit. Submitted by: ru END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-09-13T15:47:53.000000Z K 7 svn:log V 316 Back out one of the Giant removals from revision 1.272. Giant was not here to protect the vnode, it was present to synchronize access to TTY session information between exit(2) and the TTY code. While we are here, note that Giant is required for TTY protection. Clue from: bde Discussed with: jhb MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-09-13T15:48:15.000000Z K 7 svn:log V 455 Introduce a spinlock for synchronizing access to the video output hardware in syscons. This replaces a simple access semaphore that was assumed to be protected by Giant but often was not. If two threads that were otherwise SMP-safe called printf at the same time, there was a high likelyhood that the semaphore would get corrupted and result in a permanently frozen video console. This is similar to what is already done in the serial console drivers. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-09-13T17:46:20.000000Z K 7 svn:log V 118 Remove references to the pam(8) manual page. It does not exist. Requested by: novel Discussed with: brueffer, simon END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-09-13T18:34:32.000000Z K 7 svn:log V 30 Bump .Dd. Noticed by: danger END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-09-13T18:39:09.000000Z K 7 svn:log V 822 Fixes up the handling of shared vnode lock lookups in the NFS client, adds a FS type specific flag indicating that the FS supports shared vnode lock lookups, adds some logic in vfs_lookup.c to test this flag and set lock flags appropriately. - amd on 6.x is a non-starter (without this change). Using amd under heavy load results in a deadlock (with cascading vnode locks all the way to the root) very quickly. - This change should also fix the more general problem of cascading vnode deadlocks when an NFS server goes down. Ideally, we wouldn't need these changes, as enabling shared vnode lock lookups globally would work. Unfortunately, UFS, for example isn't ready for shared vnode lock lookups, crashing pretty quickly. This change is the result of discussions with Stephan Uphoff (ups@). Reviewed by: ups@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-13T18:56:39.000000Z K 7 svn:log V 49 intpm(4) meet style(9). style(9) meet intpm(4). END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-09-13T19:25:44.000000Z K 7 svn:log V 96 MFC: Vnode locks are recursive and the NFS client support shared vnode locks. Approved by: re END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-09-13T19:48:00.000000Z K 7 svn:log V 47 Remove reference to T/TCP. Reviewed by: andre END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-09-13T21:11:13.000000Z K 7 svn:log V 22 Correct include path. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-09-13T23:27:21.000000Z K 7 svn:log V 116 When building WITHOUT_ASSERT_DEBUG, we need to disable -Werror as its easy to see "warning: unused variable `foo'". END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-14T03:47:59.000000Z K 7 svn:log V 105 Only treat positive values as errors... Pointed out by: wsk Message-ID: <45060FC4.2090308@gddsn.org.cn> END K 10 svn:author V 8 charnier K 8 svn:date V 27 2006-09-14T04:45:44.000000Z K 7 svn:log V 43 initialize unitialized variables (WARNS=6) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T06:36:13.000000Z K 7 svn:log V 120 TARGET_BIG_ENDIAN isn't appropriate here. __ARMEB__ is sufficient and besides, TARGET_BIG_ENDIAN isn't defined anyway. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T06:39:07.000000Z K 7 svn:log V 30 Config file for arm assembler END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T06:49:34.000000Z K 7 svn:log V 70 Architecture specific portions of gdb for arm. Submitted by: cognet@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T07:02:17.000000Z K 7 svn:log V 15 .end -> .endif END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T07:44:05.000000Z K 7 svn:log V 33 Fix the build and minor cleanup. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T07:46:32.000000Z K 7 svn:log V 77 scripts for the arm port. Submitted by: cognet@ Reviewed by: obrien and kan END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T07:48:16.000000Z K 7 svn:log V 54 fix the build: add missing end of line cont character END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T07:51:52.000000Z K 7 svn:log V 55 Add cross debug support to arm. Submitted by: cognet@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-14T08:21:20.000000Z K 7 svn:log V 51 Remove redundant default vector Submitted by: ru@ END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-14T08:36:53.000000Z K 7 svn:log V 20 Removed T/TCP bits. END K 10 svn:author V 4 ache K 8 svn:date V 27 2006-09-14T10:22:35.000000Z K 7 svn:log V 45 Add missing #ifdef INET6 (can't be compiled) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-14T13:47:55.000000Z K 7 svn:log V 34 Fix markup snafu. Spotted by: ru END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-14T13:49:05.000000Z K 7 svn:log V 229 MFC: etc/defaults/rc.conf 1.288 Update geli_swap_flags, -e is now used to specify the encryption algorithm. Committed to HEAD by: brueffer Reminded by: Henrik Brix Andersen Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-14T15:56:08.000000Z K 7 svn:log V 44 MFC: fix markup Approved by: re (kensmith) END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-09-14T17:57:02.000000Z K 7 svn:log V 80 Fix for a potential bug caught by Coverity. Pointed out to me by Kris Kennaway. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-09-14T19:12:29.000000Z K 7 svn:log V 163 If current_heads or current_sectors in the disk cap page are zero, dont try to use the current_ geometry. This avoids a panic with BIOS'n that sets these to zero. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-09-15T05:21:06.000000Z K 7 svn:log V 115 A TARGET_CPU_DEFAULT of xscale for arm results in illegal instructions during buildworld. Comment it out for now. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T08:04:23.000000Z K 7 svn:log V 28 Remove vestiges of GNU tar. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-09-15T09:51:05.000000Z K 7 svn:log V 651 Merge a bunch of changes to TCP compressed TIME_WAIT state handling that was done by myself and ru@ in HEAD: o Remove a code from in in_pcblookup_local() that can lead to million times looping in this function. o Rewrite the storage of tcptw entries to simple TAILQ. The more complex double LIST is not needed anymore since T/TCP is removed. o Add possibility to change net.inet.tcp.maxtcptw via sysctl and load time tunable. Do not modify maxtcptw if it was set explicitly, if maxsockets is modified. o Add sysctl that allows to suppress creating time wait states for sockets, where both endpoints are local. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-09-15T10:40:54.000000Z K 7 svn:log V 330 Consistently use if_printf() only in interface methods: if_start, if_ioctl, if_watchdog, etc, or in functions that are used by these methods only. In all other cases use device_printf(). This also fixes several panics, when if_printf() is called before softc->ifp was initialized. Submitted by: Alex Lyashkov END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-15T10:44:55.000000Z K 7 svn:log V 31 Less magic. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T11:01:23.000000Z K 7 svn:log V 17 Whitespace nits. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T13:28:10.000000Z K 7 svn:log V 88 Don't require a space between -[fv] and its argument. PR: bin/86514 MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T13:33:32.000000Z K 7 svn:log V 88 Initial memory allocation for fields was off-by-one. PR: bin/100443 MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-15T13:42:38.000000Z K 7 svn:log V 155 Reject user with names that are longer than OPIE is willing to deal with; otherwise OPIE will happily truncate it. Spotted by: ghelmer MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-09-15T15:16:12.000000Z K 7 svn:log V 291 - Consistently use if_printf() only in interface methods: if_start(), if_watchdog, etc., or in functions used only in these methods. In all other functions in the driver use device_printf(). - Use __func__ instead of typing function name. Submitted by: Alex Lyashkov END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-09-15T15:41:28.000000Z K 7 svn:log V 414 - Added TSO support. This entailed increasing the number of send descriptors in the transmit busdma tag, so I moved the segment list off the stack. - Fixed transmit routine to ensure it doesn't read past the end of an mbuf when parsing headers. - Corrected handling of odd length segments. Setting MXGEFW_FLAGS_ALIGN_ODD is required only when offloading the checksum of that frame. Sponsored by: Myricom Inc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T15:53:09.000000Z K 7 svn:log V 313 SIOCSIFFLAGS doesn't require an argument in kernel land; instead, flags are supposed to be set directly in ifnet already. This change fixes a panic when ng_eiface node is attached to ng_fec node and the latter is shut down (ng_fec sets flags and then calls SIOCSIFFLAGS with a NULL argument). MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T16:06:27.000000Z K 7 svn:log V 494 Make it possible to set a larger MTU by attempting to set MTUs on all trunk ports first. If that succeeds, and we're inside our own bounds, so be it. Still not ideal -- adding a port after changing an MTU doesn't change port's MTU, but a step in the right direction. PR: kern/95417 Submitted by: Vladimir Ivanov MFC after: 3 days I've slightly edited a patch to make the conditional logic positive and remove (what I think was) a redundant ng_fec_init() call. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-15T16:08:09.000000Z K 7 svn:log V 220 When doing TSO subtract hdrlen from TCP_MAXWIN to prevent ip->ip_len from wrapping when we generate a maximally sized packet for later segmentation. Noticed by: gallatin Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-15T16:36:45.000000Z K 7 svn:log V 202 Add 'show geom [addr]' ddb(4) command, which prints entire GEOM topology if no additional argument is given or details about the given GEOM object (class, geom, provider or consumer). Approved by: phk END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-09-15T18:41:12.000000Z K 7 svn:log V 240 Make op parameter to mux_keyboard() u_int instead of int. This should fix sparc64 messages like Sep 15 11:17:39 peahi kernel: WARNING pid 5477 (kbdcontrol): ioctl sign-extension ioctl ffffffff80244b45 PR: sparc64/96798 MFC after: 1 week END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-09-15T19:24:45.000000Z K 7 svn:log V 517 - Updated to the latest myri10ge firmware - Added support for multicast filtering, now that the firmware supports it. Note that this is not yet tested, as multicast seems to panic -current (even w/o mxge loaded) - Added workaround to cope with different irq data struct size on pre-multicast firmware which can found running on nics. - Added Intel E5000 PCIe chipsets to list providing aligned completions. - Replaced various magic constants with #defines, now that they are defined in the firmware headers. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-09-15T19:27:40.000000Z K 7 svn:log V 148 Begin making RELENG_6 think 6.2 exists. It doesn't officially exist yet but this helps various folks get ready for it. Approved by: re (implicit) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-09-15T19:27:41.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_2'. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-09-15T19:33:15.000000Z K 7 svn:log V 21 Mention TSO support. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-15T20:17:45.000000Z K 7 svn:log V 258 Fix input byte counting. Now the sum of the ipackets/ibytes counters of individual interfaces should match the ipackets/ibytes counter of the aggregate (FEC) interface. PR: kern/82189 Submitted by: Stikheev Andrew MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-15T20:44:39.000000Z K 7 svn:log V 79 MFC 1.163- give VMware disks min/max tags in their quirk. Approved by: releng END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-15T20:46:16.000000Z K 7 svn:log V 64 MFC 1.163- have VMware disks have min/max tags in their quirks. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-15T20:48:18.000000Z K 7 svn:log V 58 MFC 1.163- give VMware disks min/max tags in their quirk. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-09-15T20:52:51.000000Z K 7 svn:log V 326 - Instead of listing which ships support Rx/Tx checksum offload and Jumbo Frames, mention the one chip that does not support them (obtained from the driver README) - Mention TSO and the chips that do not support it (provided by pdeuskar) - Do not refer to the README for VLAN support, building and installing the driver END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-09-16T01:31:48.000000Z K 7 svn:log V 143 I was told this part of the bump to 6.2 was premature, it really does need to wait until 6.2 is out. Told by: ru@ Approved by: re (implicit) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-16T03:58:07.000000Z K 7 svn:log V 71 MFCs noted: geli(8) data authentication, mount(8) "late" filesystems. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-16T04:01:11.000000Z K 7 svn:log V 135 MFC: padlock(4) update, nve(4) driver 1.0-0310, geli(8) data authentication, mount(8) late filesystems. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-09-16T04:09:56.000000Z K 7 svn:log V 90 Bump version numbers in release documentation for 6.2-BETA. Approved by: re (implicitly) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-09-16T04:09:57.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_2'. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-16T05:42:06.000000Z K 7 svn:log V 547 MFC -current code, to wit to: a) Support PCI-Express Fibre Channel Card b) Fix Target mode support to havea 'role' again (which will rewrite NVRAM if NVRAM doesn't match roles), will not wedge the SAN if we have target mode but don't enable any luns, add sysctl OIDs that will say what WWPN/WWNN and roles there are, and add a 'Ready' handler that will add target mode resource *after* all card instances are enabled. c) Fix panics where we time out on synchronous MPT commands and then later do a double free of that command. Approved by: re END K 10 svn:author V 4 jhay K 8 svn:date V 27 2006-09-16T06:24:28.000000Z K 7 svn:log V 245 Make it possible to add an IPv6 host route to a host directly connected. Use something like this: route add -inet6 -interface -llinfo This is usefull for wireless adhoc mesh networks. MFC after: 5 days END K 10 svn:author V 4 jhay K 8 svn:date V 27 2006-09-16T06:34:30.000000Z K 7 svn:log V 319 Use bzero() to clear the whole ipfw_insn_icmp6 structure in fill_icmp6types(), otherwise this command ipfw add allow ipv6-icmp from any to 2002::1 icmp6types 1,2,128,129 turns into icmp6types 1,2,32,33,34,...94,95,128,129 PR: 102422 (part 1) Submitted by: Andrey V. Elsukov MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T07:47:57.000000Z K 7 svn:log V 43 Remove extra arguments. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-16T09:09:44.000000Z K 7 svn:log V 68 This is not needed since src/gnu/usr.bin/cc/cc_int/Makefile,v 1.34. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T09:26:57.000000Z K 7 svn:log V 299 First kill detached providers, because of two reasons: - after killing all attached providers, all providers are then detached and operation is repeated for those who were attached, - we don't want to remove keys for read-only attached providers, we only want to detach them. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T09:27:54.000000Z K 7 svn:log V 84 Note that we don't destroy keys on read-only attached providers. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T09:30:24.000000Z K 7 svn:log V 70 Regression tests for read-only option (attach -r). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T09:48:29.000000Z K 7 svn:log V 93 Small fixes after adding __printflike() to gctl_error(). Approved by: phk MFC after: 3 days END K 10 svn:author V 4 jhay K 8 svn:date V 27 2006-09-16T10:27:05.000000Z K 7 svn:log V 209 Handle a list of IPv6 src and dst addresses correctly, eg. ipfw add allow ip6 from any to 2000::/16,2002::/16 PR: 102422 (part 3) Submitted by: Andrey V. Elsukov MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T10:39:07.000000Z K 7 svn:log V 72 Add __printflike() to gctl_error(). Approved by: phk MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T10:43:17.000000Z K 7 svn:log V 223 Add 'configure' subcommand which for now only allows setting and removing of the BOOT flag. It can be performed on both attached and detached providers. Requested by: Matthias Lederhofer MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T10:44:33.000000Z K 7 svn:log V 73 Add regression tests for 'geli configure' subcommand. MFC after: 1 week END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-09-16T10:44:34.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T10:47:30.000000Z K 7 svn:log V 76 Fix copy&paste mistake. Submitted by: Matthias Lederhofer END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-09-16T11:24:41.000000Z K 7 svn:log V 123 Fix detecting of UFS1 label when mediasize%fragsize != 0. Submitted by: Stanislav Sedov PR: kern/84637 MFC after: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-09-16T14:12:04.000000Z K 7 svn:log V 367 - don't reboot() when feed with wrong parameters (and enough permissions) [1] - add support to power off the system [2] - check the linux magic values [3] Submitted by: Marcin Cieslak [1,2] Modelled after: linux man page of the reboot() syscall [3] Found by: LTP testcase "reboot02" [1] Tested with: LTP testcase "reboot02" [1,3] MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-16T15:10:13.000000Z K 7 svn:log V 89 Vendor patch for a problem that prevented using protocol version 1 when BSM was enabled. END K 10 svn:author V 3 des K 8 svn:date V 27 2006-09-16T15:12:58.000000Z K 7 svn:log V 77 Merge vendor patch for BSM problem in protocol version 1. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-16T17:03:02.000000Z K 7 svn:log V 129 Add audit hooks for ppc, ia64 system call paths. Reviewed by: marcel (ia64) Obtained from: TrustedBSD Project MFC after: 3 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-16T17:35:47.000000Z K 7 svn:log V 105 New Dell 1950/2950 SES backplane drops off the bus if you poke at greater then lun 0. MFC after: 1 week END K 10 svn:author V 4 jhay K 8 svn:date V 27 2006-09-16T19:27:40.000000Z K 7 svn:log V 105 Check the length of the ipv4 and ipv6 address lists. It must be less than F_LEN_MASK. MFC after: 5 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2006-09-16T20:08:28.000000Z K 7 svn:log V 178 MFC: v1.1231 > document that PAE kernels needs twice the value of non-PAE kernels > for KVA_PAGES, and that it it likely needed for >4GB memory boxes.. Approved by: re (bmah) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-09-16T21:21:07.000000Z K 7 svn:log V 64 Don't allow attachment of disks that could cause GEOM to panic. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T08:15:58.000000Z K 7 svn:log V 425 Correct auditctl() prototype; it was changed at some point in HEAD, but not MFC'd to -STABLE, resulting in the arguments being interpreted incorrectly. As a result, some users of audit on -STABLE saw an invalid argument error when starting the audit daemon. In principle it should have been all audit users, not clear why that appears not to have been the case. Approved by: re (kensmith) Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T08:16:27.000000Z K 7 svn:log V 40 Regenerate. Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-09-17T08:20:56.000000Z K 7 svn:log V 134 Rearrange things so that ARP packets can be filtered or rate limited with IPFW. Requested by: Jon Otterholm Tested by: Jon Otterholm END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-09-17T10:56:15.000000Z K 7 svn:log V 343 MFC rev 1.97: The Linux unlink syscall uses a different errno value when trying to unlink a directory. PR: 102897 [1] http://www.FreeBSD.org/cgi/query-pr.cgi?pr=102897 Noticed by: Knut Anders Hatlen [1], testrun with LTP Submitted by: Marcin Cieslak Tested by: netchild (LTP test run) Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T11:00:36.000000Z K 7 svn:log V 365 Expore kern.acct_configured, a sysctl that reflects the configured/ unconfigured state of the kernel accounting system. This is used by the accounting privilege regression test to determine whether accounting is in use and will be disrupted by the regression test. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project MFC after: 1 month END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-09-17T11:30:44.000000Z K 7 svn:log V 48 Remove a contraction and add a missing article. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T11:42:40.000000Z K 7 svn:log V 206 Add AUE_SYSARCH to the list of audit events during BSM conversion to prevent a console warning. Eventually, we will capture more arguments for sysarch. Obtained from: TrustedBSD Project MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T13:28:11.000000Z K 7 svn:log V 114 AUE_SIGALTSTACK instead of AUE_SIGPENDING for sigaltstack(). Obtained from: TrustedBSD Project MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T13:29:36.000000Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-17T13:33:30.000000Z K 7 svn:log V 1079 Move ethernet VLAN tags from mtags to its own mbuf packet header field m_pkthdr.ether_vlan. The presence of the M_VLANTAG flag on the mbuf signifies the presence and validity of its content. Drivers that support hardware VLAN tag stripping fill in the received VLAN tag (containing both vlan and priority information) into the ether_vtag mbuf packet header field: m->m_pkthdr.ether_vtag = vlan_id; /* ntohs()? */ m->m_flags |= M_VLANTAG; to mark the packet m with the specified VLAN tag. On output the driver should check the mbuf for the M_VLANTAG flag to see if a VLAN tag is present and valid: if (m->m_flags & M_VLANTAG) { ... = m->m_pkthdr.ether_vtag; /* htons()? */ ... pass tag to hardware ... } VLAN tags are stored in host byte order. Byte swapping may be necessary. (Note: This driver conversion was mechanic and did not add or remove any byte swapping in the drivers.) Remove zone_mtag_vlan UMA zone and MTAG_VLAN definition. No more tag memory allocation have to be done. Reviewed by: thompsa, yar Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-17T13:39:35.000000Z K 7 svn:log V 143 Make tcp_usr_send() free the passed mbufs on error in all cases as the comment to it claims. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2006-09-17T13:44:32.000000Z K 7 svn:log V 166 Remove VLAN mtag UMA zones and initialize ether_vtag and tso_segsz packet header fields to zero on mbuf allocation. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-09-17T14:54:14.000000Z K 7 svn:log V 73 Make cpu_set_upcall_kse() and cpu_set_user_tls() work for 32bit process. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T17:40:07.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-09-17T17:52:57.000000Z K 7 svn:log V 1210 Correct a slight regression which was introduced with the implementation of audit pipes. If the kernel record was not selected for the trail or the pipe, any user supplied record attached to it would be tossed away, resulting in otherwise selected events being lost. - Introduce two new masks: AR_PRESELECT_USER_TRAIL AR_PRESELECT_USER_PIPE, currently we have AR_PRESELECT_TRAIL and AR_PRESELECT_PIPE, which tells the audit worker that we are interested in the kernel record, with the additional masks we can determine if either the pipe or trail is interested in seeing the kernel or user record. - In audit(2), we unconditionally set the AR_PRESELECT_USER_TRAIL and AR_PRESELECT_USER_PIPE masks under the assumption that userspace has done the preselection [1]. Currently, there is work being done that allows the kernel to parse and preselect user supplied records, so in the future preselection could occur in either layer. But there is still a few details to work out here. [1] At some point we need to teach au_preselect(3) about the interests of all the individual audit pipes. This is a RELENG_6 candidate. Reviewed by: rwatson Obtained from: TrustedBSD Project MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T18:42:35.000000Z K 7 svn:log V 31 Update manpages for FILE 4.17. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T18:52:28.000000Z K 7 svn:log V 15 Sort sections. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-09-17T20:00:36.000000Z K 7 svn:log V 228 Declare security and security.bsd sysctl hierarchies in sysctl.h along with other commonly used sysctl name spaces, rather than declaring them all over the place. MFC after: 1 month Sponsored by: nCircle Network Security, Inc. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T20:53:30.000000Z K 7 svn:log V 29 Remove more traces of Alpha. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T21:27:35.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-09-17T21:36:16.000000Z K 7 svn:log V 43 Too many good quotes flying by these days. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T21:48:47.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-17T22:49:26.000000Z K 7 svn:log V 60 Add -f option to program's usage(), fix manpage's SYNOPSIS. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-09-18T03:50:30.000000Z K 7 svn:log V 214 Listen to a control socket on an IPv4 as well through an IPv4-mapped IPv6 address. Reported by: Julian H. Stacey Test by: Julian H. Stacey MFC after: 1 week END K 10 svn:author V 5 marck K 8 svn:date V 27 2006-09-18T06:34:51.000000Z K 7 svn:log V 208 Clean obsolete reference to the old NMBCLUSTERS kernel option. It seems the last reference (modulo manual pages where such obsoleteness clearly highlighted). Approved by: re (bmah - kinda) MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T09:34:48.000000Z K 7 svn:log V 101 o Don't fseek() on closed file. Submitted by: pgollucci@p6m7g8.com, Mark Costlow MFC after: 3 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T11:04:08.000000Z K 7 svn:log V 11 o Grammar. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T11:24:25.000000Z K 7 svn:log V 98 o s/IP_FIREWALL_FORWARD/IPFIREWALL_FORWARD/. PR: docs/103251 Submitted by: vd MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T11:49:17.000000Z K 7 svn:log V 93 o Document 'make quicksearch'. PR: docs/103162 Submitted by: Lars Engels MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T11:55:10.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T11:56:51.000000Z K 7 svn:log V 138 - Avoid using second person. - Demonstrate how .Nm can be used without the side effect of causing a line break in the SYNOPSIS section. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T13:11:31.000000Z K 7 svn:log V 62 hw.syscons.kbd_kbdkey is actually named hw.syscons.kbd_debug. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-09-18T13:23:08.000000Z K 7 svn:log V 478 Resolve the devfs deadlock caused by LOR between devfs_mount->dm_lock and vnode lock in devfs_allocv. Do this by temporary dropping dm_lock around vnode locking. For safe operation, add hold counters for both devfs_mount and devfs_dirent, and DE_DOOMED flag for devfs_dirent. The facilities allow to continue after dropping of the dm_lock, by making sure that referenced memory does not disappear. Reviewed by: tegge Tested by: kris Approved by: kan (mentor) PR: kern/102335 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T13:49:57.000000Z K 7 svn:log V 135 o optname, the third {set,get}sockopt(2) argument, is an enum, not a bitmap. Treat it accordingly. PR: bin/101642 MFC after: 3 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T14:00:39.000000Z K 7 svn:log V 125 o Fix groupadd getopt line and make 'pw groupadd -o' work. PR: bin/100684 Submitted by: Devon H. O'Dell MFC after: 3 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T14:31:03.000000Z K 7 svn:log V 186 Correct the list of bus_space_*_stream_[1248] functions in the STREAM FUNCTIONS section: - Really list only and all *_stream_* functions. - Don't list their arguments (it's pointless). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-09-18T15:03:18.000000Z K 7 svn:log V 118 o Mention .telnetrc DEFAULT keyword. PR: bin/100496 (sort of) Obtained from: NetBSD, heas@netbsd MFC after: 3 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T15:18:54.000000Z K 7 svn:log V 43 Fix wording to what I intended originally. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T15:24:20.000000Z K 7 svn:log V 14 Markup fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T15:28:12.000000Z K 7 svn:log V 144 MFC: - Don't require a space between -[fv] and its argument. - Initial memory allocation for fields was off-by-one. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T15:34:12.000000Z K 7 svn:log V 95 MFC: Fix a panic when SIOCSIFFLAGS is called with a NULL argument. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-09-18T15:35:22.000000Z K 7 svn:log V 400 Fix the race while waiting for coveredvp lock during unmount. The vnode may be recycled during the sleep, wrap the vn_lock with vhold/vdrop. Check that coveredvp still points to the same mp after sleep (needed because sleep dropped Giant). Move check for user rights for unmount after coveredvp lock is obtained. Tested by: Peter Holm Reviewed by: tegge Approved by: kan (mentor) MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-09-18T15:37:37.000000Z K 7 svn:log V 87 MFC: - Allow to set larger MTU. - Fix input byte counting. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-09-18T16:16:02.000000Z K 7 svn:log V 129 remove stub radar support; it's never been used and future hal's will not include the calls (due to redesign) MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-09-18T16:26:19.000000Z K 7 svn:log V 186 Add support for newer parts that do not require separate keycache entries for tx+rx mic keys. This requires a newer hal, but works fine with the current hal in cvs. MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-09-18T16:30:28.000000Z K 7 svn:log V 74 nuke unused support for building ath hal from src code MFC after: 1 week END