ƒ°182000 192 265 889 370 131 136 136 128 231 337 114 262 350 214 126 108 171 176 116 155 146 128 199 163 769 159 387 110 375 470 254 254 128 106 325 194 141 233 207 123 180 114 143 110 121 123 189 1041 264 364 126 121 151 524 392 160 345 493 373 429 472 528 1709 165 1322 398 444 315 258 162 557 190 132 255 198 284 182 148 158 290 435 362 277 124 210 112 131 108 109 582 200 230 156 462 333 155 200 141 294 120 120 131 169 297 218 444 1076 257 423 739 844 175 666 260 151 162 260 160 2448 328 389 395 293 430 590 126 189 121 310 324 196 282 300 137 410 144 145 170 192 376 289 226 149 160 128 133 218 116 161 122 128 113 341 154 355 234 163 127 136 206 214 127 223 209 110 113 115 292 174 150 292 801 243 158 119 283 150 159 694 253 159 262 275 195 129 147 168 136 276 145 588 233 464 K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-08-22T10:18:18.835125Z K 7 svn:log V 170 MFC: sync with HEAD. BTW, the change in rev.1.42 in head is totally unrelated to the commit message: it only adds .svn to the exclude list when copying files using tar. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-22T10:40:21.481892Z K 7 svn:log V 797 Fix pts(4) error codes when slave device is closed. Unlike pre-MPSAFE TTY, the pts(4) driver always returned ENXIO when a read() or write() was performed on a pseudo-terminal master device when the slave device was not opened. The old implementation had different semantics: - When the slave device had not been opened yet, read() and write() just blocked. - When the slave device had been closed, a read() call would return 0 bytes length. - When the slave device had been closed, a write() call would return EIO. Change the new implementation to return 0 and EIO as well. We don't implement the first rule, but I suspect this is not needed, because routines like openpty() also open the slave device node. posix_openpt() users also do similar things. Reported by: rink Tested by: rink END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-22T11:17:44.599841Z K 7 svn:log V 273 Upgrade trasz (Edward Tomasz Napierala) to a src commit bit; thanks to his GSoC 2008 NFSv4 ACLs project, he seems to have increasing numbers of kernel changes that need committing--something that he is well-equipped to do himself. I will be his mentor. Approved by: core END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-22T12:31:21.108538Z K 7 svn:log V 38 Back FreeBSD(98)'s copyright to 2003. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-22T12:40:59.343499Z K 7 svn:log V 43 MFC: Back FreeBSD(98)'s copyright to 2003. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-22T12:47:53.506596Z K 7 svn:log V 43 MFC: Back FreeBSD(98)'s copyright to 2003. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2008-08-22T13:29:30.062128Z K 7 svn:log V 34 Add myself. Approved by: rwatson END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-22T15:58:00.008773Z K 7 svn:log V 134 Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit will update usr.sbin/ntp to match this. MFC after: 2 weeks END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-22T16:00:48.775461Z K 7 svn:log V 240 Update the various files to sync with vendor import of 4.2.4p5. sntp includes a copy of libopts in itself in vendor code, rewrite the Makefile to compile and use only one copy. It is an internal library, not installed. MFC after: 2 weeks END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-22T16:06:35.580999Z K 7 svn:log V 18 Add myself there. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T16:14:23.050796Z K 7 svn:log V 169 Use |= rather than += when aggregrating requests to wakeup the swapper. What we really want is an inclusive or of all the requests, and += can in theory roll over to 0. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T16:15:58.079862Z K 7 svn:log V 257 A suspended thread can, in fact, be swapped out. Thus, thread_unsuspend_one() needs to optionally wakeup the swapper. Since we hold the thread lock for that entire function, however, we have to push that requirement up into the caller. Found by: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-22T18:36:58.008446Z K 7 svn:log V 122 Temporary unhook ntp from the build until the missing net/libopts/Makefile is in place. The TB is too busy sending mails. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T18:42:05.595309Z K 7 svn:log V 34 Remove unused UNITOSOFTC() macro. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T18:42:18.082822Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T18:42:45.929293Z K 7 svn:log V 79 Use ppc_detach() for device_detach instead of ppc_attach(). MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T18:43:19.684978Z K 7 svn:log V 84 Use bus_foo() rather than bus_space_foo() and remove bus handle and tag from softc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-22T18:52:27.877748Z K 7 svn:log V 24 Add a label for myself. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-22T19:05:47.758819Z K 7 svn:log V 60 Avoid misaligned access of struct frame. MFC after: 3 days END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-22T20:04:35.459072Z K 7 svn:log V 50 Add forgotten libopts subdir. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-22T20:28:19.110307Z K 7 svn:log V 33 cosmetic changes and style fixes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-22T20:38:25.391908Z K 7 svn:log V 104 Don't try enumerating APICs when running on top of xen (fixes boot on 64-bit dom0s) MFC after: 1 month END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-22T21:20:23.598222Z K 7 svn:log V 67 Hook back ntp to the build now that I fixed it. Pointy hat to: me END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-22T21:27:37.245740Z K 7 svn:log V 677 Fix two small bugs in tcsetattr(). - According to POSIX, tcsetattr() must not fail when any of the bits in the structure are unsupported, but it must leave the unsupported flags alone. - The CIGNORE flag (set by TCSASOFT, extension) was not cleared from c_cflag, which means using it would cause it to be applied during its entire lifespan. Eventually make sure we clear the flag. I don't really like CIGNORE, but I think we must keep it alive right now. With our new TTY layer, we don't actually need this mechanism, because if you leave c_cflag, c_ispeed and c_ospeed alone, we won't make a call into the device driver anyway. Reported by: naddy Tested by: naddy END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-22T23:24:53.077171Z K 7 svn:log V 65 Submit a band-aid for interrupt set up race. MFC after: 1 month END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-08-23T01:16:09.344043Z K 7 svn:log V 290 In nmount(), when we see the "force" option, set the MNT_FORCE flag, but do not persist "force" in the options list, since it is a command, not a persistent property of a mount. Similarly, when we see "reload", set MNT_RELOAD, but delete "reload" from the options list. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T01:20:36.241184Z K 7 svn:log V 18 Minor style nits. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-08-23T01:21:10.778336Z K 7 svn:log V 278 Instead of passing MNT_UPDATE, MNT_SNAPSHOT, MNT_RELOAD from userspace to kernel via nmount(), pass in the strings "update", "snapshot", "reload". We want to move away from passing MNT_ flags from userspace -> kernel via nmount(), and instead favor passing the string options. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-08-23T01:35:36.239694Z K 7 svn:log V 369 Allow the MD UMA allocator to use VM routines like kmem_*(). Existing code requires MD allocator to be available early in the boot process, before the VM is fully available. This defines a new VM define (UMA_MD_SMALL_ALLOC_NEEDS_VM) that allows an MD UMA small allocator to become available at the same time as the default UMA allocator. Approved by: marcel (mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-23T03:40:49.598128Z K 7 svn:log V 158 MFC r180753 by luoqi@: Only enable MSI mappings for devices that use MSI. Fixes interrupt loss on some nForce based boards. PR: kern/118842 END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-08-23T03:43:38.169367Z K 7 svn:log V 158 MFC r180753 by luoqi@: Only enable MSI mappings for devices that use MSI. Fixes interrupt loss on some nForce based boards. PR: kern/118842 END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T04:58:11.130775Z K 7 svn:log V 36 Add MIPS support. Reviewed by: jb@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:18:30.597685Z K 7 svn:log V 14 Cosmetic nit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:23:52.061862Z K 7 svn:log V 232 Cope with errors from device_get_children(). These errors can happen only in low memory situations, so the error fork of these fixes is lightly tested, but they should do the least-wrong thing... Submitted by: Hans Petter Selasky END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:38:00.664060Z K 7 svn:log V 101 Handle errors from device_get_chidlren. Free child list when there's more children than we expected. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:41:21.724327Z K 7 svn:log V 49 Handle errors in device_get_children gracefully. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:43:03.987617Z K 7 svn:log V 140 Actually revert last... Upon closer inspection the code works in the face of errors already... A bit unorthodox, but none-the-less valid. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:46:20.575826Z K 7 svn:log V 114 Set devs to 0 in case device_get_children return an error. The right thing to do here is nothing in that case... END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:46:58.931140Z K 7 svn:log V 31 Revert bogusly committed file. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T07:50:20.965221Z K 7 svn:log V 88 Document that devlistp and devcountp are only updated when there's no error. Bump date. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T09:02:17.007257Z K 7 svn:log V 22 MFH OpenPAM Hydrangea END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T10:44:18.726018Z K 7 svn:log V 51 'svn merge' did not automatically 'svn add' these. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T10:45:29.302446Z K 7 svn:log V 18 Fix svn:keywords. END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-08-23T10:49:02.707684Z K 7 svn:log V 27 Open vendor-crypto/openssl END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-08-23T10:51:00.336549Z K 7 svn:log V 29 Flatten OpenSSL vendor tree. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-23T12:27:18.441601Z K 7 svn:log V 98 Add an explicit comment why we NULLify the two variables. Reviewed by: rwatson MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-23T12:35:43.198283Z K 7 svn:log V 948 Adjust the handling the various timer frequencies when using the lapic timer. Previously, the various divisors were fixed which meant that while it gave somewhat reasonable stathz, etc. at hz=1000, it went off the rails with any other hz value. With these changes, we now pick a lapic timer hz based on the value of hz. If hz is >= 1500, then the lapic timer runs at hz. If 1500 hz >= 750, we run the lapic timer at hz * 2. If hz < 750, we run at hz * 4. We compute a divider at runtime to make stathz run as close to 128 as we can since stathz really wants to be run at something close to that frequency. Profiling just runs on every clock tick. So some examples: With hz = 100, the lapic timer now runs at 400 instead of 2000. stathz will be 133, and profhz = 400. With hz = 1000 (default), the lapic timer is still at 2000 (as it is now), stathz is at 133 (as it is now), and profhz will be 2000 (previously 666). MFC after: 2 weeks END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-08-23T12:40:07.431877Z K 7 svn:log V 167 Remove unused variable nosleepwithlocks. PR: 126609 Submitted by: Mateusz Guzik MFC after: 1 month X-MFC: to stable/7 only, this variable is still used in stable/6 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-23T12:53:42.087746Z K 7 svn:log V 271 If we are unable to obtain a frequency list from either ACPI or the static tables, then attempt to build a simple list containing just the high and low frequencies based on the current CPU frequency calculated during boot and the contents of the MSR. MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T13:05:19.931393Z K 7 svn:log V 34 Move r178152 into share/man/man4. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T13:20:43.432615Z K 7 svn:log V 29 Remove r178152 here as well. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T13:25:56.979726Z K 7 svn:log V 59 MFH colldef and timedef for nb_NO, nn_NO. PR: conf/51920 END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-23T13:28:55.475817Z K 7 svn:log V 432 Make stty(1) use tab0 and tab3 to handle tab completion. After the MPSAFE TTY import, we have support for the TAB0 and TAB3 flags to handle tab expansion, while we only used to support OXTABS. Switch stty(1) to use tab0 and tab3 to print whether tab expansion is turned on or off. Implement the oxtabs and tabs switches by setting the appropriate TABx value. Even though POSIX only lists this as being XSI, we'd better follow it. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-23T13:32:21.239047Z K 7 svn:log V 300 Remove unused tty_gone() checks inside ttyoutq_read_uio(). When my earlier MPSAFE TTY prototypes still implemented line disciplines, we needed a mechanism to abort read()'s on PTY master devices when inside the line discipline. Because this is no longer the case, these checks have become unneeded. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-23T13:37:55.721051Z K 7 svn:log V 68 MFH improved colldef and timedef for {nb,nn,no}_NO. PR: bin/51920 END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T14:17:00.843479Z K 7 svn:log V 249 - Add kbdmux(4); since sunkbd(4) was tought to emulate atkbd(4) like ukbd(4) does and that emulation was enabled by default, all three of them work together with kbdmux(4) out of the box just fine. - Fix some whitespace bugs. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-23T14:22:12.019078Z K 7 svn:log V 401 Cache the cred locally in _syncache_add() while holding the locks, so we can be sure that it's valid. In case we abort early free it again else put it into the syncache. We need the cred in the syncache to be able to restrict what will be exportet by the sysctl helper function syncache_pcblist() (to netstat) within jails. PR: kern/126493 Reviewed by: rwatson (earlier versions) MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T14:28:44.634566Z K 7 svn:log V 277 Remove clkbrd(4) as a separate device and compile it solely based on the presence of fhc(4) instead; we by far don't support all of the functionality provide by the clock board but in general it's an integral part of FireHose-based systems which shouldn't be possible to omit. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-23T14:36:39.221042Z K 7 svn:log V 337 Remove old BSD-style entries from /etc/ttys and increase pts(4) to 512. Because we now use pts(4)-style PTY's exclusively, there is no use for these entries in /etc/ttys. Right now the pts(4) entries only go from 0 to 255. Because we're going to touch these files anyway, increase the number to 511. Discussed with: philip (ex-mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-23T14:39:01.829110Z K 7 svn:log V 375 When getaudit(2) is unable to fit the terminal IPv6 address into the space provided by its argument structure, return EOVERFLOW instead of E2BIG. The latter is documented in Solaris's man page, but the former is implemented. In either case, the caller should use getaudit_addr(2) to return the IPv6 address. Submitted by: sson Obtained from: Apple, Inc. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T15:03:26.911818Z K 7 svn:log V 432 - Restore the behavior of enabling the MII buffer for an internal PHY only and not also in the case of an external PHY currently doing full duplex, which accidentally got broken in r172334. It's still not clear to me why we need to enable the buffer for an internal PHY though. - Count excess and late collisions as output errors. [1] - Count receive errors as input errors. [1] Obtained from: NetBSD [1] MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-23T15:13:39.107836Z K 7 svn:log V 1615 Fix a race condition with concurrent LOOKUP namecache operations for a vnode not in the namecache when shared lookups are enabled (vfs.lookup_shared=1, it is currently off by default) and the filesystem supports shared lookups (e.g. NFS client). Specifically, if multiple concurrent LOOKUPs both miss in the name cache in parallel, each of the lookups may each end up adding an entry to the namecache resulting in duplicate entries in the namecache for the same pathname. A subsequent removal of the mapping of that pathname to that vnode (via remove or rename) would only evict one of the entries from the name cache. As a result, subseqent lookups for that pathname would still return the old vnode. This race was observed with shared lookups over NFS where a file was updated by writing a new file out to a temporary file name and then renaming that temporary file to the "real" file to effect atomic updates of a file. Other processes on the same client that were periodically reading the file would occasionally receive an ESTALE error from open(2) because the VOP_GETATTR() in nfs_open() would receive that error when given the stale vnode. The fix here is to check for duplicates in cache_enter() and just return if an entry for this same directory and leaf file name for this vnode is already in the cache. The check for duplicates is done by walking the per-vnode list of name cache entries. It is expected that this list should be very small in the common case (usually 0 or 1 entries during a cache_enter() since most files only have 1 "leaf" name). Reviewed by: ups, scottl MFC after: 2 months END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T15:20:33.206974Z K 7 svn:log V 70 Provide and consume module dependency information. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-23T15:26:36.380063Z K 7 svn:log V 1224 Introduce two related changes to the TrustedBSD MAC Framework: (1) Abstract interpreter vnode labeling in execve(2) and mac_execve(2) so that the general exec code isn't aware of the details of allocating, copying, and freeing labels, rather, simply passes in a void pointer to start and stop functions that will be used by the framework. This change will be MFC'd. (2) Introduce a new flags field to the MAC_POLICY_SET(9) interface allowing policies to declare which types of objects require label allocation, initialization, and destruction, and define a set of flags covering various supported object types (MPC_OBJECT_PROC, MPC_OBJECT_VNODE, MPC_OBJECT_INPCB, ...). This change reduces the overhead of compiling the MAC Framework into the kernel if policies aren't loaded, or if policies require labels on only a small number or even no object types. Each time a policy is loaded or unloaded, we recalculate a mask of labeled object types across all policies present in the system. Eliminate MAC_ALWAYS_LABEL_MBUF option as it is no longer required. MFC after: 1 week ((1) only) Reviewed by: csjp Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T15:29:28.760473Z K 7 svn:log V 305 It turns out that my analysis of the error handling here was wrong. When there's an error, we don't want to free the children, since it will be stack garbage. While we did fail to dereference it by setting devs to 0, we didn't fail to call free. We never failed to fail, it was the easiest thing to do. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T15:34:31.675260Z K 7 svn:log V 351 There actually were bugs in the original handling that I missed last night. Free the children after each pci bus that is searched. Otherwise we leak them. With free in the new place, we also have to free children before going to done when we find the device we're looking for. Also, if we can't get the children of a device, just ignore that bus. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T15:44:13.305374Z K 7 svn:log V 219 - Removed unused sc_node. - Provide module dependency information. - Static'ize ebus_release_resource() in order to match prototype. - Remove outdated and/or obsolete comments. - Fix whitespace bugs. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T15:50:18.740771Z K 7 svn:log V 165 Move the code that looks for the companion phy to a subroutine to make sure we get the error handling right in both places. This also simplifies the code somewhat. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T15:57:43.965416Z K 7 svn:log V 70 When device_get_children returns an error, ignore that bus' children. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-23T16:03:00.525634Z K 7 svn:log V 465 Allow the user to suppress the rate-limited pty(4) warning. The pty(4) driver raises up to warnings when an old BSD-style PTY is created. The reason why I added this warning, was to make it easier to spot applications that allocate BSD-style PTY's, while they should just use openpty() or posix_openpt(). Add a sysctl, which allows you to override the number of remaining messages, making it possible to suppress the warnings. Requested by: kib Reviewed by: kib END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T16:07:20.130948Z K 7 svn:log V 95 - Provide and consume module dependency information. - Fix whitespace bugs. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T16:38:20.923820Z K 7 svn:log V 40 Handle errors from device_get_children. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-23T17:32:43.227277Z K 7 svn:log V 161 MFC r181839: Re-add Microsoft Intellimouse 2.0 TWHEEL quirk. Tested by: Merritt Draney, Brian Cox PR: kern/123224 PR: kern/123510 END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-23T17:35:15.171140Z K 7 svn:log V 104 MFC r181844: sc->sc_ibuf should be malloc'ed after quirks applied, as sc->sc_isize might have changed. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-23T17:38:24.742381Z K 7 svn:log V 190 MFC r181841: In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, its corresponding USAGE should be skipped as well. Tested by: Grzegorz Blach PR: usb/125941 END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2008-08-23T17:40:35.301434Z K 7 svn:log V 89 MFC r181843: Fix a typo: According to the hid spec, Global item #3 is Physical Minimum. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T18:22:49.456119Z K 7 svn:log V 56 Handle the error case properly for device_get_children. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T18:27:10.400636Z K 7 svn:log V 66 Make sure that we handle errors in device_get_children correctly. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T20:53:27.142646Z K 7 svn:log V 194 Update the comment regarding the workaround for the BlackBird TICK_COMPARE bug and the instruction alignment used for it based on information found in the OpenSolaris source. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-23T20:57:48.485734Z K 7 svn:log V 339 - Use m_collapse(9) instead of m_defrag(9) if possible. This results in a noticeable reduction in system time spent. - If bus_dmamap_load_mbuf_sg(9) fails with EFBIG and we already have defragmented the mbuf chain, don't bother to defragment and load it a second time just yet as it's likely to fail again anyway. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-08-23T20:59:12.895781Z K 7 svn:log V 265 Update drm kernel drivers. This is a sync to mesa/drm pre-gem, with a few fixes on top of that. It also contains one local patch supplied by kib@ that I can't apply to git.master shared code. Approved by: flz Obtained from: mesa/drm git.master MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-23T21:00:40.038997Z K 7 svn:log V 184 Add a very simple dpms(4) driver that uses the VESA BIOS DPMS calls to turn off the external display during suspend and restore it to its original state on resume. MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-23T21:30:08.296365Z K 7 svn:log V 30 make block devices start at 0 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-08-23T22:40:29.400018Z K 7 svn:log V 113 MFC: r180484 Delete "update" from the mount options after we have set MNT_UPDATE in fsflags. Requested by: yar END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T23:28:33.635845Z K 7 svn:log V 20 Style nit: s/^ }/}/ END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T23:30:54.921783Z K 7 svn:log V 39 Fix style nit: s/^ }/}/ in two places. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T23:35:08.737203Z K 7 svn:log V 16 Whitespace nit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-23T23:44:45.309308Z K 7 svn:log V 17 White space nit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-24T00:22:42.388074Z K 7 svn:log V 489 Some PC Card variants of the 82365 don't seem to like setting the IRQ number in the irq register. While there are other issues with these variants, avoiding writing to it helps interrupt generation on at least one card, and doesn't hurt on the others. Flag ISA attachment as needing INT_NO_REG written, and don't update the PC Card attachment (which will have the effect of not touching it for PC Cards). Document this in a comment, and tweak one or two formatting nits while I'm here. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-24T02:31:09.497317Z K 7 svn:log V 105 Don't calculate checksum if it has already been validated Obtained from: Chelsio Inc. MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-08-24T03:12:17.861285Z K 7 svn:log V 136 Use sbuf_putc instead of sbuf_cat. This makes more sense, since we are appending a single character to the buffer. MFC after: 2 weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-08-24T04:42:41.241197Z K 7 svn:log V 62 Evidently the block device starts at 767. MFC after: 1 month END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T04:58:22.532210Z K 7 svn:log V 364 Test for a bug reported by Bernd Walter: In passthrough mode, copying "dir/file" and then copying "dir" results in "File on disk is not older; skipping" for the "dir" because it was implicitly created by "dir/file." Among other sins, this means that "dir" ends up with the wrong permissions and ownership. This is actually a libarchive bug; fix is forthcoming. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:01:01.195309Z K 7 svn:log V 235 Fix the cpio bug tested for by r182092 of usr.bin/cpio/test. Since various 'find' incantations can emit container directories in various orders, we cannot refuse to update a dir because it's apparently the same age. MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:14:03.921498Z K 7 svn:log V 58 Test for proper handling of "cpio -p .." PR: bin/124924 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:24:52.599861Z K 7 svn:log V 102 Update the passthrough_dotdot test to reproduce a problem reported by Kris Kennaway. PR: bin/124924 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:40:42.704158Z K 7 svn:log V 44 cpio -v emits a line for every item copied. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:42:22.671135Z K 7 svn:log V 196 Fail copying path/.. only if SECURE_NODOTDOT was specified. Since we already warn for any '..' elements in that case, the extra "lastdotdot" tracking turns out to be unnecessary. PR: bin/124924 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:43:37.279488Z K 7 svn:log V 23 svn:ignore built files END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:45:12.976985Z K 7 svn:log V 23 svn:ignore built files END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:49:36.789410Z K 7 svn:log V 34 straighten out the "clean" target END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T05:54:28.468135Z K 7 svn:log V 72 Remove the stillborn attempt to cleanup tests as well as the build dir. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-24T06:21:00.829236Z K 7 svn:log V 199 Update the total archive byte counters when writing entries to disk using archive_write_disk. Update cpio to use this to emit block counts in -p mode. Update cpio tests to verify these block counts. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-24T07:40:14.601077Z K 7 svn:log V 125 MFp4 (my newcard tree): ISACFGATTR_MULTI is unused. Retire it, and a function that has no side effects used to compute it. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-24T08:41:29.553561Z K 7 svn:log V 352 Restore 256 pty(4) entries. As discussed with Robert Watson on the src-committers list, it is safer to keep at least some pty(4) entries in /etc/ttys, for applications that roll their own PTY allocation routine and only search for BSD-style PTY's. This means we've now just toggled the amount of entries for pts(4) and pty(4). Requested by: rwatson END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-24T10:01:22.995622Z K 7 svn:log V 984 Remove the now unneeded pt_chown utility. Before we had a posix_openpt() that allocated PTY's with proper permissions in place, we used this set-uid utility to change the ownership of PTY slave devices to the real user ID of the process. This utility was used to implement grantpt(). In my first designs of the MPSAFE TTY layer, I replaced this by adding an ioctl() called TIOCGRANTPT, which was used to change the ownership. I left the pt_chown utility, because older C libraries needed it to work properly. After some discussions back in June I changed the PTY code to set permissions properly upon creation. Fortunately the previous grantpt() implementation changed permissions by hand when pt_chown is not installed, which always succeeds. This means grantpt() still works properly, even though the set-uid utility is missing. I've done tests with FreeBSD 5.2.1, FreeBSD 6.3 and FreeBSD 7.0 jails. All of them still work if I remove pt_chown. Reviewed by: philip (ex-mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-24T11:03:43.699542Z K 7 svn:log V 165 Make the checks for ptp interfaces in ifa_ifwithdstaddr() and ifa_ifwithnet() look more similar by comparing the pointer to NULL in both cases. MFC after: 3 months END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-08-24T13:47:53.479588Z K 7 svn:log V 330 Explicitly tell that one needs to start a context address with a backslash if he/she wants to use a non-traditional delimiter, i.e., anything other than a slash. That is, /abc/ works as is, but xabcx needs to be spelled as \xabcx. Add appropriate markup. Bump Dd. Checked with: IEEE Std 1003.1, 2004 Edition MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-24T15:05:46.533212Z K 7 svn:log V 643 The PCI specifications don't explain the details on how to calculate the latency based on the Min_Gnt register so use the algorithm found in OpenSolaris as they probably know how to interpret the value Sun puts into these registers (previously, the latency calculated for 66MHz was most likely wrong) and for bridges additionally set up the secondary latency register. Also set up the bridge control register the way it's done in OpenSolaris. As the latency register don't apply to PCI-Express and the bridge control setup wasn't tested on sun4v (besides most likely not being needed), expand the #ifndef SUN4V accordingly. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-24T15:20:44.826332Z K 7 svn:log V 752 Make sysmouse(4) use its own locks, instead of using Giant. When I changed syscons(4) to work with the MPSAFE TTY code, I just locked all device nodes down using the compatibility feature that allows you to override the TTY's lock (Giant in this case). Upon closer inspection, it seems sysmouse(4) only has two internal variables that need locking: mouse_level and mouse_status. I haven't done any performance benchmarks on this, though I think it won't have any dramatic improvements on the system. It is good to get rid of Giant here, because the third argument of tty_alloc() has only been added to ease migration to MPSAFE TTY. It should not be used when not needed. While there, remove SC_MOUSE, which is a leftover from the MPSAFE TTY import. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-24T16:22:04.345889Z K 7 svn:log V 80 Announce the speed of the PCI bus for informational purpose. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-24T17:24:22.993114Z K 7 svn:log V 573 Revert the r167541: "Remove unneeded getinoquota() call in the ufs_access()." The call to getinoquota in ufs_access() serves the purpose of instantiating inode dquot from the vn_open(). Since quotas are accounted only for the inodes with already attached dquot, removal of the call prevented opened inodes from participation in the quota calculations. Since ufs_access() may be called with the vnode being only shared locked, upgrade (and then downgrade) vnode lock if calling getinoquota(). Reported by: simon at optinet com In collaboration with: pho MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-24T18:27:19.332016Z K 7 svn:log V 168 Make lmc(4) compile without INET6 defined[1]. While here make it compile if there is no INET defined. Obtained from: zec (via p4 vimage branch)[1] MFC after: 3 months END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-24T18:28:13.972763Z K 7 svn:log V 56 MFC: r181701, r182020 cosmetic changes and style fixes END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-08-24T18:29:22.833283Z K 7 svn:log V 71 Make the kernel compile with SCTP and SCTP_DEBUG but no INET6 defined. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-24T19:06:19.441005Z K 7 svn:log V 167 Put the relocked variable from the r182111 into the #ifdef QUOTA braces to prevent warning about unused var on the !QUOTA kernels. Reported by: ed MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-24T19:19:49.187309Z K 7 svn:log V 65 MFC: r169796, r181701, r182020 cosmetic changes and style fixes END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-08-24T19:50:57.082233Z K 7 svn:log V 2355 Make syscons(4) use ttyv0 instead of consolectl as its primary window. When I was hacking on uart(4) to make it work with the MPSAFE TTY layer, I noticed there was a difference between the way syscons and uart work with respect to consoles: - The uart(4) driver sets cn_name to the corresponding ttyu%r node, which means init(8) (which opens /dev/console) will have its output redirected to /dev/ttyu%r. After /etc/rc is done, it can spawn a getty on that device node as well. - Syscons used a little different approach. Apart from the /dev/ttyv%r nodes, it creates a /dev/consolectl node. This device node is used by moused and others to deliver their data, but for some reason it also acts as a TTY, which shares its stat structure with ttyv0. This device node is used as a console (run conscontrol). There are a couple advantages of this approach: - Because we use two different TTY's to represent the 0th syscons window, we allocate two sets of TTY buffers. Even if you don't use /dev/consolectl after the system has booted (systems that don't run moused), it seems the buffers are still allocated. - We have to apply an evil hack to redirect input to /dev/consolectl. Because each window (stat) is associated not associated with one TTY, syscons solves this by redirecting all input to closed TTY's to consolectl. This means that opening /dev/ttyv0 while in single user mode will probably cause strange things to happen with respect to keyboard input redirection. The first patch that I discussed with philip@ turned consolectl into a symlink to ttyv0, but this was not a good idea, because in theory we would want consolectl to be a simple device node, which contains all the `privileged' ioctl()'s. Apart from that, it didn't work, because each time /dev/ttyv0 got revoked, moused also lost its descriptor to deliver input, which meant you had to plug out/in your mouse to make it work again. This version just leaves the consolectl device the way it is. It can still be used to write output to ttyv0, but it can no longer receive any input. In my opinion this patch is not a complete solution, but it's already a step in the good direction. It would allow us to turn consolectl into a special (non-TTY) device node in the far future. It shaves off 15 KB of wasted TTY buffer space. Discussed with: philip END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-24T19:55:10.865443Z K 7 svn:log V 231 Use ERANGE instead of EOVERFLOW selected in r182059, this seems more appropriate even if Solaris doesn't document it (E2BIG) or use it (EOVERFLOW). Submitted by: nectar at apple dot com Sponsored by: Apple, Inc. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-24T20:02:18.409584Z K 7 svn:log V 293 MFamd64: r133413 In syscall, always make a copy of parameters from trapframe, this becauses some syscalls using set_mcontext can sneakily change parameters and later when those syscalls references parameters, they will wrongly use register values in mcontext_t. PR: 72998 MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-08-24T20:16:44.632138Z K 7 svn:log V 301 Remove worrying printf warning on bootup when processing vnodes which have NULL mount-points. This is the case for special vnodes, such as the one used in nameiinit() which is used for crossing mount points in lookup() to avoid lock ordering issues. MFC after: 2 weeks Discussed with: rwatson, kib END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-24T20:40:00.395546Z K 7 svn:log V 200 MFp4: Remove all the OtherBSD ifdefs. They are very out of date at this point. OtherBSD doesn't use this file verbatim, and they don't have FreeBSD ifdefs in their code. Reviewed by: bms@, joerg@ END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-24T20:53:36.070780Z K 7 svn:log V 334 There's a race in kmem(4) between checking whether a page is resident in the kernel and copying it out, causing a panic when faulting on a nofault entry. Handle this case gracefully by letting the kernel copy functions return EFAULT instead. As such this change addresses the same problem as r154721 does for i386. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-24T21:20:35.889390Z K 7 svn:log V 493 When MPSAFE ttys were merged, a new BSM audit event identifier was allocated for posix_openpt(2). Unfortunately, that identifier conflicts with other events already allocated to other systems in OpenBSM. Assign a new globally unique identifier and conform better to the AUE_ event naming scheme. This is a stopgap until a new OpenBSM import is done with the correct identifier, so we'll maintain this as a local diff in svn until then. Discussed with: ed Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-24T21:23:08.268619Z K 7 svn:log V 30 Regenerate following r182123. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-24T21:27:01.125229Z K 7 svn:log V 97 Add uipaq. HTC smart phones use it, and it seems like a reasonable thing to have laying around. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-24T21:33:10.305438Z K 7 svn:log V 26 VIMAGE is a global option END K 10 svn:author V 6 benjsc K 8 svn:date V 27 2008-08-24T22:42:39.384477Z K 7 svn:log V 214 Correct detection of particular wpi cards which only support b/g and fix the output to indicate b/g not a/g Submitted by: ischram at telenet.be Reviewed by: thompsa Approved by: sam (co-mentor) MFC after: 1 month END K 10 svn:author V 7 roberto K 8 svn:date V 27 2008-08-24T23:28:56.262803Z K 7 svn:log V 227 Use the correct systime.c file instead of the "simulation mode" one. Should fix the current weirdness in ntpd/ntpdate where the current system time is not read/updated. Submitted by: naddy MFC after: 2 weeks Pointy hat to: me END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T00:33:30.517384Z K 7 svn:log V 100 Move some struct defs around. This is a prep step for Vimage.A No real effect of this at this time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T01:51:40.488538Z K 7 svn:log V 189 Bring in verbatim copy of NetBSD's uipaq.4 man page. This in turn was copied from OpenBSD. I'll adjust the history section to reflect FreeBSD's history, and attach it to the build later. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T01:55:40.396651Z K 7 svn:log V 202 MFC r181542,r181555: Minor test suite fixup so that the test suite works against the libarchive 1.x API. Not needed by 7-STABLE, but it's nice to minimize the differences between 7-STABLE and CURRENT. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T02:01:47.499277Z K 7 svn:log V 40 MFC r181750: various minor test updates END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T02:05:04.989832Z K 7 svn:log V 317 Update uipaq for FreeBSD's driver: o List all devices FreeBSD supports (more on the way) o Sort the list of supported devices o Note this was introduced with FreeBSD 7.0 o Include the FreeBSD configuration synopsis o Bump the man page date o Put $FreeBSD$ where all the other usb man pages have it. And add to build. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T02:06:26.874881Z K 7 svn:log V 52 Sort the list of supported products alphabetically. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T02:06:56.746803Z K 7 svn:log V 48 MFC r181821, r181845: "./foo" now matches "foo" END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T02:14:52.185198Z K 7 svn:log V 73 MFC r181979, r181981, r181985: Test -q option and make it actually work. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T02:18:12.848928Z K 7 svn:log V 95 MFC r181984: Don't clean before testing, since clean also removes results from previous tests. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T02:36:27.446746Z K 7 svn:log V 283 Greatly expand the devices listed as being supported. This list was taken from PR/121184 which was mechanically generated from similar lists in the Linux ipaq driver. I then took the numbers we had in usbdevs and filled in the right symbols and eliminated duplicates. PR: 121184 END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T02:38:28.530589Z K 7 svn:log V 196 Note that most Windows CE phones are supported by this driver. # It would be nice if we had a good way to generate this list from the driver # list itself, since there's now over 400 listed Ids. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T02:42:13.125012Z K 7 svn:log V 133 Send the magic unlock packet the linux driver claims to have sniffed to enable line control. PR: 121184 Submitted by: Andriy Gapon END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T04:55:29.248583Z K 7 svn:log V 54 All opt_x.h includes go at the top of other includes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T04:59:43.979503Z K 7 svn:log V 68 MFp4: necessary quirks to get 3c1 not working (still no interrupts) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-25T05:20:17.747659Z K 7 svn:log V 36 MFp4: Network Adapter is redundant. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T05:20:29.981831Z K 7 svn:log V 38 This instance of ifnet got forgotten. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T05:38:18.841823Z K 7 svn:log V 122 We left out V_static_len from ip_fw2.c (also a whitespace diff that i'd rahter fix her ethan break in the vimage branch.) END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T05:49:16.465463Z K 7 svn:log V 21 Another V_ forgotten END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-08-25T05:51:58.901247Z K 7 svn:log V 67 Add DWA-110 and DWA-111 to the list of devices supported by rum(4) END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T05:57:56.423480Z K 7 svn:log V 27 Another missed V_ instance END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T06:08:22.452909Z K 7 svn:log V 31 Alphabetize the list of tests. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T06:09:32.150401Z K 7 svn:log V 18 another missed V_ END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-08-25T06:39:29.110207Z K 7 svn:log V 243 MfP4: Verify correct interaction with umask: Add another file with different permissions and set a non-zero umask during the actual copy tests. The extra entry increases the size of the test archives of course, so adjust the expected sizes. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-08-25T07:33:17.520072Z K 7 svn:log V 59 I think we can remove the conditionals for freebsd 2.0 now END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-08-25T09:30:27.997736Z K 7 svn:log V 262 Add a missing return statement in nlm4_unlock_msg_4_svc which prevented it from returning a reply message in most cases. This in turn caused interoperability problems with Mac OS X clients. PR: 126561 Submitted by: Richard.Conto at gmail.com MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-08-25T09:36:17.650102Z K 7 svn:log V 141 Rename RPC's 'struct pmap' to 'struct portmap' to avoid confusing it with the other 'struct pmap'. Pointed out by: kmacy MFC after: 2 weeks END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-08-25T12:11:07.085041Z K 7 svn:log V 71 MFC r181965: Increase cryptotest tool initialization vector (IV) size. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-25T13:25:56.141408Z K 7 svn:log V 35 Add {nb,nn}_NO locale directories. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-25T13:33:45.913764Z K 7 svn:log V 44 Also merge the follow-up commit to r164131. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-08-25T13:50:01.819599Z K 7 svn:log V 109 More fully audit fexecve(2) and its arguments. Obtained from: TrustedBSD Project Sponsored by: Google, Inc. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-25T14:45:24.966974Z K 7 svn:log V 120 Add the 2nd CCU and PnP devices support on pc98. Reviewed by: imp Obtained from: //depot/projects/uart with some fixes END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-08-25T14:52:50.988707Z K 7 svn:log V 34 Add the uart for 2nd CCU support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-25T15:23:54.425639Z K 7 svn:log V 130 Add more PCI IDs including those for ICH10. PR: kern/126736 Submitted by: Olivier Smedts olivier of gid0 org MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-08-25T16:16:57.259102Z K 7 svn:log V 116 Resort a few accessor routines so that they are consistently grouped with 'set_foo/get_foo' adjacent to each other. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-25T16:28:54.830242Z K 7 svn:log V 18 Make obrien happy END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-25T16:31:53.188357Z K 7 svn:log V 21 Make obrien happy #2 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-25T16:37:58.161655Z K 7 svn:log V 23 MFH: make obrien happy END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-08-25T17:33:43.638412Z K 7 svn:log V 194 We're less than a week from code freeze for the 7.1-REL release cycle. Start calling RELENG_7 "7.1-PRERELEASE" now to warn people that we're nearing code freeze so things might get a bit bumpy. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-08-25T17:58:15.142361Z K 7 svn:log V 77 MFC r181964 Adapt mxge shims to detect phys contig jumbo frames in RELENG_7 END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-08-25T18:36:19.252763Z K 7 svn:log V 55 MFC: r182018 Avoid misaligned access of struct frame. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-08-25T18:47:28.236350Z K 7 svn:log V 194 We're less than a week from code freeze for the 6.4-REL release cycle. Start calling RELENG_6 "6.4-PRERELEASE" now to warn people that we're nearing code freeze so things might get a bit bumpy. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-25T19:06:02.537707Z K 7 svn:log V 707 MFC: Sync. BPF JIT compiler with HEAD. - r179967, r179968, r179977, r179978: Rehash and clean up BPF JIT compiler macros to emit opcodes closer to GNU as(1) generated codes and micro-optimize. - r181644, r181645: Replace number of stack usages with registers. Note amd64 version does not use stack any more because it has more registers. - r181697: Remove unnecessary jump instructions of zero offsets. - r181700, r181848, r181853: Correctly check unsignedness of all registers used for load instructions with (in)direct offsets and sync. with sys/net/bpf_filter.c - r181648, r181649, 181846: Update copyrights, fix style(9) nits, remove unused macros, and make JIT compilers compilable on user land. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2008-08-25T20:09:27.150960Z K 7 svn:log V 146 MFC r176819: Remove hacks to filter out MNT_ROOTFS, since r173252 of vfs_mount.c filters out MNT_ROOTFS if it is passed from userspace -> kernel. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-25T20:39:56.854428Z K 7 svn:log V 65 Embed scratch memory in the filter structure. MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-25T20:43:13.013256Z K 7 svn:log V 26 Fix a typo in copyrights. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T21:19:36.979174Z K 7 svn:log V 190 MFC r180836 Increase UDBHASHSIZE from 16 to 128 items. Previous value was chosen 10 years ago and not very effective now. This change gives several percents speedup on 1000 L2TP mpd links. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-25T21:33:12.196269Z K 7 svn:log V 57 Reflect sys/net/bpf_jitter.h changes to regression test. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T21:42:41.011236Z K 7 svn:log V 67 MFC r180305 Improve approximation of style(9) in raw socket code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T21:46:45.491219Z K 7 svn:log V 601 MFC r180828 Add hash table lookup for a fully connected raw sockets. This gives significant performance improvements when many raw sockets used. Benchmarks of mpd handeling 1000 simultaneous PPTP connections show up to 50% performance boost. With higher number of connections benefit becomes even bigger. PopTop snd others should also get some benefits. MFC r180833, r180874 According to in_pcb.h protocol binding information has double locking. It allows access it while list travercing holding only global pcbinfo lock. This relaxed locking noticably increses receive socket lookup performance. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T21:59:00.430543Z K 7 svn:log V 160 MFC r180851 According to in_pcb.h protocol binding information has double locking. It allows access it while list travercing holding only global pcbinfo lock. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T22:09:19.543063Z K 7 svn:log V 67 MFC r180305 Improve approximation of style(9) in raw socket code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T22:12:38.002208Z K 7 svn:log V 169 MFC r180850, r180932 According to in_pcb.h protocol binding information has double locking. It allows access it while list travercing holding only global pcbinfo lock. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-08-25T22:26:46.110137Z K 7 svn:log V 182 MFC r180943 Don't use memcpy() to copy several bytes. Store IDs is host order. It is not so important to bloat code for it. Combine m_adj() and M_PREPEND() into single M_PREPEND(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-25T22:45:18.109511Z K 7 svn:log V 101 Use sys/net/bpf_jitter.c instead of rolling our own version since it is compilable on user land now. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-25T23:36:24.115688Z K 7 svn:log V 36 Add a trivial bpf filter benchmark. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-26T00:09:26.106213Z K 7 svn:log V 54 Make sys/net/bpf_filter.c build cleanly on user land. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-08-26T00:35:04.550216Z K 7 svn:log V 75 Remove some hacks from regression test since bpf_filter.c builds fine now. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-08-26T07:28:27.748296Z K 7 svn:log V 44 MFp4: Sort a couple options alphabetically. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-08-26T09:38:28.904635Z K 7 svn:log V 183 tsec: Improve and clean up callouts. - eliminate the unused tsec_tick_ch callout - adjust and fix the main tsec callout handling - minor naming improvements Obtained from: Semihalf END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-08-26T10:20:07.040966Z K 7 svn:log V 51 Announce cron(8) -m switch. Approved by: blackend END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-08-26T10:41:49.262989Z K 7 svn:log V 495 tsec: Refactor driver's structure. Split the driver into the core functionality part (sys/dev/tsec/if_tsec.c) and the bus attachment (sys/dev/tsec/if_tsec_ocp.c). This lets better integrate and maintain the driver in other environments with different attachment abstractions (there is at least one other FreeBSD port -- MPC83xx -- which uses this TSEC driver, but with different local bus model i.e. some OF derivative). While there, clean up and fix minor cosmetics. Obtained from: Semihalf END K 10 svn:author V 3 des K 8 svn:date V 27 2008-08-26T10:44:24.156196Z K 7 svn:log V 140 Fix mergeinfo: revert an incorrect merge of r180060, and move r178818 into the directories it affectes (etc and include). Reviewed by: jhb END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-08-26T10:53:32.315494Z K 7 svn:log V 371 When calculating arguments to the interpreter for the shebang script executed by fexecve(2), imgp->args->fname is NULL. Moreover, there is no way to recover the path to the script being executed. Do what some other U*ixes do unconditionally, namely supply /dev/fd/n as the script path when called from fexecve(). Document requirement of having fdescfs mounted as caveat. END