ƒ°Y180551 206 610 989 141 180 202 177 177 138 683 379 383 315 166 519 333 271 1028 167 167 315 181 181 179 179 232 232 183 256 265 225 532 191 122 206 146 117 124 114 762 312 328 387 227 403 139 118 375 137 394 220 302 147 154 153 297 127 375 668 584 365 584 227 226 224 273 636 196 214 214 184 206 165 144 151 186 219 238 160 220 142 142 353 229 353 333 261 596 200 477 156 155 388 388 153 233 313 149 211 125 142 123 218 1065 176 271 185 154 164 124 235 264 695 718 190 130 175 175 482 190 190 238 309 252 241 137 497 143 153 189 200 164 652 316 166 232 199 363 177 143 197 169 248 151 263 642 155 170 170 214 205 296 166 212 159 144 154 262 186 197 121 175 182 318 143 177 250 216 164 192 123 223 268 223 599 299 299 132 183 199 139 170 162 219 164 166 553 1016 581 142 144 124 110 168 144 110 144 110 144 110 123 227 110 608 542 146 484 K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T08:02:23.680783Z K 7 svn:log V 513 Fix VR_RXSTAT_RX_OK bit definition which lasted for more than 9 years. All datasheet I have indicates the bit 15 is the VR_RXSTAT_RX_OK. The bit 14 is reserved for all Rhine family except VT6105M. VT6105M uses that bit to indicate a VLAN frame with matching CAM VLAN id. Use the VR_RXSTAT_RX_OK instead of VR_RXSTAT_RXERR when vr(4) checks the validity of received frame. This should fix occasional dropping frames on VT6105M. Tested by: Goran Lowkrantz ( goran.lowkrantz at ismobile dot com ) MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-16T08:35:29.644826Z K 7 svn:log V 892 Fix a multicast handling regression on VT6105M introduced in vr(4) overhauling(r177050). It seems that filtering multicast addresses with multicast CAM entries require accessing 'CAM enable bit' for each CAM entry. Subsequent accessing multicast CAM control register without toggling the 'CAM enable bit' seem to no effects. In order to fix that separate CAM setup from CAM mask configuration and CAM entry modification. While I'm here add VLAN CAM filtering feature which will be enabled in future(FreeBSD now can receive VLAN id insertion/removal event from vlan(4) on the fly). For VT6105M hardware, explicitly disable VLAN hardware tag insertion/stripping and enable VLAN CAM filtering for VLAN id 0. This shall make non-VLAN frames set VR_RXSTAT_VIDHIT bit in Rx status word. Added multicast/VLAN CAM address definition to header file. PR: kern/125010, kern/125024 MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T09:38:02.622225Z K 7 svn:log V 47 Move mergeinfo off of initrandom and onto etc/ END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T09:54:21.590260Z K 7 svn:log V 86 Hopefully get the moving of mergeinfo from etc/rc.d/initrandom to etc right this time END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T10:02:15.205241Z K 7 svn:log V 107 MFC r180478, stronger wording to warn users about not using the query-source option, and a better example. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T10:27:26.846981Z K 7 svn:log V 83 MFC r179637, r179655, and r180503, the inclusion of the svnversion info for uname. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T10:29:42.560042Z K 7 svn:log V 83 MFC r179637, r179655, and r180503, the inclusion of the svnversion info for uname. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-16T10:55:50.371189Z K 7 svn:log V 42 Fix error in comment. MFC after: 3 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-07-16T11:20:04.202435Z K 7 svn:log V 591 Remove OTTYDISC, NETLDISC and NTTYDISC definitions. When I ported most applications away from , I noticed none of them were actually using these definitions. I kept them in place, because I didn't want to touch tools like pstat(8) and stty(1). In preparation for the MPSAFE TTY layer, remove these definitions. This doesn't have any impact with respect to binary compatibility (see tty_conf.c). We couldn now add an #error to when included outside the kernel. Unfortunately, kdump's mkioctls includes this file unconditionally. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-07-16T11:23:15.513717Z K 7 svn:log V 287 Sort the ioctl's in by number. I think one of the reasons why we have so many conflicts in the TTY ioctl category, is because the ioctl's aren't ordered logically. This commit only sorts them by number. The comments may still be inaccurate. Approved by: philip (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-07-16T12:36:39.582017Z K 7 svn:log V 291 Move the TCSA* definitions out of _KERNEL. They are processed in libc. The tcsetattr() routine already converts the TCSA* arguments to their respective TIOCSETA* ioctl's in the C library. There is no need to have these definitions inside the kernel. Approved by: philip (mentor, implicit) END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-07-16T16:28:12.275559Z K 7 svn:log V 219 MFC of r179806 to 7-STABLE: Silence warning about missing IoGetDeviceObjectPointer by implementing a simple stub that always returns STATUS_SUCCESS. Submitted by: Paul B. Mahol Reviewed by: thompsa END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T19:22:48.946880Z K 7 svn:log V 72 As previously discussed, add the svn:executable property to all scripts END K 10 svn:author V 5 dougb K 8 svn:date V 27 2008-07-16T19:50:29.120557Z K 7 svn:log V 424 Add the shutdown KEYWORD to those scripts that start persistent services to allow them to do a "clean" shutdown. I purposely avoided making changes to network-related stuff since the system shutting down is pretty conclusive, and there may be complicated dependencies on the network that I would rather not try to unravel. I also skipped kerberos-related stuff for the reasons above, and because I have no way to test it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T13:47:59.931163Z K 7 svn:log V 240 Before updating the password database, the pw(8) utility first performs a sanity check by invoking "pwd_mkdb -C". However, if this failed it silently returned success. Fix this so it fails the update operation instead. MFC after: 1 week END K 10 svn:author V 3 flz K 8 svn:date V 27 2008-07-17T15:08:26.217862Z K 7 svn:log V 178 Don't set PACKAGE_BUILDING while installing packages. Submitted by: erwin Discussed on: http://lists.freebsd.org/pipermail/freebsd-ports/2008-June/049074.html MFC after: 1 week END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-07-17T15:46:35.116278Z K 7 svn:log V 930 Clean up mxge's use of callouts as pointed out by jhb, and handle NIC hardware watchdog resets. - remove buggy code at the top of mxge_tick() which tried to detect a race which is already detected in the kernel's callout code. - move callout_stop() and callout_reset() into mxge_close() mxge_open() rather than doing the callout manipulation all over the place. - use callout_drain(), rather than callout_stop() to prevent a potential race between mxge_tick() and mxge_detach() which could lead to softclock using a destroyed mutex - restructure the mxge_tick() and mxge_watchdog_reset() routines to avoid resetting a callout, and then immediately stopping it if the watchdog reset routine is called, and fails. - enable the driver to handle NIC hardware watchdog resets by restoring the NIC's PCI config space, which is lost when the NIC hardware watchdog triggers. Reviewed by: jhb (previus version) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T16:04:41.319257Z K 7 svn:log V 75 MFC: Don't set the _file member of the FILE when opening a FTP connection. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T16:05:14.171750Z K 7 svn:log V 75 MFC: Don't set the _file member of the FILE when opening a FTP connection. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-17T16:44:07.417060Z K 7 svn:log V 222 Pair the VOP_OPEN call from do_execve() with the reciprocal VOP_CLOSE. This was unnoticed because local filesystems usually do nothing non-trivial in the close vop. Reported and tested by: Rick Macklem MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T17:54:11.665667Z K 7 svn:log V 89 MFC: Change SEM_VALUE_MAX (maximum value of a POSIX semaphore) from UINT_MAX to INT_MAX. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T18:45:20.984206Z K 7 svn:log V 89 MFC: Change SEM_VALUE_MAX (maximum value of a POSIX semaphore) from UINT_MAX to INT_MAX. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T18:54:08.424471Z K 7 svn:log V 87 MFC: Improve the handling of pending events in the controller's event log during boot. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T18:56:56.358370Z K 7 svn:log V 87 MFC: Improve the handling of pending events in the controller's event log during boot. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T19:02:38.289516Z K 7 svn:log V 139 MFC: Tweak the output of controller event log messages to reduce verbosity and add some simple formatting of timestamps and event classes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-17T19:10:07.932280Z K 7 svn:log V 139 MFC: Tweak the output of controller event log messages to reduce verbosity and add some simple formatting of timestamps and event classes. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-17T20:00:18.871981Z K 7 svn:log V 88 - dns queries might go also over TCP, so allow it. Approved by: rink MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2008-07-17T21:54:23.848512Z K 7 svn:log V 161 Make it more clear what it means that SA_RESTART is set for signal handlers added with signal(3). Submitted by: gnn (slightly modified by me) MFC after: 1 week END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2008-07-17T22:40:23.156545Z K 7 svn:log V 170 Fix a benign typo that would give out an incorrect warning message. Change a get-or-set sequence on OHCI_COMMAND_STATUS register which is "write to set" to a simple set. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-18T01:00:54.456549Z K 7 svn:log V 128 Use DELAY() instead of pause if waiting time is less than 1ms. This will fix driver hang if hz < 1000. Pointed out by: thompsa END K 10 svn:author V 3 das K 8 svn:date V 27 2008-07-18T02:18:34.597928Z K 7 svn:log V 439 Sort the .PATH entries to give a more reasonable order of precedence: 1. architecture-specific files 2. long double format-specific files 3. bsdsrc 4. src 5. man The original order was virtually the opposite of this. This should not cause any functional changes at this time. The difference is only significant when one wants to override, say, a generic foo.c with a more specialized foo.c (as opposed to foo.S). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-18T04:20:48.177453Z K 7 svn:log V 95 Correct 1000Mbps link handling logic for JMC250. This should make jme(4) run on 1000Mbps link. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-18T06:12:31.134988Z K 7 svn:log V 28 import vendor fixes to cxgb END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-18T06:14:36.423034Z K 7 svn:log V 113 Eliminate unused global variables. (These global variables became fields of struct kva_md_info many years ago.) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-18T06:22:57.831433Z K 7 svn:log V 52 revert changes accidentally included in last commit END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-18T07:01:51.805828Z K 7 svn:log V 23 new vendor PHY support END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-18T07:07:57.968785Z K 7 svn:log V 30 revert change from local tree END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-18T07:10:33.556763Z K 7 svn:log V 20 revert local change END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-18T10:47:07.303016Z K 7 svn:log V 665 Eliminate use of the global ripsrc which was being used to pass address information from rip_input() to rip_append(). Instead, pass the source address for an IP datagram to rip_append() using a stack-allocated sockaddr_in, similar to udp_input() and udp_append(). Prior to the move to rwlocks for inpcbinfo, this was not a problem, as use of the global was synchronized using the ripcbinfo mutex, but with read-locking there is the potential for a race during concurrent receive. This problem is not present in the IPv6 raw IP socket code, which already used a stack variable for the address. Spotted by: mav MFC after: 1 week (before inpcbinfo rwlock changes) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-18T13:24:56.180252Z K 7 svn:log V 217 MFC r179879: Renew semaphore's pointer after wakeup since during msleep sem_base may have been modified by destroying one of semaphores and semptr would not be valid in this case. PR: kern/123731 MFC after: 1 month END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-18T13:57:05.816964Z K 7 svn:log V 233 MFC r179879: Renew semaphore's pointer after wakeup since during msleep sem_base may have been modified by destroying one of semaphores and semptr would not be valid in this case. PR: kern/123731 MFC after: 1 month END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-18T14:20:16.008915Z K 7 svn:log V 292 MFC r179716: Keep proper track of nsegs counter: sem_free is called for all allocated semaphores, so it's wrong to increase it conditionally, in this case for every over-the-limit semaphore nsegs is decreased without being previously increased. PR: kern/123685 MFC after: more then 1 month END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-07-18T14:44:51.332605Z K 7 svn:log V 129 Add an accept filter for TCP based DNS requests. It waits until the whole first request is present before returning from accept. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-18T14:45:22.269193Z K 7 svn:log V 308 MFC r179716: Keep proper track of nsegs counter: sem_free is called for all allocated semaphores, so it's wrong to increase it conditionally, in this case for every over-the-limit semaphore nsegs is decreased without being previously increased. PR: kern/123685 MFC after: more then 1 month END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-07-18T14:46:01.215560Z K 7 svn:log V 42 Add a man page for the DNS accept filter. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-07-18T14:55:22.535710Z K 7 svn:log V 24 Remove unnessasary cast END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-07-18T15:05:14.389556Z K 7 svn:log V 280 Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-18T17:41:31.185711Z K 7 svn:log V 45 Eliminate stale comments from kmem_malloc(). END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-07-18T19:35:44.515323Z K 7 svn:log V 298 Enhance arena_chunk_map_t to directly support run coalescing, and use the chunk map instead of red-black trees where possible. Remove the red-black trees and node objects that are obsoleted by this change. The net result is a ~1-2% memory savings, and a substantial allocation speed improvement. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-18T20:07:50.436240Z K 7 svn:log V 127 Simplify pmap_extract()'s control flow, making it more like the related functions pmap_extract_and_hold() and pmap_kextract(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-18T22:05:51.097758Z K 7 svn:log V 209 Correct an error in pmap_change_attr()'s initial loop that verifies that the given range of addresses are mapped. Previously, the loop was testing the same address every time. Submitted by: Magesh Dhasayyan END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-18T23:35:31.905494Z K 7 svn:log V 51 Indent the else path, reduce diff against OpenBSD. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-18T23:37:05.093962Z K 7 svn:log V 58 Use %zd for size_t. With this gcore(1) is WARNS=6 clean. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-19T00:13:26.847080Z K 7 svn:log V 57 Staticify symbols that will not be used in other places. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-07-19T00:19:16.920814Z K 7 svn:log V 201 Disable SSP on arm for the time being. The segfaults when using SSP seem to be a gcc bug, a patch is available in the gcc bugzilla, and will be imported once it's committed into the official gcc tree. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-07-19T04:31:47.973025Z K 7 svn:log V 32 MFC: r180148: Fix a regression. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-07-19T05:13:47.871684Z K 7 svn:log V 281 - Check whether we've recorded this tick in ts_ticks on another cpu in sched_tick() to prevent multiple increments for one tick. This pushes the value out of range and breaks priority calculation. Reviewed by: kib Found by: pho/nokia Sponsored by: Nokia MFC after: 3 days END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-07-19T05:18:29.235998Z K 7 svn:log V 574 Fix a race which could result in some timeout buckets being skipped. - When a tick occurs on a cpu, iterate from cs_softticks until ticks. The per-cpu tick processing happens asynchronously with the actual adjustment of the 'ticks' variable. Sometimes the results may be visible before the local call and sometimes after. Previously this could cause a one tick window where we didn't evaluate the bucket. - In softclock fetch curticks before incrementing cc_softticks so we don't skip insertions which were made for the current time. Sponsored by: Nokia END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-19T12:12:17.888322Z K 7 svn:log V 489 MFC r179971: In case of interface initialization failure remove struct in_ifaddr* from in_ifaddrhashtbl in in_ifinit because error handler in in_control removes entries only for AF_INET addresses. If in_ifinit is called for the cloned inteface that has just been created its address family is not AF_INET and therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and freed entries remain in in_ifaddrhashtbl and lead to memory corruption. PR: kern/124384 MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-19T12:12:54.318170Z K 7 svn:log V 268 Add DDB "show conifhk" command, which lists hooks currently waiting for completion in run_interrupt_driven_config_hooks(). This is helpful when trying to figure out which device drivers have gone into la-la land during boot-time autoconfiguration. MFC after: 3 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-19T13:15:51.671326Z K 7 svn:log V 489 MFC r179971: In case of interface initialization failure remove struct in_ifaddr* from in_ifaddrhashtbl in in_ifinit because error handler in in_control removes entries only for AF_INET addresses. If in_ifinit is called for the cloned inteface that has just been created its address family is not AF_INET and therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and freed entries remain in in_ifaddrhashtbl and lead to memory corruption. PR: kern/124384 MFC after: 3 weeks END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-07-19T13:53:11.006151Z K 7 svn:log V 133 - When renaming a drive, also set the drive name in the gvinum header. PR: kern/125632 Approved by: pjd (mentor) MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-19T17:47:23.967854Z K 7 svn:log V 129 witness_addgraph() is required even if DDB isn't compiled into the kernel, so exclude it from #ifdef DDB. Submitted by: attilio END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-19T18:21:52.936339Z K 7 svn:log V 128 Remove sade(8) on the following platforms: o arm, mips & powerpc: libdisk is non-functional. o ia64: libdisk is insufficient. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-19T19:08:22.037043Z K 7 svn:log V 177 With uart(4) default, change /dev/cuad# to /dev/cuau# so that out-of-the-box FreeBSD is consistent. Add uart[0-7] as a fingerfriendly shortcut alongside sio[0-7] and com[1-8]. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-19T19:08:35.059512Z K 7 svn:log V 539 Rather than simply waiting silently and indefinitely for all interrupt-driven configuration handlers to complete, print out a diagnostic message every 60 second indicating which handlers are still running. Do this at most 5 times per run so as to avoid scrolling out any useful information from the kernel message buffer. The interval of 60 seconds was selected based on a best guess as to the nature of "long enough" and may want to be tuned higher or lower depending on real-world tolerances. MFC after: 3 days Discussed with: scottl END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-19T20:00:18.431351Z K 7 svn:log V 100 With uart(4) default, change /dev/cuad# to /dev/cuau# so that out-of-the-box FreeBSD is consistent. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-19T20:11:33.198323Z K 7 svn:log V 118 With uart(4) default, change /dev/cuad# to /dev/cuau# and sio# to uart# so that out-of-the-box FreeBSD is consistent. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-19T20:12:02.351882Z K 7 svn:log V 118 With uart(4) default, change /dev/cuad# to /dev/cuau# and sio# to uart# so that out-of-the-box FreeBSD is consistent. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-19T20:12:33.783733Z K 7 svn:log V 89 With uart(4) default, change sio# to uart# so that out-of-the-box FreeBSD is consistent. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-19T22:29:44.676943Z K 7 svn:log V 113 Say hi to svn, by simplifing ffs_vget() function a bit - there is no need for a variable that is used only once. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-19T22:35:13.598731Z K 7 svn:log V 73 Correct the description of v_cache_count. Eliminate an unused function. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-19T23:42:38.975203Z K 7 svn:log V 52 Increase the ceiling on the size of the buffer map. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-20T02:02:50.666750Z K 7 svn:log V 57 remove unused toedev functions and add comments for rest END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-20T04:13:51.781097Z K 7 svn:log V 94 Eliminate dead code. (The commit message for revision 1.287 explains why this code is dead.) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-20T07:34:00.930333Z K 7 svn:log V 126 Convert lock that protects sessions list from a mutex to a rwlock. Now we can use read lock in fast path (padlock_process()). END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-07-20T09:16:00.180414Z K 7 svn:log V 143 o Add cddl, nlm and xdr to CSCOPEDIRS. o Add pc98 and sun4v to CSCOPE_ARCHDIR. PR: misc/125792 Submitted by: KOIE Hidetaka MFC after: 1 week END K 10 svn:author V 3 lme K 8 svn:date V 27 2008-07-20T10:06:14.709045Z K 7 svn:log V 68 Properly underline force_depend's parameter. Reviewed by: brueffer END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-20T12:31:36.566290Z K 7 svn:log V 128 ia is a pointer thus use NULL rather then 0 for initialization and in comparisons to make this more obvious. MFC after: 5 days END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-20T15:25:20.945365Z K 7 svn:log V 46 Document a few sysctls. Reviewed by: rwatson END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-20T15:29:58.664972Z K 7 svn:log V 46 Document a few sysctls. Reviewed by: rwatson END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-20T15:59:44.640223Z K 7 svn:log V 256 MFC r175615: Add a diagnostic note about "transmission error ... tx underrun, increasing tx start threshold ..." Looking around on the mailing lists, and even having one of these cards I agree the messages should be documented. Bump doc date. PR: 88477 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2008-07-20T16:50:14.148065Z K 7 svn:log V 133 While spin-waiting for the mailbox semaphore to update, do flushing reads of PCI bus so that we don't have to wait more than needed. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-20T16:51:14.409496Z K 7 svn:log V 256 MFC r175615: Add a diagnostic note about "transmission error ... tx underrun, increasing tx start threshold ..." Looking around on the mailing lists, and even having one of these cards I agree the messages should be documented. Bump doc date. PR: 88477 END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-20T17:39:07.748132Z K 7 svn:log V 236 MFC r163999 Sync up with rhyolite routed 2.31 which fixes the handling of varargs. Remove -p from usage, it's gone completely now. Merge to 7 not applicable, 7 obtained this change when it was branched. PR: 82287 Submitted by: arved END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2008-07-20T17:51:58.019695Z K 7 svn:log V 164 Document a few sysctls. While here, remove dead code related to ip4_esp_randpad. Reviewed by: gnn, bz (older version) Approved by: gnn Tested with: make universe END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-07-20T18:05:18.882014Z K 7 svn:log V 498 tcsh: fix abort in cleanup_until(), caused by internal xgetpass() The xgetpass() function pushes a cleanup entry for &osa, but then attempts to flush the stack until an entry matching &sa. The two object pointers do not match, so the stack is popped too much, and then cleanup_until calls abort() when it unexpectedly hits the bottom of the cleanup stack. Reported by: Paul B. Mahol, onemda at gmail.com, Pietro Cerutti, gahr at gahr.ch PR: bin/124191 Reviewed by: mp, kris MFC after: 2 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-20T19:56:13.826638Z K 7 svn:log V 107 Clear passphrase buffer after use. Submitted by: Fabian Keil (a bit different version) END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-07-20T21:45:15.680350Z K 7 svn:log V 381 Add support for actually sending WCCP return packets via GRE. This MAY be combined by a clever person with the 'key' code recently added, however a cursary glance suggest that it would be safer to just keep the patches as it is unlikely that the two modes would be used together and the separate patch has been extensively tested. Obtained from: here and there MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T00:08:34.606561Z K 7 svn:log V 62 add inpcb accessor functions for fields needed by TOE devices END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T00:49:34.176834Z K 7 svn:log V 61 Add accessor functions for socket fields. MFC after: 1 week END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-07-21T01:13:33.055202Z K 7 svn:log V 293 MFC: r180597 Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-07-21T01:16:28.164360Z K 7 svn:log V 293 MFC: r180597 Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action Obtained from: OpenBSD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T01:23:19.565226Z K 7 svn:log V 59 remove cxgb local definitions of socket accessor functions END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T02:11:06.939370Z K 7 svn:log V 138 add interface for external consumers to syncache_expand - rename syncache_add in a manner consistent with other bits intended for offload END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-21T02:13:14.569398Z K 7 svn:log V 218 After the commit of SVN rev 180236, wilko@ noticed that the approach doesn't work on the Alpha platform: machine/elf.h doesn't include sys/elf32.h there. PR: related to bin/124906 Approved by: bde@ MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T02:17:27.629774Z K 7 svn:log V 55 remove cxgb local definition of locked syncache_expand END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T02:23:02.124669Z K 7 svn:log V 116 Add versions of tcp_twstart, tcp_close, and tcp_drop that hide the acquisition the tcbinfo lock. MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T02:26:49.528146Z K 7 svn:log V 31 update syncache function names END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T02:29:40.101132Z K 7 svn:log V 48 remove local version of tcp_offload_* functions END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T02:34:52.801776Z K 7 svn:log V 29 remove unneeded declarations END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-21T09:45:44.330311Z K 7 svn:log V 125 We want to check new options given, not the current ones. This fixes 'zpool import -o ' not working properly. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-21T09:59:40.992769Z K 7 svn:log V 972 MFC r180340: The kqueue_register() function assumes that it is called from the top of the syscall code and acquires various event subsystem locks as needed. The handling of the NOTE_TRACK for EVFILT_PROC is currently done by calling the kqueue_register() from filt_proc() filter, causing recursive entrance of the kqueue code. This results in the LORs and recursive acquisition of the locks. Implement the variant of the knote() function designed to only handle the fork() event. It mostly copies the knote() body, but also handles the NOTE_TRACK, removing the handling from the filt_proc(), where it causes problems described above. The function is called from the fork1() instead of knote(). When encountering NOTE_TRACK knote, it marks the knote as influx and drops the knlist and kqueue lock. In this context call to kqueue_register is safe from the problems. An error from the kqueue_register() is reported to the observer as NOTE_TRACKERR fflag. PR: 108201 END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-07-21T10:03:02.944177Z K 7 svn:log V 82 o Document "show conifhk", wording from r180610 commit log. Reviewed by: rwatson END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T10:31:28.201614Z K 7 svn:log V 177 1) Set stired flag after forced initialization. 2) Increase arc4_count to the limit OpenBSD use. Submitted by: Thorsten Glaser (1) Obtained from: OpenBSD (2) END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T12:44:47.411175Z K 7 svn:log V 92 Decrease arc4_count only when needed and with proper bytes amount. Obtained from: OpenBSD END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T13:52:06.450292Z K 7 svn:log V 61 Implement arc4random_buf() function Obtained from: OpenBSD END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T14:03:04.620879Z K 7 svn:log V 71 Add arc4random_buf. Style: remove arg names from arc4random_addrandom. END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T14:33:11.422381Z K 7 svn:log V 31 Add arc4random_buf.3 to MLINKS END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-21T14:35:48.992742Z K 7 svn:log V 142 We want to use LBOLT instead of lbolt on FreeBSD. I've this already fixed in p4, but the fix was never integrated into HEAD. Reported by: ed END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-21T15:05:25.001275Z K 7 svn:log V 171 Implement the following macros for completeness: SYSCTL_QUAD() SYSCTL_ADD_QUAD() TUNABLE_QUAD() TUNABLE_QUAD_FETCH() Now we can use 64bit tunables on 32bit systems. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-21T16:56:15.436095Z K 7 svn:log V 599 - Fix spelling and style. - Use __FBSDID. - Merge macros depending on the flags being preserved between calls into a single "__asm"-statement as GCC doesn't guarantee their consecutive output even when using consecutive "__asm __volatile"- statement for them. Remove the otherwise unnecessary "__volatile". [1] - The inline assembler instructions used here alter the condition codes so add them to the clobber list accordingly. - The inline assembler instructions used here uses output operands before all input operands are consumed so add appropriate modifiers. Pointed out by: bde [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-21T16:59:22.089328Z K 7 svn:log V 622 MFC: r180298; r180299 - Fix spelling and style. - Use __FBSDID. - Merge macros depending on the flags being preserved between calls into a single "__asm"-statement as GCC doesn't guarantee their consecutive output even when using consecutive "__asm __volatile"- statement for them. Remove the otherwise unnecessary "__volatile". [1] - The inline assembler instructions used here alter the condition codes so add them to the clobber list accordingly. - The inline assembler instructions used here uses output operands before all input operands are consumed so add appropriate modifiers. Pointed out by: bde [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-21T17:15:51.033422Z K 7 svn:log V 95 - Remove redundant inclusion of opt_global.h. - Use __FBSDID in autoconf.c. MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T18:03:31.863350Z K 7 svn:log V 37 Add arc4random_buf to FBSD_1.1 space END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-21T18:13:41.521040Z K 7 svn:log V 83 MFC: During shutdown, deregister the shutdown hook from the correct event handler. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-21T18:14:42.611263Z K 7 svn:log V 83 MFC: During shutdown, deregister the shutdown hook from the correct event handler. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-21T18:43:02.343626Z K 7 svn:log V 389 Allocate a single CCB at the start of the main loop of the RAID monitoring kthread of the mpt(4) driver that hangs around for the entire lifetime of the thread. Previously the driver would allocate a new CCB using M_WAITOK with a lock held each time it updated its state. While here, use the CAM API for allocating a CCB rather than raw malloc(9). Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-21T19:11:20.282944Z K 7 svn:log V 98 MFC: Use dedicated buffers for user requests rather than reusing the space in the request buffer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-21T19:11:48.247403Z K 7 svn:log V 98 MFC: Use dedicated buffers for user requests rather than reusing the space in the request buffer. END K 10 svn:author V 3 eri K 8 svn:date V 27 2008-07-21T19:51:01.908368Z K 7 svn:log V 145 MFC r180513: Fix carp(4) panics that can occur during carp interface configuration. Approved by: mlaier (mentor) Reported by: Scott Ullrich END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T20:04:32.611542Z K 7 svn:log V 215 1) Update copyright notice. 2) Eliminate "struct arc4_stream *as" arg since only single arg is possible. 3) Set rs.j = rs.i after arc4random key schedule to be more like arc4 stream cipher. Obtained from: OpenBSD END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-21T20:50:49.228682Z K 7 svn:log V 155 If run_interrupt_driven_config_hooks() waits 360 seconds and INVARIANTS is compiled into the kernel, then panic. MFC after: 3 days Discussed with: scottl END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T21:22:56.942888Z K 7 svn:log V 146 - Switch to INP_WLOCK macro from inp_wlock - calling sodisconnect after tcp_twstart is both gratuitous and unsafe - remove Submitted by: rwatson END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T21:23:43.279468Z K 7 svn:log V 43 remove call to unsafe tcp_twstart function END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-21T21:57:30.753616Z K 7 svn:log V 403 1) Use __packed attr on rdat structure to make it exact 128 bytes. 2) Use gettimeofday() and getpid() only if reading from /dev/urandom fails or impossible. 3) Discard N bytes on very first initialization only (i.e. don't discard on re-stir). 4) Reduce N from 1024 to 512 as really suggested in the "(Not So) Random Shuffles of RC4" paper: http://research.microsoft.com/users/mironov/papers/rc4full.pdf END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-21T22:07:59.169703Z K 7 svn:log V 51 Add feature_present(3) to the FBSD 1.1 symbol map. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-07-21T22:11:39.441438Z K 7 svn:log V 59 make new accessor functions consistent with existing style END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-07-21T22:15:21.030890Z K 7 svn:log V 94 MFC code cleanup. 177416 Replace really convoluted code that simplifies to "a ^= 0x01;" END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-21T22:38:00.868063Z K 7 svn:log V 104 Remove sioX as an alias for uartX. It is believed to be more confusing than helpful. Suggested by: jhb END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-07-21T22:55:40.685830Z K 7 svn:log V 68 Change the module example to kldload since this is the resume side. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-07-21T23:01:09.291747Z K 7 svn:log V 555 - Disallow XFS mounting in write mode. The write support never worked really and there is no need to maintain it. - Fix vn_get() in order to let it call vget(9) with a valid locking request. vget(9) returns the vnode locked in order to prevent recycling, but in this case internal XFS locks alredy prevent it from happening, so it is safe to drop the vnode lock before to return by vn_get(). - Add a VNASSERT() in vget(9) in order to catch malformed locking requests. Discussed with: kan, kib Tested by: Lothar Braun END K 10 svn:author V 6 avatar K 8 svn:date V 27 2008-07-22T04:23:57.097194Z K 7 svn:log V 220 Trying to fix compilation bustage: - removing 'const' qualifier from an input parameter to conform to the type required by rw_assert(); - using in_addr->s_addr to retrive 32 bits address value. Observed by: tinderbox END K 10 svn:author V 4 bmah K 8 svn:date V 27 2008-07-22T05:02:46.074188Z K 7 svn:log V 73 Add a sentence of credits to the KSE removal note. Requested by: brooks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2008-07-22T09:38:12.294651Z K 7 svn:log V 136 Disable SSP for the kernel on arm as well (see rev 180605). I overlooked this because a SSP kernel booted for me. Apologises to: ticso END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-22T09:56:45.610462Z K 7 svn:log V 103 For sun4v ensure there is an opt_global.h with SUN4V defined included, even for the stand-alone build. END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T10:31:29.378040Z K 7 svn:log V 269 Increase initially dropped bytes from 512 to 768 (768 is also suggested in the Ilya Mironov's article). 768 taken from another research where it treats as default for RC4-drop(768): http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC4-drop Minor style tweak. END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T11:33:49.848486Z K 7 svn:log V 84 Add arc4random_uniform() function (to avoid "modulo bias") Obtained from: OpenBSD END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T11:40:42.528161Z K 7 svn:log V 50 Add arc4random_uniform() Obtained from: OpenBSD END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T12:43:09.522434Z K 7 svn:log V 103 In arc4random_uniform() detect simple "power of two" case and return just (arc4random() % upper_bound) END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T13:38:17.569257Z K 7 svn:log V 76 Bump __FreeBSD_version for arc4random_buf() and arc4random_uniform() added. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-22T13:51:21.198887Z K 7 svn:log V 152 o Fix style(9) bugs and similar nits. o Merge ncr53c9x.c from NetBSD: 1.115: fix variable shadowing 1.118: __inline -> inline 1.121: fix empty if END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-07-22T14:04:06.867423Z K 7 svn:log V 58 - Whitespace fixes. Approved by: gonzo MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-07-22T14:21:56.705490Z K 7 svn:log V 168 o Alan Shepard was first American in the space; fix attribution. o Correct Alan's surname. PR: bin/125812 Submitted by: Derek Taylor [1], gavin [2] MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T14:27:47.420000Z K 7 svn:log V 545 Merge r177253, r177255 from head to stable/7: In keeping with style(9)'s recommendations on macros, use a ';' after each SYSINIT() macro invocation. This makes a number of lightweight C parsers much happier with the FreeBSD kernel source, including cflow's prcc and lxr. Discussed with: imp, rink The requirement to place a ; after each SYSINIT definition has not been MFC'd, as this might break the compile third-party modules, but merging the actual ; additions reduces diffs against 8.x making it easier to merge other changes. END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T15:08:50.767350Z K 7 svn:log V 62 Use arc4random_uniform(3) since modulo size is not power of 2 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-07-22T15:14:33.825715Z K 7 svn:log V 73 MFC change 180637 - tcsh abort in xgetpass() PR: bin/124191 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-07-22T15:14:59.884584Z K 7 svn:log V 73 MFC change 180637 - tcsh abort in xgetpass() PR: bin/124191 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T15:17:21.110089Z K 7 svn:log V 117 Use unsigned int when iterating over groupsets in audit_arg_groupset(). Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T15:25:35.168431Z K 7 svn:log V 111 Change /dev/urandom to /dev/random since urandom marked as XXX Deprecated alias in /sys/dev/random/randomdev.c END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T15:29:48.367678Z K 7 svn:log V 199 In preparation to sync Apple and FreeBSD versions of security audit, pick up the Apple Computer -> Apple change in their copyright and license templates. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-07-22T15:34:19.273924Z K 7 svn:log V 74 Add new committer Yvan Van Hullebus to the access file Approved by: core END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T15:49:19.580874Z K 7 svn:log V 115 Minor white space synchronization to Apple version of security audit. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T15:54:10.189502Z K 7 svn:log V 63 Comment typo fix. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2008-07-22T16:01:57.310649Z K 7 svn:log V 50 Added me as a commiter Approved by: gnn (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T16:02:21.473660Z K 7 svn:log V 58 Comment fix. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T16:16:51.450380Z K 7 svn:log V 168 1) Initialize arc4_i and arc4_j to 0 after key mixing as recommended in draft-kaukonen-cipher-arcfour-03.txt (3.1.5) 2) Drop first 768 bytes as standard RC4-drop(768) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T16:21:59.144539Z K 7 svn:log V 90 Use #define rather than #define. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T16:44:48.171857Z K 7 svn:log V 100 Generally avoid as a white space anomoly. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-22T17:02:53.267569Z K 7 svn:log V 27 Open vendor-crypto/openssh END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T17:06:49.222665Z K 7 svn:log V 79 Further minor white space tweaks. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T17:08:27.562592Z K 7 svn:log V 86 Remove unneeded \ at the end of a macro. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 4 ache K 8 svn:date V 27 2008-07-22T17:10:18.097945Z K 7 svn:log V 224 Fixes based on bde's feedback. 1) Unindent and sort variables. 2) Indent struct members. 3) Remove _packed, use guaranteed >128 bytes size and only first 128 bytes from the structure. 4) Reword comment. Obtained from: bde END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-22T17:13:05.886754Z K 7 svn:log V 51 Flatten the OpenSSH vendor tree for 3.x and newer. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T17:49:30.595146Z K 7 svn:log V 81 Further minor style fixes to audit. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-22T17:54:32.535724Z K 7 svn:log V 153 If an AUE_SYSCTL_NONADMIN audit event is selected, generate a record with equivilent content to AUE_SYSCTL. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-22T18:05:50.890420Z K 7 svn:log V 121 Trivial commit to attempt to diagnose a svn problem. Add comment that Tivo disks are APM, but do not have a DDR record. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-22T18:58:19.585927Z K 7 svn:log V 72 Revert part of 180714 - the intent was to flatten dist, not to nuke it. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-22T19:00:21.941024Z K 7 svn:log V 98 Move mergeinfo for 173081 from root to sys Move mergeinfo for 178818 from root to etc and include END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-22T19:01:18.438765Z K 7 svn:log V 31 Properly flatten openssh/dist. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-07-22T19:50:34.818216Z K 7 svn:log V 129 MFC r180612: - When renaming a drive, also set the drive name in the gvinum header. PR: kern/125632 Approved by: pjd (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-22T19:52:23.198306Z K 7 svn:log V 171 MFC sound(4) subsystem changes r178155,178250,178324,179205,180110,180532, this includes support for Sigmatel STAC9205, correct SB600 AC97 as well as newer Dell hardware. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-07-22T19:55:44.676373Z K 7 svn:log V 129 MFC r180612: - When renaming a drive, also set the drive name in the gvinum header. PR: kern/125632 Approved by: pjd (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-07-22T21:27:22.611941Z K 7 svn:log V 507 Move the NFS/RPC code away from lbolt. The kernel has a special wchan called `lbolt', which is triggered each second. It doesn't seem to be used a lot and it seems pretty redundant, because we can specify a timeout value to the *sleep() routines. In an attempt to eventually remove lbolt, make the NFS/RPC code use a timeout of `hz' when trying to reconnect. Only the TTY code (not MPSAFE TTY) and the VFS syncer seem to use lbolt now. Reviewed by: attilio, jhb Approved by: philip (mentor), alfred, dfr END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-22T23:22:03.797868Z K 7 svn:log V 202 Sync with -HEAD: * Fix typos in znew(1) script (yar, r176133 + r180136); * Make it clear that gzcat expects each argument to be separate files. (r180126). * License change in unbzip2.c (r180135) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-22T23:27:02.578611Z K 7 svn:log V 202 Sync with -HEAD: * Fix typos in znew(1) script (yar, r176133 + r180136); * Make it clear that gzcat expects each argument to be separate files. (r180126). * License change in unbzip2.c (r180135) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-23T00:03:36.669307Z K 7 svn:log V 36 Sync with NetBSD's license changes. END K 10 svn:author V 3 wxs K 8 svn:date V 27 2008-07-23T01:19:56.861763Z K 7 svn:log V 91 Retroactively add my entry and link to garga. Forgot to do this when I got my commit bit. END K 10 svn:author V 9 pgollucci K 8 svn:date V 27 2008-07-23T01:37:04.348411Z K 7 svn:log V 100 Adding myself as a new ports committer Reviewed by: gabor (mentor) Approved by: araujo (mentor) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-07-23T05:50:17.823605Z K 7 svn:log V 43 remove reference for unexisting ndisapi(9) END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-23T06:14:21.867703Z K 7 svn:log V 78 Turn of SSP for mips for now until support is added to the base architecture. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-23T06:16:34.647834Z K 7 svn:log V 70 Disable SSP for mips until support is added to the base architecture. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-23T07:23:33.876308Z K 7 svn:log V 126 Only descend into the boot directory for the architecture if it actually exists and is a directory or symlink to a directory. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-23T07:24:55.249251Z K 7 svn:log V 72 First cut at doing the kvm file needed for mips. Obtained from: gonzo@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-23T07:42:31.464139Z K 7 svn:log V 70 Minor white space tweak. Obtained from: Apple Inc. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-23T08:14:33.495344Z K 7 svn:log V 456 MFC r180551. Fix VR_RXSTAT_RX_OK bit definition which lasted for more than 9 years. All datasheet I have indicates the bit 15 is the VR_RXSTAT_RX_OK. The bit 14 is reserved for all Rhine family except VT6105M. VT6105M uses that bit to indicate a VLAN frame with matching CAM VLAN id. Use the VR_RXSTAT_RX_OK instead of VR_RXSTAT_RXERR when vr(4) checks the validity of received frame. This should fix occasional dropping frames on VT6105M. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-07-23T08:18:42.100435Z K 7 svn:log V 919 MFC r180552. Fix a multicast handling regression on VT6105M introduced in vr(4) overhauling(r177050). It seems that filtering multicast addresses with multicast CAM entries require accessing 'CAM enable bit' for each CAM entry. Subsequent accessing multicast CAM control register without toggling the 'CAM enable bit' seem to no effects. In order to fix that separate CAM setup from CAM mask configuration and CAM entry modification. While I'm here add VLAN CAM filtering feature which will be enabled in future(FreeBSD now can receive VLAN id insertion/removal event from vlan(4) on the fly). For VT6105M hardware, explicitly disable VLAN hardware tag insertion/stripping and enable VLAN CAM filtering for VLAN id 0. This shall make non-VLAN frames set VR_RXSTAT_VIDHIT bit in Rx status word. Added multicast/VLAN CAM address definition to header file. PR: kern/125010, kern/125024 END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-23T08:45:25.497453Z K 7 svn:log V 488 Do the pargs_hold() on the copy of the pointer to the p_args of the child process immediately after bulk bcopy() without dropping the process lock. Since process is not single-threaded when forking, dropping and reacquiring the lock allows an other thread to change the process title of the parent in between, and results in hold being done on the invalid pointer. The problem manifested itself as the double free of the old p_args. Reported by: kris Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:12:05.892741Z K 7 svn:log V 50 svn:keywords is not appropriate for vendor trees. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:15:38.681925Z K 7 svn:log V 52 Vendor import of OpenSSH 4.6p1 for posterity's sake END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:16:33.515214Z K 7 svn:log V 32 Oops, remove svn:keyword again. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:17:48.703314Z K 7 svn:log V 18 Tag OpenSSH 4.6p1 END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-07-23T09:18:08.462450Z K 7 svn:log V 76 Re-work the code slightly to avoid a possible livelock. MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:23:42.181462Z K 7 svn:log V 52 Vendor import of OpenSSH 4.7p1 for posterity's sake END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:26:27.110015Z K 7 svn:log V 18 Tag OpenSSH 4.7p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:28:49.862062Z K 7 svn:log V 52 Vendor import of OpenSSH 4.9p1 for posterity's sake END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:29:11.883117Z K 7 svn:log V 18 Tag OpenSSH 4.9p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:30:40.191627Z K 7 svn:log V 52 Vendor import of OpenSSH 5.0p1 for posterity's sake END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:31:02.996293Z K 7 svn:log V 18 Tag OpenSSH 5.0p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:33:08.068939Z K 7 svn:log V 31 Vendor import of OpenSSH 5.1p1 END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:38:06.251011Z K 7 svn:log V 134 Since we automatically set svn:eol-style on new files (including files added during a vendor import), set it on the entire dist tree. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-23T09:38:30.934800Z K 7 svn:log V 18 Tag OpenSSH 5.1p1 END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2008-07-23T09:44:36.440505Z K 7 svn:log V 513 SATA device on some nForce based boards could get confused if MSI is not used but MSI to HyperTransport IRQ mapping is enabled, and would act as if MSI is turned on, resulting in interrupt loss. This commit will, 1. enable MSI mapping on a device only when MSI is enabled for that device and the MSI address matches the HT mapping window. 2. enable MSI mapping on a bridge only when a downstream device is allocated an MSI address in the mapping window PR: kern/118842 Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-07-23T10:49:27.453836Z K 7 svn:log V 445 when NDIS framework try to query/set informations NDIS drivers can return NDIS_STATUS_PENDING. In this case, it's waiting for 5 secs to get the response from drivers now. However, some NDIS drivers can send the response before NDIS framework gets ready to receive it so we might always be blocked for 5 secs in current implementation. NDIS framework should reset the event before calling NDIS driver's callback not after. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-07-23T11:17:46.525092Z K 7 svn:log V 54 Check for negative reference count. Reviewed by: des END K 10 svn:author V 5 luoqi K 8 svn:date V 27 2008-07-23T11:37:20.769726Z K 7 svn:log V 389 Unbreak cc -pg support on i386. In gcc 4.2, %ecx is used as the arg pointer when stack realignment is turned on (it is ALWAYS on for main), however in a profiling build %ecx would be clobbered by mcount(), this would lead to a segmentation fault when the code tries to reference any argument. This fix changes mcount() to preserve %ecx. PR: bin/119709 Reviewed by: bde MFC after: 1 week END