ƒ³P160000 186 172 213 125 539 711 294 166 129 1570 145 142 523 143 215 226 123 138 252 126 159 616 158 111 165 186 362 195 180 728 162 172 164 124 121 111 208 127 443 515 166 242 167 248 174 190 219 610 157 159 177 188 467 267 167 127 374 244 148 143 207 221 275 143 229 334 219 861 104 219 306 212 1382 242 285 141 163 263 124 163 114 466 240 204 336 217 223 620 539 179 450 644 228 173 124 123 131 174 216 167 324 108 317 980 218 156 293 284 134 852 852 307 221 191 232 207 436 158 244 1472 122 188 130 967 236 276 209 624 250 153 174 272 400 163 165 146 146 267 543 478 536 98 419 335 283 98 437 347 479 131 285 111 1107 204 230 288 201 196 389 240 177 160 240 387 197 320 219 173 164 161 136 149 186 143 187 162 238 238 1669 180 120 340 313 287 147 503 242 K 10 svn:author V 3 sos K 8 svn:date V 27 2006-06-28T09:59:09.000000Z K 7 svn:log V 80 Update AHCI support to be more generic. Add support for AHCI on the VIA VT8251. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-06-28T10:19:16.000000Z K 7 svn:log V 115 - s/nve/nfe/ in the SYNOPSIS (1) - bump date PR: 99575 Submitted by: thierry herbelot (1) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-06-28T10:38:38.000000Z K 7 svn:log V 29 Style: space after "return". END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-06-28T12:49:45.000000Z K 7 svn:log V 446 MFC: Since INSTALLS_SHLIB has been superseded by USE_LDCONFIG in bsd.port.mk, I expect to see quite a few files appearing in libdata/ldconfig directories. This change avoids the screen to be filled with the names of those ldconfig files and replace them by the actual non-default directories they contain. Most of them will be ${PREFIX}/lib so, 'sort -u' will help reducing the output. src/etc/rc.d/ldconfig: rev 1.15 -> 1.16 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-06-28T14:33:47.000000Z K 7 svn:log V 614 Merge uipc_socket2.c:1.158 and socketvar.h:1.150 from HEAD to RELENG_6: Remove sbinsertoob(), sbinsertoob_locked(). They violate (and have basically always violated) invariannts of soreceive(), which assume that the first mbuf pointer in a receive socket buffer can't change while the SB_LOCK sleepable lock is held on the socket buffer, which is precisely what these functions do. No current protocols invoke these functions, and removing them will help discourage them from ever being used. I should have removed them years ago, but lost track of it. Prodded almost by accident by: peter END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-06-28T15:01:08.000000Z K 7 svn:log V 197 Merge uipc_socket.c:1.267 from HEAD to RELENG_6: Rearrange code in soalloc() so that it's less indented by returning early if uma_zalloc() from the socket zone fails. No functional change. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-06-28T15:01:09.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 3 sos K 8 svn:date V 27 2006-06-28T15:04:10.000000Z K 7 svn:log V 37 Dont call free on non-alloc'd items. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2006-06-28T16:04:54.000000Z K 7 svn:log V 1474 Properly detect the RTL8168(B?) again. RealTek sent me a bunch of sample cards: the chips are all marked "RTL8111B", but they put stickers on the back that say "RTL8168B/8111B". The manual says there's only one HWREV code for both the 8111B and 8168B devices, which is 0x30000000, but the cards they sent me actually report HWREV of 0x38000000. Deciding to trust the hardware in front of me rather than a possibly incorrect manual (it wouldn't be the first time the HWREVs were incorrectly documented), I changed the 8168 revision code. It turns out this was a mistake though: 0x30000000 really is a valid for the 8168. There are two possible reasons for there to be two different HWREVs: 1) 0x30000000 is used only for the 8168B and 0x38000000 is only for the 8111B. 2) There were 8111/8168 rev A devices which both used code 0x30000000, and the 8111B/8168B both use 0x38000000. The product list on the RealTek website doesn't mention the existence of any 8168/8111 rev A chips being in production though, and I've never seen one, so until I get clarification from RealTek, I'm going to assume that 0x30000000 is just for the 8168B and 0x38000000 is for the 8111B only. So, the HWREV code for the 8168 has been put back to 0x30000000, a new 8111 HWREV code has been added, and there are now separate entries for recognizing both devices in the device list. This will allow all devices to work, though if it turns out I'm wrong I may need to change the ID strings END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2006-06-28T16:06:11.000000Z K 7 svn:log V 51 MFC: fix detection of 8168, detect 8111 separately END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-06-28T21:14:23.000000Z K 7 svn:log V 46 MFC rev 1.35: Don't interpret .//dir as /dir. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-06-28T21:57:35.000000Z K 7 svn:log V 426 A small race existed where the lock was dropped between when encif was tested and then set. [1] Reorganise things to eliminate this, we now ensure that enc0 can not be destroyed which as the benefit of no longer needing to lock in ipsec_filter and ipsec_bpf. The cloner will create one interface during the init so we can guarantee that encif will be valid before any SPD entries are added to ipsec. Spotted by: glebius [1] END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-29T03:27:04.000000Z K 7 svn:log V 49 o MFC rev. 1.50: expand an exclusive lock scope. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-29T05:36:34.000000Z K 7 svn:log V 118 Remove load balancer code, since it has serious priority inversion problem which really hurts performance on FreeBSD. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-29T05:59:36.000000Z K 7 svn:log V 129 Remove unused function declaration. Add else statement in sched_calc_pri. Fix a bug when checking interrupt thread in sched_add. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-06-29T06:17:48.000000Z K 7 svn:log V 26 Willcom WSIM DD support. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-06-29T06:31:13.000000Z K 7 svn:log V 41 Comment fix. Pointed out by: ume via IRC END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-06-29T06:38:21.000000Z K 7 svn:log V 155 Since 5714 family doesn't have Jumbo ring, we do not support Jumbos on them, yet. The 5780 is equivalent to the 5714. Submitted by: brad@OpenBSD, davidch END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T07:23:49.000000Z K 7 svn:log V 34 Reduce unneeded code duplication. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T07:30:39.000000Z K 7 svn:log V 67 Remove a few unused things. Fix some style and consistency points. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T07:52:30.000000Z K 7 svn:log V 523 Detach the interface first, do vlan_unconfig() then. Previously, another thread could get a pointer to the interface by scanning the system-wide list and sleep on the global vlan mutex held by vlan_unconfig(). The interface was gone by the time the other thread woke up. In order to be able to call vlan_unconfig() on a detached interface, remove the purely cosmetic bzero'ing of IF_LLADDR from the function because a detached interface has no addresses. Noticed by: a stress-testing script by maxim Reviewed by: glebius END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-06-29T08:28:18.000000Z K 7 svn:log V 61 Update man page. Pointed out by: netchild MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-06-29T09:18:16.000000Z K 7 svn:log V 15 Correct a typo END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-29T09:49:00.000000Z K 7 svn:log V 69 Fix system load count (noticed by dephij). Remove incorrect comment. END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-06-29T10:49:49.000000Z K 7 svn:log V 95 Use INPLOOKUP_WILDCARD instead of just 1 more consistently. OKed by: rwatson (some weeks ago) END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-06-29T11:17:16.000000Z K 7 svn:log V 270 Eliminate the offset argument from send_reject. It's not been used since FreeBSD-SA-06:04.ipfw. Adopt send_reject6 to what had been done for legacy IP: no longer send or permit sending rejects for any but the first fragment. Discussed with: oleg, csjp (some weeks ago) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-06-29T12:29:20.000000Z K 7 svn:log V 99 Fix a bug when accumulating run time, if a thread calls yield() syscall, its run time may be lost. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-06-29T13:38:36.000000Z K 7 svn:log V 84 Fix URL to Bellovin's paper. Submitted by: Anton Yuzhaninov END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-29T13:58:36.000000Z K 7 svn:log V 635 Fix semctl(2) breakage from the previous commit. Previously __semctl() had a local 'semid' variable which was the array index and used uap->semid as the original IPC id. During the kern_semctl() conversion those two variables were collapsed into a single 'semid' variable breaking the places that needed the original IPC ID. To fix, add a new 'semidx' variable to hold the array index and leave 'semid' unmolested as the IPC id. While I'm here, explicitly document that the (undocumented, at least in semctl(2)) SEM_STAT command curiously expects an array index in the 'semid' parameter rather than an IPC id. Submitted by: maxim END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T15:37:39.000000Z K 7 svn:log V 70 Use the elegant TAILQ_FOREACH() in place of a hand-rolled for() loop. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-06-29T16:27:19.000000Z K 7 svn:log V 77 Fix building with GCC 4.2: ensure types are defined before refering to them. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T16:56:07.000000Z K 7 svn:log V 72 Use queue(3) macros instead of accessing list/queue internals directly. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T17:09:47.000000Z K 7 svn:log V 32 Use TAILQ_FOREACH consistently. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T17:16:13.000000Z K 7 svn:log V 29 Use the nifty TAILQ_FOREACH. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T17:31:43.000000Z K 7 svn:log V 19 Use TAILQ_FOREACH. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T17:56:21.000000Z K 7 svn:log V 115 Use TAILQ_FOREACH in the __FreeBSD__ case, too. Funnily enough, rev. 1.15 changed the __Net and __Open cases only. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-06-29T18:12:18.000000Z K 7 svn:log V 32 MFC Basic Queueing model fixes. END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-06-29T18:36:39.000000Z K 7 svn:log V 350 MFC 1.136: - Pullup even when the extention header is unknown, to prevent infinite loop with net.inet6.ip6.fw.deny_unknown_exthdrs=0. - Teach ipv6 and ipencap as they appear in an IPv4/IPv6 over IPv6 tunnel. - Test the next extention header even when the routing header type is unknown with net.inet6.ip6.fw.deny_unknown_exthdrs=0. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-29T19:22:05.000000Z K 7 svn:log V 422 There is a consensus that ifaddr.ifa_addr should never be NULL, except in places dealing with ifaddr creation or destruction; and in such special places incomplete ifaddrs should never be linked to system-wide data structures. Therefore we can eliminate all the superfluous checks for "ifa->ifa_addr != NULL" and get ready to the system crashing honestly instead of masking possible bugs. Suggested by: glebius, jhb, ru END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-06-29T19:37:31.000000Z K 7 svn:log V 71 Fix building with GCC 4.2: define data types before referring to them. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-06-29T19:59:18.000000Z K 7 svn:log V 146 Partial support for branch long emulation. This only emulates the branch long jump and not the branch long call. Support for that is forthcoming. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-06-29T20:24:17.000000Z K 7 svn:log V 75 MFC: Check for errors when registering and unregistering firmware modules. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-06-29T21:03:12.000000Z K 7 svn:log V 152 MFC: 1.84. (and fixes) If in silent mode, do not return an error responce if asked to delete a table entry that is not present, or add one that exists. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-06-29T21:15:25.000000Z K 7 svn:log V 79 Create new dialect knob, as setting the language dialect isn't a warning flag. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-06-29T21:22:30.000000Z K 7 svn:log V 95 MFC: Add the ability to log to an arbitrary udp port as well as the standard syslog port. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-06-29T22:07:49.000000Z K 7 svn:log V 126 Add a -q option to suppress header lines when multiple files are specified. Approved by: cperciva (mentor) MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-06-30T06:27:24.000000Z K 7 svn:log V 517 Have sio return BIS_PROBE_DEFAULT like all the other drivers in the tree... John Baldwin noted that sio might pass values between probe and attach via softc. It appears that sio does leave the hardware in a known state after probing, so other drivers that try to probe might leave it in a worse state. It doesn't seem to pass any data in softc, however, that I could find... I think we should not be probing for anything but nonPnP isa, but that's a change for another day. Submitted by: Frank Behrens PR: 87845 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-06-30T07:45:38.000000Z K 7 svn:log V 61 - Reflect recent sched_core(4) changes. - Some typo fixes. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-06-30T08:10:55.000000Z K 7 svn:log V 65 o Fix typo in the comment. PR: kern/99632 Submitted by: clsung END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-06-30T08:19:26.000000Z K 7 svn:log V 86 - Simplify the formatting in the SYNOPSIS. - Add the forgotten new option in usage(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-06-30T11:35:35.000000Z K 7 svn:log V 97 Gleb committed an intermediary version, commit the right one now. Submitted by: Vadim Goncharov END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-06-30T18:25:07.000000Z K 7 svn:log V 374 We needn't check "m" for NULL here because "off" should be within the mbuf chain. If we ever get a buggy caller, a bogus "off" should be caught by the sanity check at the function entry. Null "m" here means a very unusual condition of a totally broken mbuf chain (wrong m_pkthdr.len or whatever), so we can just page fault later. Found by: Coverity Prevent(tm) CID: 825 END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-06-30T18:59:08.000000Z K 7 svn:log V 169 Change mfi_add_ld to "immediate command" mode since we need to enumerate potential boot disks during the probe so they are read for mount root. Reviewed by: ps, scottl END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-06-30T19:06:18.000000Z K 7 svn:log V 75 o fix join/rejoin format o add netbsd portability glue MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-06-30T19:35:35.000000Z K 7 svn:log V 34 Fix kernel module build breakage. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-06-30T20:54:15.000000Z K 7 svn:log V 278 Make the behavior of malloc(0) standards-compliant by getting rid of nil, and instead creating a small allocation for each malloc(0) call. The optional SysV compatibility behavior remains unchanged. Add a couple of assertions. Fix a couple of typos in error message strings. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-06-30T20:57:41.000000Z K 7 svn:log V 148 Add __{BEGIN,END}_DECLS macros, so that function prototypes remain unmangled for C++ programs. Submitted by: Niklas Sorensson END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-06-30T21:42:52.000000Z K 7 svn:log V 53 MFC: Define the magic number for the ELF trampoline. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-01T00:57:56.000000Z K 7 svn:log V 47 MFC: Clear invalid bits in SSE mxcsr register. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-01T05:01:05.000000Z K 7 svn:log V 114 Eliminate the remaining uses of "register". Convert the remaining K&R-style function declarations to ANSI-style. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-01T07:18:16.000000Z K 7 svn:log V 126 MFC rev. 1.24 do_command.c and rev. 1.13 popen.c: check return code from setuid(2), setgid(2), setlogin(2) and initgroups(3). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-01T07:25:20.000000Z K 7 svn:log V 180 MFC rev. 1.34: record a file offset for a last successfully parsed group file line. If the initial buffer size (1KB) for the given group line is not big enough, reset the offset. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-01T09:06:40.000000Z K 7 svn:log V 47 MFC: clear invalid bits in SSE mxcsr register. END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-01T10:51:55.000000Z K 7 svn:log V 134 Housekeeping. Update for maintainers who have handed in their commit bits or (in my case) no longer feel that oversight is necessary. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-01T13:39:04.000000Z K 7 svn:log V 239 o Remove rev. 1.30 leftover. From Damien: However, this code path is never taken since there aren't any 802.11a ural(4) sticks available on the market. PR: kern/99676 Submitted by: KIYOHARA Takashi Reviewed by: damien MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-01T15:14:37.000000Z K 7 svn:log V 125 More grammar / wording nit fixes, starting in the boot loader section and continuing through the multimedia support section. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-07-01T16:51:10.000000Z K 7 svn:log V 765 Use some math tricks in arena_run_reg_dalloc() to avoid actual division, as well as avoiding a switch statement. This change has no significant impact to performance when branch prediction is successful at predicting the sizes of objects passed to free(), but in the case that the object sizes are semi-random, this change has the potential to prevent many branch prediction misses, thus improving performance substantially. Take advantage of alignment guarantees in ipalloc(), and pad object sizes to something less than a power of two when possible. This has the potential to substantially reduce internal fragmentation for objects allocated via posix_memalign(). Avoid an unnecessary pow2_ceil() call in arena_ralloc(). Submitted by: djam8193ah@hotmail.com END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-07-01T17:59:13.000000Z K 7 svn:log V 13 Grammar nit. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-01T23:24:32.000000Z K 7 svn:log V 126 Eliminate the acquisition and release of Giant from moea_extract_and_hold() and moea_protect(). Tested by: grehan@ and rink@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-01T23:43:54.000000Z K 7 svn:log V 213 Tidy up pmap_ts_referenced(): Eliminate excessive white space. Eliminate an initialized but otherwise unused variable. Explicitly check a pointer against NULL. There are no functional changes. Checked by: md5 END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-02T01:58:33.000000Z K 7 svn:log V 118 Fix grammar and style nits starting in the network interface section and continuing through the end of this document. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-02T03:45:33.000000Z K 7 svn:log V 1288 MFp4: Make serial ports more robust and reliable. Make non-console ports work. This might have broken skyeye stuff. o Introduce ping-pong receive buffers. o Use DMA to copy characters directly into memory. o Support baud rates other than 115200 o Use 1 stop bit when 1 stop bit is requested (otherwise 2 were used, which caused dropped characters when received in bursts). o Use 1.5 stop bits for 5-bit bytes, and 2 stop bits otherwise when 2 stop bits were requested. o Actually update line parameters. o Fix comments o Move init into attach o Tweaks to TX interrupt registers to get them reliable and non-storming. o harvest data in ipend since the latency between it and the callback was too long. This likely is how it should be, I don't know why I deferred things to the callback before. o disable all interrupts in console init. We don't want interrupts until we turn on an ISR. o cosmetic tweaks o Automatically detect of the TIMEOUT interrupt is supported. If so, use it so we get better CPU utilization. Otherwise do a character at a time RX. Good news here is that it seems we have enough CPU and low enough fast interrupt latency to do this reliably. o Don't read USART_CR. It is a write-only register. o start to implement bus_ioctl. Do BAUD now... END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-02T03:50:44.000000Z K 7 svn:log V 149 Add support for configuring pins to be one of {GPIO, PERIPHERAL A or PERIPHERAL B}, as well as direction of GPIO pin. Add defines for all the pins. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-02T18:22:47.000000Z K 7 svn:log V 192 Correct an error in the new pmap_collect(), thus only affecting HEAD. Specifically, the pv entry was always being freed to the caller's pmap instead of the pmap to which the pv entry belongs. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-02T20:49:46.000000Z K 7 svn:log V 47 o Remove rev. 1.57 leftover, not reached code. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-02T20:53:52.000000Z K 7 svn:log V 69 o Fix grammar in the comment, indent macros. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-03T02:53:40.000000Z K 7 svn:log V 166 Replace hard-coded magic constants to system defined constants (BUS_PROBE_DEFAULT, BUS_PROBE_GENERIC etc). There is no functional changes. Reviewed by: oleg, scottl END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-03T06:38:53.000000Z K 7 svn:log V 32 MFC: (1.95) add the model name. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-03T08:01:27.000000Z K 7 svn:log V 67 Use mii_phy_match to reduce duplicated code. Reviewed by: glebius END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-03T08:22:09.000000Z K 7 svn:log V 19 Add 2322 firmware. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-03T08:24:09.000000Z K 7 svn:log V 370 Do various fixes to support firmware loading for the 2322 (and by extension, the 2422). One peculiar thing I've found with the 2322 is that if you don't force it to do Hard LoopID acquisition, the firmware crashes. This took a while to figure out. While we're at it, fix various bugs having to do with NVRAM reading and option setting with respect to pieces of NVRAM. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-03T10:32:38.000000Z K 7 svn:log V 147 Allow to close access even if device is already destroyed. Reported by: Ulrich Spoerlein PR: kern/98093 MFC after: 1 week END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-03T10:37:09.000000Z K 7 svn:log V 110 Reset autonegotiation timer if current media is not 'auto'. Approved by: glebius (mentor) MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-03T10:55:22.000000Z K 7 svn:log V 241 o Add an 'optional' keyword, which allows files to be in the specification, but not in the file hierarchy. PR: bin/99531 Submitted by: skv Obtained from: NetBSD, originally from Ed Symanzik Regress. test: test/test05.sh MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-03T14:44:13.000000Z K 7 svn:log V 120 Merge OpenBSM 1.0 alpha 7 nested time.h include to kernel version of audit_record.h. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-03T14:45:43.000000Z K 7 svn:log V 126 Merge OpenBSM 1.0 alpha 7 new AUE_ event identifiers to kernel version of audit_kevents.h. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-03T14:55:55.000000Z K 7 svn:log V 523 Correct a number of problems that were previously commented on: - Correct audit_arg_socketaddr() argument name from so to sa. - Assert arguments are non-NULL to many argument capture functions rather than testing them. This may trip some bugs. - Assert the process lock is held when auditing process information. - Test currecord in several more places. - Test validity of more arguments with kasserts, such as flag values when auditing vnode information. Perforce change: 98825 Obtained from: TrustedBSD Project END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-07-03T20:02:06.000000Z K 7 svn:log V 445 Adjust descriptor locking to tell the kqueue subsystem that our descriptor is already locked. The reason to do this is to avoid two lock+unlock operations in a row. We need the lock here to serialize access to bd_pid for stats collection purposes. Drop the locks all together on detach, as they will be picked up by knlist_remove. This should fix a failed locking assertion when kqueue is being used with bpf descriptors. Discussed with: jmg END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-03T20:56:48.000000Z K 7 svn:log V 84 What the heck - make the last (most recent) 2200 f/w also do Hard Loop acquisition. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-03T22:05:38.000000Z K 7 svn:log V 356 Send client identifier unconditionally. My ancient D-Link router response with NACK if I don't set it. Setting 'option dhcp-client-identifier' is alternative but it is inconvenient because I have to keep the list of all MAC addresses. As bin/94743 pointed out, it is always sent from Windows clients and I found Mac OS X does the same. OK'd by: brooks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-03T23:14:28.000000Z K 7 svn:log V 547 In ip_ctloutput(), check for a NULL inpcb pointer before dereferencing, as this can occur with TCP if protocol-layer socket options are set or queried after the connection has closed. There are still races associated with ip_ctloutput() and connection close with TCP, corrected in HEAD via a more comprehensive set of changes, but this fixes the trivial panic reported on several occasions. This is a RELENG_6_1 and RELENG_6_0 errata branch candidate. PR: 97095 Tested by: Stanislaw Halik MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-03T23:40:58.000000Z K 7 svn:log V 134 Make sure command/data port (0x60) and status port (0x64) are in correct order. Some brain-damaged ACPI BIOS has reversed resources. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-07-04T02:01:48.000000Z K 7 svn:log V 78 Remove dhcp entries. They have been incorrect since the import from OpenBSD. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-07-04T02:02:47.000000Z K 7 svn:log V 29 MFC: removal of dhcp entries END K 10 svn:author V 4 grog K 8 svn:date V 27 2006-07-04T03:29:31.000000Z K 7 svn:log V 30 Update dillon's mail address. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-04T14:14:16.000000Z K 7 svn:log V 37 o Add geom to a list of cscope dirs. END K 10 svn:author V 3 sos K 8 svn:date V 27 2006-07-04T20:36:03.000000Z K 7 svn:log V 82 Add preliminary support for the Serverworks HT1000 chip. HW sponsored by: Yahoo! END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-04T20:39:38.000000Z K 7 svn:log V 121 o Kill BUGS section as it is not valid since rev. 1.4 alias_pptp.c. Spotted by: ru.unix.bsd activists MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-04T20:52:36.000000Z K 7 svn:log V 73 o Call fts_close() before exit. Obtained from: NetBSD, Coverity ID 1754 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-04T23:09:11.000000Z K 7 svn:log V 227 Fix a braino in the last revision, enc_clone_destroy needs return void instead of int. The clone system will ensure that our first interface is not destroyed so we dont need the extra checking anyway. Tested by: Scott Ullrich END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-04T23:52:12.000000Z K 7 svn:log V 12 Add myself. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-05T00:49:26.000000Z K 7 svn:log V 220 Change the multicast calculation to be the same as the other usb drivers and avoid calling into the usb code with the lock held. This doenst fix the fundamental usb sleeping problem but at least the adapter can be used. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-07-05T02:16:29.000000Z K 7 svn:log V 887 Backed out rev.1.10. It tried to implement ldexpf() as a weak reference to scalbf(), but ldexpf() cannot be implemented in that way since the types of the second parameter differ. ldexpf() can be implemented as a weak or strong reference to scalbnf() (*) but that was already done long before rev.1.10 was committed. The old implementation uses a reference, so rev.1.10 had no effect on applications. The C files for the scalb() family are not used for amd64 or i386, so rev.1.10 had even less effect for these arches. (*) scalbnf() raises the radix to the given exponent, while ldexpf() raises 2 to the given exponent. Thus the functions are equivalent except possibly for their error handling iff the radix is 2. Standards more or less require identical error handling. Under FreeBSD, the functions are equivalent except for more details being missing in scalbnf()'s man page. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-05T02:32:55.000000Z K 7 svn:log V 121 Temporarily remove SCHED_CORE, it seems I have so many works can do now, one example is POSIX priority mutex for libthr. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-05T04:56:50.000000Z K 7 svn:log V 60 Fix typo in comment. Submitted by: brad AT OpenBSD DOT org END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-07-05T06:10:21.000000Z K 7 svn:log V 200 Fixed FP_R*. fp{get_set}round() apparently never worked on ia64, since the alpha values were used and are quite different. Fixed some style bugs by copying from the i386 version where it is better. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-05T07:04:31.000000Z K 7 svn:log V 191 pmap_clear_ptes() is already convoluted. This will worsen with the implementation of superpages. Eliminate it and add pmap_clear_write(). There are no functional changes. Checked by: md5 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-05T08:26:50.000000Z K 7 svn:log V 37 Document ServerWorks HT1000 support. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-05T11:35:17.000000Z K 7 svn:log V 755 Merge rpc_svcout.c:1.23 from HEAD to RELENG_6: In change 1.15, an arbitrary setting of the max RPC record size to RPC_MAXDATASIZE was introduced. This is believed to have been debugging code committed accidentally, although I've been unable to reach the committer to confirm this. The effect was to limit the size of RPCs on TCP and UDP to 9k, well below the default protocol limits in the libc rpc code. This change simply removes these introduced limits, falling back on the libc definitions. PR: 88856 Reported by: Keith Bostic Testing by: Susan LoVerso Reveiwed by: cel, rees Review timeout: alfred, mbr Approved by: mbr END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-05T11:36:23.000000Z K 7 svn:log V 755 Merge rpc_svcout.c:1.23 from HEAD to RELENG_5: In change 1.15, an arbitrary setting of the max RPC record size to RPC_MAXDATASIZE was introduced. This is believed to have been debugging code committed accidentally, although I've been unable to reach the committer to confirm this. The effect was to limit the size of RPCs on TCP and UDP to 9k, well below the default protocol limits in the libc rpc code. This change simply removes these introduced limits, falling back on the libc definitions. PR: 88856 Reported by: Keith Bostic Testing by: Susan LoVerso Reveiwed by: cel, rees Review timeout: alfred, mbr Approved by: mbr END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-05T12:43:13.000000Z K 7 svn:log V 214 MFC rev. 1.4. Replace absolute addressing in the call instructions with position-independend calls. This eliminates TEXTREL from libc, making its text segment relocatable. PR: i386/85242 Approved by: kan (mentor) END K 10 svn:author V 8 wsalamon K 8 svn:date V 27 2006-07-05T15:46:02.000000Z K 7 svn:log V 123 Add audit events for the extended attribute system calls. Obtained from: TrustedBSD Project Approved by: rwatson (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-05T16:33:25.000000Z K 7 svn:log V 99 Back out my rev. 1.674. The better fix (rev. 1.637) is already in tree. Approved by: kan (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-05T16:34:16.000000Z K 7 svn:log V 139 MFC rev. 1.637: Fix the LOR that occurs when the MAC compiled into the kernel and vnode is destroyed. LOR: 189 Approved by: kan (mentor) END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-07-05T17:18:47.000000Z K 7 svn:log V 113 Replace inb() and outb() with bus_space_read_1() and bus_space_write_1() Submitted by: marius MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-07-05T17:34:57.000000Z K 7 svn:log V 343 Forced commit to fix the log message for the previous commit: the C files for the scalb() family are only not used for i386, due to only i386 having bogus optimized asm versions for the scalb() family. Thus on amd64, rev.1.10 had no effect in the same way as on all non-i386 arches (the strong reference is just implemented in asm on amd64). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-05T19:08:49.000000Z K 7 svn:log V 66 MFC: Move the code to handle the vm.blacklist tunable up a layer. END K 10 svn:author V 8 wsalamon K 8 svn:date V 27 2006-07-05T19:24:14.000000Z K 7 svn:log V 146 Regen the system calls files, picking up the extended attr events, and some mount-related changes done previously. Approved by: rwatson (mentor) END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-07-05T20:06:42.000000Z K 7 svn:log V 1378 Removed the optimized asm versions of scalb() and scalbf(). These functions are only for compatibility with obsolete standards. They shouldn't be used, so they shouldn't be optimized. Use the generic versions instead. This fixes scalbf() as a side effect. The optimized asm version left garbage on the FP stack. I fixed the corresponding bug in the optimized asm scalb() and scalbn() in 1996. NetBSD fixed it in scalb(), scalbn() and scalbnf() in 1999 but missed fixing it in scalbf(). Then in 2005 the bug was reimplemented in FreeBSD by importing NetBSD's scalbf(). The generic versions have slightly different error handling: - the asm versions blindly round the second parameter to a (floating point) integer and proceed, while the generic versions return NaN if this rounding changes the value. POSIX permits both behaviours (these functions are XSI extensions and the behaviour for a bogus non-integral second parameter is unspecified). Apart from this and the bug in scalbf(), the behaviour of the generic versions seems to be identical. (I only exhusatively tested generic_scalbf(1.0F, anyfloat) == asm_scalb(1.0F, anyfloat). This covers many representative corner cases involving NaNs and Infs but doesn't test exception flags. The brokenness of scalbf() showed up as weird behaviour after testing just 7 integer cases sequentially.) END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-07-05T20:07:59.000000Z K 7 svn:log V 30 - Document new missing target END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-07-05T20:38:54.000000Z K 7 svn:log V 96 - Document RANDOMIZE_MASTER_SITES, MASTER_SORT - Remove OPTIONS, it's no user settable variable END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-05T22:55:00.000000Z K 7 svn:log V 35 Sync with HEAD: Update to SDM 2.2. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-07-05T22:59:33.000000Z K 7 svn:log V 874 Fixed tanh(-0.0) on ia64 and optimizeed tanh(x) for 2**-55 <= |x| < 2**-28 as a side effect, by merging with the float precision version of tanh() and the double precision version of sinh(). For tiny x, tanh(x) ~= x, and we used the expression x*(one+x) to return this value (x) and set the inexact flag iff x != 0. This doesn't work on ia64 since gcc -O does the dubious optimization x*(one+x) = x+x*x so as to use fma, so the sign of -0.0 was lost. Instead, handle tiny x in the same as sinh(), although this is imperfect: - return x directly and set the inexact flag in a less efficient way. - increased the threshold for non-tinyness from 2**-55 to 2**-28 so that many more cases are optimized than are pessimized. Updated some comments and fixed bugs in others (ranges for half-open intervals mostly had the open end backwards, and there were nearby style bugs). END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-05T23:37:21.000000Z K 7 svn:log V 142 Complete timebase (time_second -> time_uptime) conversion. PR: kern/94249 Reviewed by: andre (few months ago) Approved by: glebius (mentor) END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-06T00:24:36.000000Z K 7 svn:log V 182 Adjust rt_(set|get)metrics() to do kernel <-> userland timebase conversion. We need it since kernel timebase has changed (time_second -> time_uptime). Approved by: glebius (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-06T06:17:08.000000Z K 7 svn:log V 116 Make two simplifications to pmap_ts_referenced(): Eliminate an unnecessary test and exit the loop in a shorter way. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-07-06T08:32:50.000000Z K 7 svn:log V 527 MFC: sync taskqueue api with HEAD modulo preserving the calling convention for taskqueue_create This is replay of [1], that was backed out before 6.1-RELEASE due to breaking ACPI on certain laptops. The [2] commit has fixed this problem. bsam@, who once reported the breakage confirms that after [2] the problem has vanished and now it is safe to merge [1] again. [1] http://lists.freebsd.org/pipermail/cvs-src/2006-March/061203.html [2] http://lists.freebsd.org/pipermail/cvs-src/2006-June/065256.html Tested by: bsam END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-06T10:39:58.000000Z K 7 svn:log V 153 Fix a missing unlock operation in interrupt handler. PR: kern/99205 Submitted by: Alexey Illarionov MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-06T11:35:27.000000Z K 7 svn:log V 57 Reflect library bumps caused by gethostbyaddr(3) change. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-06T11:43:53.000000Z K 7 svn:log V 78 Oops, library bumps should be reflected with OLD_LIBS. Pointed out by: maxim END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-07-06T11:59:27.000000Z K 7 svn:log V 178 Since kernel & userland use different timebase and netstat is reading kernel memory directly, we should do timebase conversion for route lifetime. Approved by: glebius (mentor) END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-07-06T12:56:38.000000Z K 7 svn:log V 307 MFC: Add a -q option to suppress header lines when multiple files are specified (and fixes from Ruslan). src/usr.bin/tail/extern.h: rev 1.9 -> 1.10 src/usr.bin/tail/tail.1: rev 1.12 -> 1.13 src/usr.bin/tail/forward.c: rev 1.39 -> 1.40 src/usr.bin/tail/tail.c: rev 1.21 -> 1.22 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-06T13:22:08.000000Z K 7 svn:log V 67 Use #include "", not #include <> for opt_foo.h. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-06T13:24:22.000000Z K 7 svn:log V 69 Remove now unneeded opt_mac.h and mac.h includes. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-06T13:25:01.000000Z K 7 svn:log V 50 Remove unneeded mac.h include. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-06T13:25:51.000000Z K 7 svn:log V 50 Remove now unneeded opt_mac.h and mac.h includes. END K 10 svn:author V 8 wsalamon K 8 svn:date V 27 2006-07-06T19:33:38.000000Z K 7 svn:log V 169 Audit the remaining parameters to the extattr system calls. Generate the audit records for those calls. Obtained from: TrustedBSD Project Approved by: rwatson (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-06T21:12:18.000000Z K 7 svn:log V 449 Enhanced floppy controllers have Data Rate Select Register (DSR) at 0x3f4. Use it to reset controller and to select data rate. According to Intel 80277AA datasheet, software reset behaves the same as DOR reset except that it is self clearing. National Semiconductor PC8477B datasheet says the same. As a side effect, we no longer use Configuration Control Register (CCR) at 0x3f7 for these controllers, which is often missing in modern hardware. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:29:05.000000Z K 7 svn:log V 385 Use the regular poll(2) function to implement poll(2) for the IBCS2 compat ABI as FreeBSD's poll(2) is ABI compatible. The ibcs2_poll() function attempted to implement poll(2) using a wrapper around select(2). Besides being somewhat ugly, it also had at least one bug in that instead of allocating complete fdset's on the stack via the stackgap it just allocated pointers to fdsets. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:32:20.000000Z K 7 svn:log V 443 Add kern_setgroups() and kern_getgroups() and use them to implement ibcs2_[gs]etgroups() rather than using the stackgap. This also makes ibcs2_[gs]etgroups() MPSAFE. Also, it cleans up one bit of weirdness in the old setgroups() where it allocated an entire credential just so it had a place to copy the group list into. Now setgroups just allocates a NGROUPS_MAX array on the stack that it copies into and then passes to kern_setgroups(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:33:14.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:38:24.000000Z K 7 svn:log V 326 Don't try to copyin extra data for IPC_RMID requests to msgctl() or shmctl(). None of the other ABI's do this (including the native FreeBSD ABI), and uselessly trying to do a copyin() can actually result in a bogus EFAULT if the a process specifies NULL for the optional argument (which is what they should do in this case). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:39:39.000000Z K 7 svn:log V 242 - Explicitly acquire Giant around SYSINIT's and SYSUNINIT's since they are not all known to be MPSAFE yet. - Actually remove Giant from the kernel linker by taking it out of the KLD_LOCK() and KLD_UNLOCK() macros. Pointy hat to: jhb (2) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:42:36.000000Z K 7 svn:log V 190 - Protect the list of linux ioctl handlers with an sx lock. - Hold Giant while calling linux ioctl handlers for now as they aren't all known to be MPSAFE yet. - Mark linux_ioctl() MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-06T21:43:14.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-06T23:22:34.000000Z K 7 svn:log V 340 Forced commit to recognize repo-copy of kern_acl.c to subr_acl_posix1e.c, which will hold POSIX.1e-specific ACL routines. kern_acl.c will conintue to hold system calls and general purpose ACL routines common to both POSIX.1e, NFSv4, and other types of ACLs we may support in the future. Thanks to: simon Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-06T23:37:39.000000Z K 7 svn:log V 250 Move POSIX.1e-specific utility routines from kern_acl.c to subr_acl_posix1e.c, leaving kern_acl.c containing only ACL system calls and utility routines common across ACL types. Add subr_acl_posix1e.c to the build. Obtained from: TrustedBSD Project END K 10 svn:author V 3 gad K 8 svn:date V 27 2006-07-07T01:12:26.000000Z K 7 svn:log V 386 Fix checking of the "lock" file in the spool directory for a queue, so that the checking will wind up with the correct mode-bits in the case where the initial open() of that lock file will create it. Due to this bug, the first job ever sent to a queue could leave that queue in a "printing is disabled" state. PR: 93469 Submitted by: Michael Szklarski of kco.com.pl MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T02:02:55.000000Z K 7 svn:log V 36 Sync with HEAD: MFC rev. 1.9 & 1.10 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T02:44:23.000000Z K 7 svn:log V 189 Fix cut-n-paste bug: compare argument s against known aliases, not the global optarg. This bug goes unnoticed because optarg is so far always the actual argument for the formal argument s. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T03:30:37.000000Z K 7 svn:log V 16 Sync with HEAD. END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-07-07T04:33:08.000000Z K 7 svn:log V 1013 Fixed the threshold for using the simple Taylor approximation. In e_log.c, there was just a off-by-1 (1 ulp) error in the comment about the threshold. The precision of the threshold is unimportant, but the magic numbers in the code are easier to understand when the threshold is described precisely. In e_logf.c, mistranslation of the magic numbers gave an off-by-1 (1 * 16 ulps) error in the intended negative bound for the threshold and an off-by-7 (7 * 16 ulps) error in the intended positive bound for the threshold, and the intended bounds were not translated from the double precision bounds so they were unnecessarily small by a factor of about 2048. The optimization of using the simple Taylor approximation for args near a power of 2 is dubious since it only applies to a relatively small proportion of args, but if it is done then doing it 2048 times as often _may_ be more efficient. (My benchmarks show unexplained dependencies on the data that increase with further optimizations in this area.) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-07-07T07:25:21.000000Z K 7 svn:log V 106 Fix problems in the startup scripts for jails. Errata: FreeBSD-EN-06:01.jail Approved by: so (cperciva) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-07T13:51:56.000000Z K 7 svn:log V 133 Forced commit to recognize repo-copy of mac_is_present_np.3 to mac_is_present.3. Thanks to: simon Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-07T14:02:17.000000Z K 7 svn:log V 191 Following repo-copy of mac_is_present_np.3 to mac_is_present.3, remove old file, update references, etc. The C function is already named mac_is_present(). Obtained from: TrustedBSD Project END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-07T14:32:27.000000Z K 7 svn:log V 108 Remove bogus assertion. Reported by: Bradley W. Dutton MFC after: 3 days END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-07-07T15:34:44.000000Z K 7 svn:log V 102 Update rc.d/jail item for EN-06:01.jail. Somewhat belatedly update NDP item for a merge to RELENG_6. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T22:59:01.000000Z K 7 svn:log V 293 Import BETA 10 of HP's Unwind Express. This import does not contain any modifications to make it build as part of the FreeBSD kernel. Now that the source appears to have stabilized, local changes will happen on HEAD and will therefore cause affected files to be pulled from the vendor branch. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T22:59:01.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r160157, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-07-07T22:59:02.000000Z K 7 svn:log V 81 This commit was manufactured by cvs2svn to create tag 'libuwx-vendor-sys-BETA10'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T23:04:49.000000Z K 7 svn:log V 65 Remove files from the vendor branch that aren't part of BETA 10. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T23:04:49.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r160160, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-07T23:30:14.000000Z K 7 svn:log V 294 MFC: phk's bus_{read,write}_* macros. These are slightly different than -current because rman is opaque in RELENG_6, but are 100% API compatible. If they prove to be too slow, we may be able to make rman non-opaque to mitigate it. This should help porting drivers from -current into -stable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-07-07T23:56:34.000000Z K 7 svn:log V 101 Apply local modifications to make Unwind Express BETA 10 buildable and usable in the FreeBSD kernel. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-07-08T00:01:01.000000Z K 7 svn:log V 224 Make in-kernel multicast protocols for pfsync and carp work after enabling dynamic resizing of multicast membership array. Reported and testing by: Maxim Konovalov, Scott Ullrich Reminded by: thompsa MFC after: 2 weeks END K 10 svn:author V 6 avatar K 8 svn:date V 27 2006-07-08T03:18:41.000000Z K 7 svn:log V 123 Adding more antiques came from the RELENG_4(or prior) era: sbin/nfsd, sbin/mount_portal and sbin/kget. MFC after: 1 month END K 10 svn:author V 6 avatar K 8 svn:date V 27 2006-07-08T03:22:44.000000Z K 7 svn:log V 78 Oops, it is sbin/nfsd that was removed, not the man page. MFC after: 1 month END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-07-08T07:32:41.000000Z K 7 svn:log V 67 Add note concerning FreeBSD-SA-06:01.texindex. Suggested by: csjp END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-08T07:45:58.000000Z K 7 svn:log V 67 MFC rev. 1.38: NIS clients ask for "shells" map not "shells.list". END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-08T07:48:43.000000Z K 7 svn:log V 42 MFC rev. 1.41: remove rev. 1.30 leftover. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-08T07:53:57.000000Z K 7 svn:log V 55 MFC rev. 1.40: fix a condition logic for !do_dns case. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-08T12:31:33.000000Z K 7 svn:log V 89 Forced commit to note repo copy from sys/doc. Requested by: trhodes Repo copy by: simon END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-08T12:32:42.000000Z K 7 svn:log V 46 Add (missing) and remove (obsolete) .m files. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-08T12:34:29.000000Z K 7 svn:log V 90 Remove after repo copy to src/tools/kerneldoc. Requested by: trhodes Repo copy by: simon END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-08T13:47:40.000000Z K 7 svn:log V 70 MFC: (1.10) regenerate host.conf every time nsswitch.conf is updated. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-07-08T13:49:24.000000Z K 7 svn:log V 141 In get_exportlist(), properly loop over mounted filesystems. PR: bin/99873 Submitted by: Danny Braniss END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-07-08T13:54:49.000000Z K 7 svn:log V 141 In get_exportlist(), properly loop over mounted filesystems. PR: bin/99873 Submitted by: Danny Braniss END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-08T14:06:56.000000Z K 7 svn:log V 1570 MFC: - linux_misc.c 1.179 Don't copyout/do unneccesary work if the buffer is a NULL pointer. Noticed by: Dmitry Ganenko Reviewed by: rdivacky (the original version as in emulation@) - linprocfs.c 1.96: Improve linprovfs to provide/fix the - process state (idle, sleeping, running, ...) [1] - the process group ID of the process which owns the connected tty - some page fault stats - time spend in kernel/userland - priority/nice value - starttime [1] - memory/swap stats - scheduling policy Additionally add some new fields and correct some not filled out ones. This brings us down to 15 dummy fields. The fields marked with [1] are needed to get Oracle 10 running. The starttime field is not completely right, since it displays the _same_ starttime for _every_ process, but at least it is not 0 and Oracle accepts this. Noticed by: Dmitry Ganenko [1] Reviewed by: des, rdivacky - pseudofs_vnops.c 1.60: Correctly calculate a buffer length. It was off by one so a read() returned one byte less than needed. Noticed by: Dmitry Ganenko Testcase by: Dmitry Ganenko Reviewed by: des Submitted by: rdivacky Sponsored by: Google SoC 2006 All of those are needed for Oracle 10. Since previous Oracle versions work just fine without those fixes, these patches can be seen as regression fixes too. Because of this I think they are a RELENG_6_x candidate (MFC reminder set). MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-08T14:34:56.000000Z K 7 svn:log V 88 Turn on libfetch debugging if -v was specified on the command line. MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-08T14:37:19.000000Z K 7 svn:log V 28 MFC: namespace munging hack END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-08T15:34:27.000000Z K 7 svn:log V 247 MFC rev. 1.62: Reparent the process that executes the window= command from the ttys to the init. This prevents zombies from being accumulated. PR: bin/64198 Tested by: Eugene Grosbein Approved by: kan (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-08T15:36:51.000000Z K 7 svn:log V 220 Always supply curthread as argument to nfs_asyncio and nfs_doio in nfs_strategy. Otherwise, for some buffers, signals would be ignored at the intr mounts. Reviewed by: mohan MFC after: 1 month Approved by: kan (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-08T15:39:11.000000Z K 7 svn:log V 194 Signals may be delivered to process as well as to the thread. Check the thread-delivered signals in addition to the process one. Reviewed by: mohan MFC after: 1 month Approved by: kan (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-08T15:43:26.000000Z K 7 svn:log V 55 MFC: (1.16) our glob(3) has all the required features. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-08T15:51:55.000000Z K 7 svn:log V 410 Remove old GENERIC kludge. We no longer need to skip devices named atkbd. Version 1.162 of GENERIC fixed this problem in April of 1999. Subsequent to that, the hints data was removed from GENERIC and move to hints files. All the hints file ever created have atkbd at the right location. This should have been removed just after RELENG_4 was branched (and likely around 4.5 in RELENG_4). MFC After: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-08T16:50:10.000000Z K 7 svn:log V 149 (apply '(lambda (reformat-region 'style-9-parens)) (read-file isahint.c)) remove redundant parens, per style(9) to reduce that limp, lispy feeling. END