ƒ·&216330 157 901 117 114 683 599 514 995 295 268 141 219 248 248 390 237 237 202 202 401 150 216 426 151 530 196 497 344 344 195 305 458 1015 184 2404 205 1039 287 938 449 168 365 280 282 356 229 245 217 183 135 223 250 192 171 204 245 710 544 816 1037 824 455 309 352 275 523 169 172 238 280 269 294 129 232 207 190 339 1138 411 483 241 308 731 637 663 156 150 117 233 286 360 367 213 130 730 271 284 291 171 254 163 839 171 156 421 564 421 889 164 171 331 400 399 157 568 515 543 186 408 157 486 603 182 271 167 265 382 186 176 372 181 242 364 308 349 178 306 342 306 245 331 245 116 133 112 444 133 238 174 153 137 172 248 241 125 434 234 303 K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-12-09T19:02:23.290269Z K 7 svn:log V 803 Disable attempts to establish a callback connection from the experimental NFSv4 server to a NFSv4 client when delegations are not being issued, even if the client advertises a callback path. This avoids a problem where a Linux client advertises a callback path that doesn't work, due to a firewall, and then times out an Open attempt before the FreeBSD server gives up its callback connection attempt. (Suggested by drb at karlov.mff.cuni.cz to fix the Linux client problem that he reported on the fs-stable mailing list.) The server should probably have a 1sec timeout on callback connection attempts when there are no delegations issued to the client, but that patch will require changes to the krpc and this serves as a work around until then. Tested by: drb at karlov.mff.cuni.cz MFC after: 5 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-09T20:04:14.713408Z K 7 svn:log V 24 Import ACPICA 20101209. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-09T20:05:29.681031Z K 7 svn:log V 21 Tag ACPICA 20101209. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-12-09T20:16:00.634089Z K 7 svn:log V 590 When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't take into account that pmap_pte_quick() sometimes requires the page queues lock to be held. This change reimplements pmap_extract_and_hold() such that it no longer uses pmap_pte_quick(), and thus never requires the page queues lock. For consistency, adopt the same idiom as used by the new implementation of pmap_extract_and_hold() in pmap_extract() and pmap_mincore(). It also happens to make these functions shorter. Fix a style error in pmap_pte(). Reviewed by: kib@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-09T20:28:30.113910Z K 7 svn:log V 506 When reopening a stream backed by an open file descriptor, do not close the existing file descriptor. Instead, let dup2() atomically close the old file descriptor when assigning the newly opened file to the same descriptor. This closes a race in a multithreaded application where a concurrent open() could allocate the existing file descriptor in between the calls to close() and dup2(). PR: threads/79887 Submitted by: Dmitrij Tejblum tejblum of yandex-team.ru Reviewed by: davidxu MFC after: 1 week END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2010-12-09T21:02:22.336087Z K 7 svn:log V 418 Fix a long standing (from the original 4.4BSD lite sources) race between vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page missing" panics. While faulting in pages for a map entry that is being wired down, mark the containing map as busy. In vmspace_fork wait until the map is unbusy, before we try to copy the entries. Reviewed by: kib MFC after: 5 days Sponsored by: Isilon Systems, Inc. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-09T21:11:53.304410Z K 7 svn:log V 900 MFV: vendor/bind9/dist-9.4 Update to version 9.4-ESV-R4, the latest from ISC, which addresses the following security vulnerabilities. For more information regarding these issues please see: http://www.isc.org/announcement/guidance-regarding-dec-1st-2010-security-advisories 1. Cache incorrectly allows ncache and rrsig for the same type http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3613 Affects resolver operators whose servers are open to potential attackers. Triggering the bug will cause the server to crash. This bug applies even if you do not have DNSSEC enabled. 2. Key algorithm rollover http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3614 Affects resolver operators who are validating with DNSSEC, and querying zones which are in a key rollover period. The bug will cause answers to incorrectly be marked as insecure. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-09T21:29:36.443841Z K 7 svn:log V 201 Remove AMD Family 0Fh, Model 6Bh, Stepping 2 from the list of P-state invariant CPUs. I do not believe this model is P-state invariant any more. Maybe cpufreq(4) was broken at the time of commit. :-( END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-12-09T21:31:21.476334Z K 7 svn:log V 175 Let all .c and .S files under lib/csu consistently use the __FBSDID() macro for identification, instead of several different hand-rolled variants (plain .ident, .ascii, etc). END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-12-09T22:01:15.827801Z K 7 svn:log V 49 Sync: merge r216133 through r216338 from ^/head. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-09T22:02:48.183047Z K 7 svn:log V 127 Don't tie ct_debug to bootverbose. Provide a sysctl to turn it on or off. Switch the default to always off. Reviewed by: kib END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-12-09T22:03:53.054882Z K 7 svn:log V 153 MFC r216166, r216167: Merge in OpenSSL 0.9.8q. Approved by: re (kib) Security: CVE-2010-4180 Security: http://www.openssl.org/news/secadv_20101202.txt END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-12-09T22:05:16.420159Z K 7 svn:log V 153 MFC r216166, r216167: Merge in OpenSSL 0.9.8q. Approved by: re (kib) Security: CVE-2010-4180 Security: http://www.openssl.org/news/secadv_20101202.txt END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-09T23:57:23.441585Z K 7 svn:log V 295 Bring in the change from OpenBSD's 1.14: "synchronize synopsis and usage; "-l", "-r", "-s" and "-x" are mutually exclusive; while here, slightly improve spacing in the source code so it fits on a 80-column display again. diff greatly improved by martynas@" Obtained from: sobrado@OpenBSD.org END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-10T00:52:54.412399Z K 7 svn:log V 140 MFC r216040: Make German formal clause to be consistent with the keymap counterpart. Submitted by: arundel Approved by: re (kensmith, bz) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-10T00:53:16.787030Z K 7 svn:log V 140 MFC r216040: Make German formal clause to be consistent with the keymap counterpart. Submitted by: arundel Approved by: re (kensmith, bz) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-12-10T05:15:47.769215Z K 7 svn:log V 110 MFC r206494 by luigi: fix a buffer overflow with large (100k+) number of input lines. Approved by: re (bz) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-12-10T05:16:25.905231Z K 7 svn:log V 110 MFC r206494 by luigi: fix a buffer overflow with large (100k+) number of input lines. Approved by: re (bz) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-12-10T05:18:37.858779Z K 7 svn:log V 309 MFC r213254 by luigi: fix breakage in in-kernel NAT: the code did not honor net.inet.ip.fw.one_pass and always moved to the next rule in case of a successful nat. This should fix several related PR (waiting for feedback before closing them) PR: 145167 149572 150141 Approved by: re (bz) END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-12-10T07:55:38.555864Z K 7 svn:log V 59 Document this driver supports the converter I just bought. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-10T08:33:56.077287Z K 7 svn:log V 121 Refactor fork1() to make it easier to follow. No functional changes. Reviewed by: kib (earlier version) Tested by: pho END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-12-10T08:53:06.998165Z K 7 svn:log V 332 Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c in crt1.o. On other architectures crtbrand.c is included from crt1.c, but that's not a C source code file on ia64. Instead it is compiled separately and included in crt1.o using incremental linking. Tested by: dim (previous version) Approved by: kib (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-10T10:37:53.101444Z K 7 svn:log V 59 MFC r216149: Add SLIST_SWAP() macro. Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-10T10:48:54.520224Z K 7 svn:log V 437 MFC r216150, r216158: If unix socket has a unix socket attached as the rights that has a unix socket attached as the rights that has a unix socket attached as the rights ... Kernel may overflow the stack on attempt to close such socket. Only close the rights file in the context of the current close if the file is not unix domain socket. Otherwise, postpone the work to taskqueue, preventing unlimited recursion. Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-10T11:02:59.904512Z K 7 svn:log V 103 MFC r216151: Extend the unix gc regression test to cover the case of r216150. Approved by: re (bz) END K 10 svn:author V 5 joerg K 8 svn:date V 27 2010-12-10T14:04:41.829485Z K 7 svn:log V 402 Fix __retval vs. retval confusion: retval is meant to store the (userland) pointer where data is to be returned by ibask() (currently unimplemented), while __retval holds the value returned by the libgpib ibfoo() functions. The confusion resulted in the ibfoo() functions returning an uninitialized value except in situations where the GPIB activity has been terminated abnormally. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-10T14:06:50.911334Z K 7 svn:log V 252 MFC r216192: Use correct field to track statistics counting error as bad header length. This assimilates the code to what ip_input has been doing since r1.1 in this case. Submitted by: Rozhuk Ivan (rozhuk.im gmail.com) Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-10T14:07:08.959250Z K 7 svn:log V 252 MFC r216192: Use correct field to track statistics counting error as bad header length. This assimilates the code to what ip_input has been doing since r1.1 in this case. Submitted by: Rozhuk Ivan (rozhuk.im gmail.com) Approved by: re (kib) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-12-10T15:05:49.524276Z K 7 svn:log V 101 Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io. Approved by: kib (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-10T15:37:54.724670Z K 7 svn:log V 213 MFC r216277: Loosen the locking in nd6-free() again after r216022 (r216118 in stable/8) to avoid a LOR and a recursed lock. Reported by: delphij Tested by: delphij PR: kern/148857 Approved by: re (kib) END K 10 svn:author V 8 andreast K 8 svn:date V 27 2010-12-10T20:27:50.156445Z K 7 svn:log V 360 On the Xserve G5 we find the LM75 instead of the DS1775. The core functionality is the same, a difference is that the DS1775 has a better precision than the LM75. But we do not use it in our setup. Make the LM75 work the same as the DS1775. Fix a typo in device_set_desc. Tested by: Paul Mather Approved by: nwhitehorn (mentor) END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-12-10T21:38:51.743320Z K 7 svn:log V 922 Fix a few issues related to the XPT_GDEV_ADVINFO CCB. camcontrol.c: In buildbusdevlist(), don't attempt to get call getdevid() for an unconfigured device, even when the verbose flag is set. The cam_open_btl() call will almost certainly fail. Probe for the buffer size when issuing the XPT_GDEV_ADVINFO CCB. Probing for the buffer size first helps us avoid allocating the maximum buffer size when it really may not be necessary. This also helps avoid errors from cam_periph_mapmem() if we attempt to map more than MAXPHYS. cam_periph.c: In cam_periph_mapmem(), if the XPT_GDEV_ADVINFO CCB shows a bufsiz of 0, we don't have anything to map, so just return. Also, set the maximum mapping size to MAXPHYS instead of DFLTPHYS for XPT_GDEV_ADVINFO CCBs, since they don't actually go down to the hardware. scsi_pass.c: Don't bother mapping the buffer in XPT_GDEV_ADVINFO CCBs if bufsiz is 0. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-10T21:43:20.433985Z K 7 svn:log V 88 Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg, jhb, attilio END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-12-10T21:45:10.340019Z K 7 svn:log V 2310 Fix an event handling bug with the mps(4) driver. This bug manifested itself after repeated device arrivals and departures. The root of the problem was that the last entry in the reply array wasn't initialized/allocated. So every time we got around to that event, we had a bogus address. There were a couple more problems with the code that are also fixed: - The reply mechanism was being treated as sequential (indexed by sc->replycurindex) even though the spec says that the driver should use the ReplyFrameAddress field of the post queue descriptor to figure out where the reply is. There is no guarantee that the reply descriptors will be used in sequential order. - The second word of the reply post queue descriptor wasn't being checked in mps_intr_locked() to make sure that it wasn't 0xffffffff. So the driver could potentially come across a partially DMAed descriptor. - The number of replies allocated was one less than the actual size of the queue. Instead, it was the size of the number of replies that can be used at one time. (Which is one less than the size of the queue.) mps.c: When initializing the entries in the reply free queue, make sure we initialize the full number that we tell the chip we have (sc->fqdepth), not the number that can be used at any one time (sc->num_replies). When allocating replies, make sure we allocate the number of replies that we've told the chip exist, not just the number that can be used simultaneously. Use the ReplyFrameAddress field of the post queue descriptor to figure out which reply is being referenced. This is what the spec says to do, and the spec doesn't guarantee that the replies will be used in order. Put a check in to verify that the reply address passed back from the card is valid. (Panic if it isn't, we'll panic when we try to deference the reply pointer in any case.) In mps_intr_locked(), verify that the second word of the post queue descriptor is not 0xffffffff in addition to verifying that the unused flag is not set, so we can make sure we didn't get a partially DMAed descriptor. Remove references to sc->replycurindex, it isn't needed now. mpsvar.h: Remove replycurindex from the softc, it isn't needed now. Reviewed by: scottl END K 10 svn:author V 5 joerg K 8 svn:date V 27 2010-12-10T22:20:11.873454Z K 7 svn:log V 110 Implement more of __ibsta: END and SRQI status bits (taken out of the uPD7210 IRQ status). MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-10T22:22:01.589525Z K 7 svn:log V 942 Derive the XENHVM kernel from GENERIC, adding only the options required to support PV drivers (such as xenpci), and non-adptive locking (along with a comment about why). This change eliminates the synchronisation problem between GENERIC and XENHVM, which had become severely rotted in HEAD, and in 8-STABLE included non-production kernel debugging features such as WITNESS. However, it comes at the cost of enabling devices and options that may not be present under Xen (such as random ethernet cards). For now, opt for a simpler kernel configuration file rather than using nooptions/ nodevice to enumerate and eliminate them. This leads to a somewhat larger XENHVM kernel. This is an MFC candidate for 8-STABLE before 8.2, in order to provide a production-worthy XENHVM kernel configuration for amd64. Discussed with: gibbs, cperciva Reported by: Piete Brooks Sponsored by: DARPA, AFRL MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-10T22:59:09.402240Z K 7 svn:log V 194 Remove bogus logic in the TX path, when using VLANs and HW_TAGGING in IPv6 the tag is not yet in the frame, and thus an ICMP6 packet fails this condition and does not get sent. Approved by: re END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-12-10T23:57:55.263663Z K 7 svn:log V 843 run_command (mostly) cleanup: Make the parallelism limit a global instead of always passing it to run_command and finish_command. In the case of an empty command string, try to run any other strings the command may have. Replace JF_BACKGROUND with its sort-of opposite JF_SLEEPQ. Change j->comstring earlier to render JF_RUNQ unncessary. Change the if-else series to a more readable switch statement. Treat IP_STOP_TIMEOUT like a command, calling run_command which then calls term_procs. When the IP_STOP_TIMEOUT "command" finishes, it shouldn't mess with the parallelism limit. Make sufficient checks in finish_command and run_command so that the nonintuitive j->comstring null check isn't necessary to run them. Rename the "waiting" queue to "depend", because the "sleeping" and "runnable" queues are also used to wait for something. END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-12-11T00:36:35.030298Z K 7 svn:log V 356 Fix setting LUN numbers in the mps(4) driver. Prior to this change, the addressing method wasn't getting set, and so the LUN field could be set incorrectly in some instances. This fix should allow for LUN numbers up to 16777215 (and return an error for anything larger, which wouldn't fit into the flat addressing model). Submitted by: scottl (in part) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-11T08:07:21.257778Z K 7 svn:log V 74 The use of snprintf() to append to a buffer is not valid according to C99 END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-12-11T08:32:16.904866Z K 7 svn:log V 271 Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2010-12-11T08:44:10.003222Z K 7 svn:log V 182 Fix race in devfs by using LIST_FIRST() instead of LIST_FOREACH_SAFE() when freeing the devfs private data entries. Reviewed by: kib MFC after: 3 days Approved by: thompsa (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-12-11T09:38:12.089780Z K 7 svn:log V 188 Remove the advertising clause from UCB copyrighted files in usr.sbin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-11T10:14:08.021349Z K 7 svn:log V 263 fix incorrect use of atomic_set_xxx in cxgb There is no need to use an atomic operation at structure initialization time. Note that the file changed is not connected to the build at this time. Reviewed by: jhb (general issue) Approved by: np MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-11T10:18:05.133474Z K 7 svn:log V 136 fix atomic_set_xxx misuse in drm It seems that atomic_set_xxx and atomic_store_xxx were confused. Reviewed by: jhb MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-11T10:21:38.284305Z K 7 svn:log V 152 fix atomic_set_xxx misuse in rge It seems that atomic_set_xxx and atomic_store_xxx were confused. Reviewed by: jhb (general issue) MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-11T10:55:18.545782Z K 7 svn:log V 124 acpi_fujitsu: update for P8010 PR: kern/121102 Submitted by: Anish Mistry MFC after: 3 weeks END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-11T13:24:01.082368Z K 7 svn:log V 88 Remove unnecessary debug/error CFLAGS. Reported by : pawel.worach (at) gmail (dot) com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-11T13:35:25.675639Z K 7 svn:log V 43 Remove redundant semicolon and empty like. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-11T16:06:52.002241Z K 7 svn:log V 130 Allow to specify path to a file we want to test with sendfile(2). This allows to specify selected file system and not only /tmp/. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-11T17:47:27.861124Z K 7 svn:log V 154 sh: Use vsnprintf() rather than crafting our own in fmtstr(). Add INTOFF/INTON as longjmp out of vsnprintf may cause memory leaks or undefined behaviour. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-11T17:57:42.961723Z K 7 svn:log V 92 Fix stack alignment (required to be to 16 bytes) instead of ptrace and cerror on powerpc64. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-11T20:12:42.907691Z K 7 svn:log V 74 Make the machdep.independent_wallclock sysctl do what it says on the box. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-11T20:29:52.844550Z K 7 svn:log V 103 Add some isync()s related to the 64-bit MMU scratch page to avoid race conditions on its invalidation. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-11T22:13:29.038877Z K 7 svn:log V 149 sh: Replace some macros and repeated code in expand.c with functions. No functional change is intended, but the binary is about 1K smaller on i386. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-11T22:33:33.575117Z K 7 svn:log V 612 Reduce the Xen timecounter from 1GHz to 2^-9 GHz, thereby increasing the timecounter period from 2^32 ns (~4.3s) to 2^41 ns (~36m39s). Some time sharing systems can skip clock interrupts for a few seconds when under load (e.g., if we've recently used more than our fair share of CPU and someone else wants a burst of CPU) and we were losing time in quanta of 2^32 ns due to timecounter wrapping. Increasing the timecounter period up to 2^41 ns is definitely overkill, but we still have microsecond timecounter precision, and anyone using paravirtualized hardware when they need submicrosecond timing is crazy. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-11T23:48:10.482415Z K 7 svn:log V 452 MFC r216291, r216293: MFC r216291: Do not print OpenSolaris hint to use (non-existing) installgrub(1) command if creating a mirror by attaching a new vdev to a root pool. MFC r216293: Print message with information about updating the boot code if a new vdev is attached to a root pool (e.g. when creating a mirrored boot pool). Reported by: James R. Van Artsdalen (on freebsd-fs@freebsd.org) Reviewed by: pjd Approved by: re (kib), delphij (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-12T00:07:27.370288Z K 7 svn:log V 720 sh: Remove the herefd hack. The herefd hack wrote out partial here documents while expanding them. It seems unnecessary complication given that other expansions just allocate memory. It causes bugs because the stack is also used for intermediate results such as arithmetic expressions. Such places should disable herefd for the duration but not all of them do, and I prefer removing the need for disabling herefd to disabling it everywhere needed. Here documents larger than 1024 bytes will use a bit more CPU time and memory. Additionally this allows a later change to expand here documents in the current shell environment. (This is faster for small here documents but also changes behaviour.) Obtained from: dash END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-12T00:07:56.185832Z K 7 svn:log V 942 Introduce get_answer() to handle processing of y/n questions that we want to be able to override on the command line with either -y or -n Utilize this new function to provide -y|n support for the following: -e, -s, --clean-distfiles, --clean-packages, --check-port-dbdir, and --check-depends. This also allows me to deprecate the horribly hacky --clean-distfiles-all and --clean-packages-all in favor of -y. Sort usage() to group features that use -y|n support, which also better reflects "do stuff" features vs. "list stuff" Update recommendations to use --clean-distfiles to include [-y], not [-all] For -s, if the user chooses not to delete the stale port flip the question about continuing to list it as a dependency, and correspondingly flip the default. This has no effect on -y (the condition is never reached) but allows -n to work reliably, and preserving the same default action (to delete the empty +REQUIRED_BY) reduces POLA. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-12T01:26:14.075621Z K 7 svn:log V 729 New Feature =========== The -e, -s, -l, -L, --list-origins, and --check-depends features all work fine without a ports tree, so now that getopts is run early we can properly test that those features are in use, and make the test for an empty $pd more sophisticated Indicate in usage() that --clean-packages requires --index-only if no ports tree is available In -e and -s, delete_dist_list() does require the ports tree, so if the user didn't use -D imply it when the ports tree is missing, and hide delete_dist_list() behind that test Fix === Sort long descriptions in usage() the same as the short ones in the previous change (for -y|n). Bug Fix ======= pdb and port_dbdir need default values for usage() in addition to pd END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-12T06:00:26.213234Z K 7 svn:log V 357 I2C drivers for XLR/XLS processors. - Major update to xlr_i2c.c: do multi-byte ops correctly, remove unnecessary code, add mutex to protect bus operations, style(9) fixes. - Drivers for I2C devices on XLR/XLS engineering boards, ds1374u RTC, max6657 temparature sensor and at24co2n EEPROM. Submitted by: Sreekanth M. S. (kanthms at netlogicmicro com) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-12-12T08:52:13.124244Z K 7 svn:log V 217 Handle the special ruleset 0 in devfs_ruleset_use(). An attempt set the current ruleset to 0 with command "devfs ruleset 0" triggered a KASSERT in devfs_ruleset_create(). PR: kern/125030 Submitted by: Mateusz Guzik END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-12T10:27:11.067776Z K 7 svn:log V 254 MFC r216195: For 6000 series and newer devices the DC calibration results are no longer requested of the boot firmware. Instead of sending those results to the runtime firmware the firmware is told to do the DC calibration itself. Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-12T13:04:30.659321Z K 7 svn:log V 180 Add regression test for new NFSv4 ACL semantics, verified with ZFSv28. Note that to run it, you need not only ZFSv28, but also a modified setfacl(1), which is not in the tree yet. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-12T16:16:39.013950Z K 7 svn:log V 430 In fpudna()/npxdna(), mark FPU context initialized and optionally mark user FPU context initialized, if current context is user context. It was reversed in r215865, by inadequate change of this code fragment to a call to fpuuserinited()/npxuserinited(). The issue is only relevant for in-kernel users of FPU. Reported by: Jan Henrik Sylvester , Mike Tancsa Tested by: Mike Tancsa MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-12T16:56:16.906887Z K 7 svn:log V 74 sh: Add a test for r216387 (long arithmetic expression in here document). END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-12-12T20:48:08.221905Z K 7 svn:log V 77 Add non-compiling Xen DomU code here. I love it when I get in over my head. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-12-12T20:50:44.429157Z K 7 svn:log V 142 Bugfix: Do correct accounting using the MIB counters when an association is aborted via sctp_abort_association(). MFC after: 3 days. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-12T21:18:16.484594Z K 7 svn:log V 184 sh: Fix some tests that used sh instead of ${SH} so they tested the wrong sh. This was caused because these tests were committed after the sh -> ${SH} change but were created before. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-12-12T21:26:12.059285Z K 7 svn:log V 175 Remove the advertising clause from UCB copyrighted files in sbin. This is in accordance with the information at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-12T22:59:34.943656Z K 7 svn:log V 198 sh: Various simplifications to jobs.c: * Prefer kill(-X) to killpg(X). * Remove some dead code. * No additional SIGINT is needed if int_pending() is already true. No functional change is intended. END K 10 svn:author V 3 wen K 8 svn:date V 27 2010-12-13T08:56:30.265465Z K 7 svn:log V 37 - Add myself to committers-ports.dot END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-12-13T10:27:35.907142Z K 7 svn:log V 136 MFC r216188: Fix a bug where also the number of non-renegable gap reports was considered to be potentially renegable. Approved by: re END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-13T10:40:16.405377Z K 7 svn:log V 114 MFC r216231: Do not leak %rdx value in the previous image to the new image after execve(2). Approved by: re (bz) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-13T10:48:49.761189Z K 7 svn:log V 98 Remove duplicate check, turning dead code into live code. Coverity CID: 5114 Reviewed by: jilles END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-13T12:15:46.137513Z K 7 svn:log V 242 Add options NO_ADAPTIVE_SX to the XENHVM kernel configuration, matching its similar disabling of adaptive mutexes and rwlocks. The existing comment on why this is the case also applies to sx locks. MFC after: 3 days Discussed with: attilio END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-13T12:34:35.538586Z K 7 svn:log V 1040 Merge r216365 from head to stable/8: Derive the XENHVM kernel from GENERIC, adding only the options required to support PV drivers (such as xenpci), and non-adptive locking (along with a comment about why). This change eliminates the synchronisation problem between GENERIC and XENHVM, which had become severely rotted in HEAD, and in 8-STABLE included non-production kernel debugging features such as WITNESS. However, it comes at the cost of enabling devices and options that may not be present under Xen (such as random ethernet cards). For now, opt for a simpler kernel configuration file rather than using nooptions/ nodevice to enumerate and eliminate them. This leads to a somewhat larger XENHVM kernel. This is an MFC candidate for 8-STABLE before 8.2, in order to provide a production-worthy XENHVM kernel configuration for amd64. Discussed with: gibbs, cperciva Reported by: Piete Brooks Sponsored by: DARPA, AFRL Approved by: re (kib) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-13T13:52:03.369291Z K 7 svn:log V 315 USB probing often takes a long time and finishes finding devices after init has started. In the case of sysinstall, this means that it has already built its list of devices before probing finishes. Add a hint for users who have booted from a USB stick only to find that sysinstall can't find it. MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-12-13T14:30:35.429150Z K 7 svn:log V 390 fix mips build breakage introduced in r216375: atomic_store_int doesn't exists 1) 32-bit assignment are expected to always be atomic. 2) Release/acquire memory barrier semantics doesn't seem to be needed here. So a simple assignment can be used. Remove unused port_set_counter() while here, it also used to mis-use atomic_set_int(). Reported by: jhb Pointyhat to: avg MFC after: 3 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-13T16:23:02.657144Z K 7 svn:log V 148 FreeBSD committer Dan Moschuk has passed away. Here is his death notice: http://www.lifenews.ca/thespec/profile/98251--moschuk-daniel PR: 147479 END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-13T17:53:38.773275Z K 7 svn:log V 210 Updates for I2C devices on XLR engg boards. - ds1374u : use multi-byte write. - at24co2n, max6657: remove mutex, iicbus has the necessary locking. Submitted by: Sreekanth M. S. (kanthms at netlogicmicro com) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-13T17:53:41.064336Z K 7 svn:log V 633 MFC r216238: Fix scanning after loosing a connection. The firmware assumes that as long as an association ID is set any scan is supposed to be a background scan. This implies that the firmware will switch back to the associated channel after a certain threshold, though, we are not notified about that. We currently catch this case by a timer which will reset the firmware after a 'scan timeout', though, upper layers are not notified about that and will simply hang until manual intervention. Fix this by resetting the firmware's knowledge about any association on RUN -> ASSOC and !INIT -> SCAN transitions. Approved by: re (kib) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-12-13T17:56:31.111960Z K 7 svn:log V 539 MFC r216237: Fixes for monitor mode: - Do not call iwn_calib_reset() for monitor mode. We do not want to query information and do runtime calibration while in monitor mode. Poking the firmware with adjustments for calibration results in firmware asserts. This could happened on RUN -> RUN transition only. - Adjust blink rate for monitor mode. It's supposed to not freak out and turn off after a while. - While here, remove one useless assignment of calib.state, it gets overwritten later in the function. Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-13T18:56:04.321652Z K 7 svn:log V 568 Adapt filesystem-independent NFSv4 ACL code (used by UFS, but not by ZFS) to PSARC/2010/029. In short, the semantics is simplified - "weird stuff" no longer happens after chmod, entries don't get duplicated during inheritance, and trivial ACLs no longer contain three "DENY" entries, which is also more friendly to MS Windows. By default, UFS keeps using old semantics. To change it, set sysctl vfs.acl_nfs4_old_semantics to 0. I'll flip the switch when ZFSv28 hits the tree, to keep these two in sync - ZFS v28 uses PSARC semantics, and ZFS v15 uses the old one. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-13T18:59:55.592809Z K 7 svn:log V 62 Recognize NFSv4 ACL semantics and run proper regression test. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-13T19:01:23.803524Z K 7 svn:log V 56 After PSARC/2010/029, "canonical six" no longer exists. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-13T19:03:10.197411Z K 7 svn:log V 23 Bump manual page date. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-13T19:50:12.502244Z K 7 svn:log V 136 Move locale.h include to the beginning header section as pointed out by style(9) Submitted by: Pedro F. Giffuni END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-13T19:54:42.623949Z K 7 svn:log V 189 The only caller of mknum() provides a char instead of an int, so make it match the definition. PR: bin/152934 Submitted by: Pedro F. Giffuni Obtained from: Illumos END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-13T23:26:31.106885Z K 7 svn:log V 263 Add a rudimentary Xen man page summarising the state of Xen on amd64 and i386, how to configure the kernel, and some known issues. Further refinement almost certainly required. This is not a Xen installation manual. MFC after: 3 days Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-13T23:30:56.575274Z K 7 svn:log V 270 Add a rudimentary Xen man page summarising the state of Xen on amd64 and i386, how to configure the kernel, and some known issues. Further refinement almost certainly required. This is not a Xen installation manual. MFC after: 3 days Sponsored by: DARPA, AFRL END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-12-13T23:53:55.940245Z K 7 svn:log V 115 Tighten up some of the comments describing turnstiles and sleepqueues. No code changes. Reviewed by: John Baldwin END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-14T00:21:34.991746Z K 7 svn:log V 34 Make use of EX_USAGE for usage(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-14T01:16:56.191659Z K 7 svn:log V 633 IEEE Std 1003.1-2008, Section 1.4, Utility Description Defaults says that when the options section is listed as "None", utility shall recognize "--" as a first argument to be discarded. This implementation is largely based on OpenBSD implementation but we do slightly differently: a) We skip argv[0] as the first step; b) We test whether the next argument is "--" and ignore it. With this change one will get: %printf usage: printf format [arguments ...] %printf -v -v%printf -- -v -v% %printf -- usage: printf format [arguments ...] Which matches the behavior observed on a Debian system but different from the Illumos change. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-14T01:28:33.901034Z K 7 svn:log V 174 We work on ctype's and not only on numbers so set LC_ALL instead of LC_NUMERIC. PR: bin/152934 Submitted by: Pedro F. Giffuni Obtained from: Illumos END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-12-14T05:47:35.692325Z K 7 svn:log V 191 Change memguard_fudge() so that it can handle km_max being zero. Not every platform defines VM_KMEM_SIZE_MAX, and on those platforms km_max will be zero. Reviewed by: mdf Tested by: marius END K 10 svn:author V 6 gordon K 8 svn:date V 27 2010-12-14T06:07:18.929326Z K 7 svn:log V 195 Move sysctl invocation to using a variable that's fully pathed. This prevents errors for users that don't have /sbin in their PATH. Submitted by: Max Boyarov Approved by: mentor (wes@ implicit) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-14T06:19:13.394750Z K 7 svn:log V 79 Just pass M_ZERO to malloc(9) instead of clearing allocated memory separately. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-14T09:32:37.558795Z K 7 svn:log V 157 Further refinements to the xen.4 man page: fix typos, add material on para-virtualized drivers, clarify how to configure XENHVM on amd64. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-12-14T10:06:28.871945Z K 7 svn:log V 67 Slightly different formatting for options list. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-12-14T13:45:57.122868Z K 7 svn:log V 741 MFC: r216330 Disable attempts to establish a callback connection from the experimental NFSv4 server to a NFSv4 client when delegations are not being issued, even if the client advertises a callback path. This avoids a problem where a Linux client advertises a callback path that doesn't work, due to a firewall, and then times out an Open attempt before the FreeBSD server gives up its callback connection attempt. (Suggested by drb at karlov.mff.cuni.cz.) The server should probably have a 1sec timeout on callback connection attempts when there are no delegations issued to the client, but that patch will require changes to the krpc and this serves as a work around until then. Tested by: drb at karlov.mff.cuni.cz Approved by: re (kib) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-14T15:11:49.091524Z K 7 svn:log V 77 Check the return value of malloc(). Reviewed by: hselasky MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-14T15:14:08.630733Z K 7 svn:log V 62 Fix a memory leak on the error condition Reviewed by: rpaulo END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-12-14T15:33:48.705257Z K 7 svn:log V 327 MFC r216351: Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c in crt1.o. On other architectures crtbrand.c is included from crt1.c, but that's not a C source code file on ia64. Instead it is compiled separately and included in crt1.o using incremental linking. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-14T15:33:59.678295Z K 7 svn:log V 472 MFC r210044, r214622: MFC r210044 (pjd): MFp4 180933: Initialize rw_count properly so that zdb(8) doesn't trigger assertion in rw_enter(): ASSERT(rwlp->rw_count == 0); While here, assert that rw_count is 0 when destroying the lock. MFC r214622 (pjd): 1. Remove invalid assertion. 2. Properly recalculate delta in case pthread_cond_timedwait() is interrupted. 3. Style fix. Reported by: [1] App Deb Approved by: re (kib), pjd, delphij (mentor) END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-12-14T15:35:44.465168Z K 7 svn:log V 327 MFC r216351: Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c in crt1.o. On other architectures crtbrand.c is included from crt1.c, but that's not a C source code file on ia64. Instead it is compiled separately and included in crt1.o using incremental linking. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-14T15:36:47.989531Z K 7 svn:log V 797 MFC r208683, r210999, r212385: MFC r208683 (pjd): Fix a bug where resilver is not started automatically on pool import or load. If disk was missing on pool load or import and on next pool load or import it was present, resilver wasn't started automatically and ZFS reported all disks as ONLINE and healthy. Then, when another disk died, pool became unaccessible, because if it was 2-way mirror or RAIDZ1 two vdevs were out of sync. To fix the problem, start resilver automatically on pool load or import. Obtained from: OpenSolaris MFC r210999 (pjd): In FreeBSD we use 'jailed' property. MFC r212385 (pjd): On FreeBSD we can log from pool that have multiple top-level vdevs or log vdevs, so don't deny adding new vdevs if bootfs property is set. Approved by: re (kib), pjd, delphij (mentor) END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-12-14T17:23:49.554752Z K 7 svn:log V 70 Remove spurious printf left over from debugging our XenStore support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-14T17:39:10.601446Z K 7 svn:log V 75 Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-14T18:23:15.882272Z K 7 svn:log V 234 When printf is being used as a sh(1) builtin, it can not call exit(3) as pointed out by jilles@ so revert to using return(), also change the return value back to 1 as requested by bde@. This is logically a revert of revision 216422. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-14T19:59:39.845606Z K 7 svn:log V 307 MFC r216172, r216176: Correct the RX discard and refresh_mbuf logic to match igb, the old discard code could cause panics due to a bad pointer, now simply have discard always free mbufs and depend on refresh. In the refresh code, make sure the mbuf and soft buf struct are properly reset. Approved by: re END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-14T20:00:55.445352Z K 7 svn:log V 306 MFC r216172, r216176 Correct the RX discard and refresh_mbuf logic to match igb, the old discard code could cause panics due to a bad pointer, now simply have discard always free mbufs and depend on refresh. In the refresh code, make sure the mbuf and soft buf struct are properly reset. Approved by: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-14T20:06:55.868264Z K 7 svn:log V 65 Software RAID framework to replace ataraid's lost fucntionality. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-14T20:07:51.343311Z K 7 svn:log V 474 Stop lying about supporting cpu_est_clockrate() when TSC is invariant. This function always returned the nominal frequency instead of current frequency because we use RDTSC instruction to calculate difference in CPU ticks, which is supposedly constant for the case. Now we support cpu_get_nominal_mhz() for the case, instead. Note it should be just enough for most usage cases because cpu_est_clockrate() is often times abused to find maximum frequency of the processor. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-14T20:10:29.342338Z K 7 svn:log V 422 graid backport to 8. This will be merged into 8 when the time is right. There may be ABI changes that cannot be merged, which may mean reduced functionality relative to -current. This branch also will serve as a place for people to grab up-to-date versions of the complete work if they want a version of 8 with all of the features included. For 8.x, it is anticipated there will be very few of these kinds of changes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-14T20:13:30.051507Z K 7 svn:log V 450 graid backport to 7. Some of this may be merged into 7 when the time is right. There are ABI changes that cannot be merged (due to CAM changes back ported for the cam ata/ada stuff). This branch also will serve as a place for people to grab up-to-date versions of the complete work if they want a version of 7 with all of the features included. Unfortunately, it isn't clear how much of this functionality can be merged due to dependency issues. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-14T20:19:41.728256Z K 7 svn:log V 93 MFC: r210780 Rearrange struct pcb to make better use of cache lines. Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-14T20:35:08.063792Z K 7 svn:log V 311 Revert r216423 per request from Jilles. The new behavior prevents us from being able to bail out explicitly on unknown options that we have not implemented. BASH for instance have introduced a '-v' for printf(1) builtin and it seems to be bad to pretend that we supported it and have a script break silently. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-12-14T20:57:40.168086Z K 7 svn:log V 63 Fix a typo in a comment. Noticed by: Attila Nagy END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-14T21:33:17.167159Z K 7 svn:log V 393 When the per-queueset transmit kthread is idle, do not pass a sleep priority of '1' to tsleep(). This caused the priority of this kthread to be raised higher than every other thread in the system. Instead, leave the priority of the kthread at its existing level. This is a direct commit to stable/7 as this code is no longer present in 8.x and later. Reviewed by: np Approved by: re (kib) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-12-15T01:08:19.083622Z K 7 svn:log V 509 Initial port and rewrite of Sockets Direct Protocol (IB socket layer) - sdp_main.c was GPL polluted as a result of copy & paste code from linux tcp sources. It was rewritten from BSD tcp sources and copyrights were properly retained. - Remaining files are dual BSD/GPL licensed and appear to be free of unsafe copy & paste code. Most linuxisms removed although the wrapper layer is still included as it must be for the rdma/* includes. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-12-15T01:19:14.901365Z K 7 svn:log V 89 - Add sdp to the config options Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-12-15T08:27:17.691090Z K 7 svn:log V 178 MFC r216309: Add IDs of HighPoint RocketRAID 62x cards (Marvell 88SE9128 chips). PR: kern/152926 Submitted by: Mike Tancsa Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-15T12:45:28.577163Z K 7 svn:log V 75 Add the missed 'p' flag to getopt() optstring argument. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-15T12:46:53.535842Z K 7 svn:log V 172 VOP_ISLOCKED() should not be used to determine if the vnode is locked. Explicitely track the locked status of the vnode. Reviewed by: pjd Tested by: avg MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-15T15:15:42.023299Z K 7 svn:log V 289 MFC r216394: In fpudna()/npxdna(), mark FPU context initialized and optionally mark user FPU context initialized, if current context is user context. It was reversed in r215865, by inadequate change of this code fragment to a call to fpuuserinited()/npxuserinited(). Approved by: re (bz) END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-15T15:19:17.505999Z K 7 svn:log V 95 MFC r209230 (pjd): Remove redundant assignment. Approved by: re (kib), pjd, delphij (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-15T15:23:25.637502Z K 7 svn:log V 84 MFC r216253: Retire write-only PCB_FULLCTX pcb flag on amd64. Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-15T15:25:56.948946Z K 7 svn:log V 279 MFC r216255: Update some comments related to use of amd64 full context switch. In exec_linux_setregs(), use locally cached pointer to pcb to set pcb_full_iret. In set_regs(), note that full return is needed when code that sets segment registers is enabled. Approved by: re (bz) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-15T16:04:36.873792Z K 7 svn:log V 90 Record merge-info for r216172,216176 previously merged as r216441. Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-15T16:21:59.811937Z K 7 svn:log V 150 Record merge-info for r216171 previously merged as r216366. Record merge-info for r216172,216176 previously merged as r216440. Approved by: re (kib) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-12-15T16:42:44.918949Z K 7 svn:log V 272 - Assert that dm_lock is exclusively held in devfs_rules_apply() and in devfs_vmkdir() while adding the entry to de_list of the parent. - Apply devfs rules to newly created directories and symbolic links. PR: kern/125034 Submitted by: Mateusz Guzik (original version) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-12-15T16:49:47.316858Z K 7 svn:log V 216 Don't allow user created symbolic links to cover another entries marked with DE_USER. If a devfs rule hid such entry, it was possible to create infinite number of symbolic links with the same name. Reviewed by: kib END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-12-15T19:30:44.949960Z K 7 svn:log V 256 One of the compat32 functions was copying in a raw timespec, instead of a 32-bit one. This can cause weird timeout issues, as the copying reads garbage from the user. Code by: Deepak Veliath MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-12-15T20:08:29.311449Z K 7 svn:log V 84 Play checkers with more code that needs to be moved up so that getopts() can use it END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-15T22:48:44.031249Z K 7 svn:log V 213 MFC r216173 Remove the test for a minimum frame size from the IPV6 TX context descriptor setup, when using VLANs and HW TAGGING the length of an ICMP6 frame will fail this test and be discarded. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-15T22:58:45.259534Z K 7 svn:log V 250 Bring back (most of) NATM to avoid further bitrot after r186119. Keep three lines disabled which I am unsure if they had been used at all. This will allow us to seek testers and possibly bring it all back. Discussed with: rwatson MFC after: 7 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-12-15T22:59:50.979219Z K 7 svn:log V 213 MFC r216173 Remove the test for a minimum frame size from the IPV6 TX context descriptor setup, when using VLANs and HW TAGGING the length of an ICMP6 frame will fail this test and be discarded. Approved by: re END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-12-15T23:24:34.581020Z K 7 svn:log V 149 Rename the generic "CLASS" to the more specific "GEOM_CLASS". While I'm here remove redundancy and inconsistencies. Obtained from: Juniper Networks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-15T23:43:25.862960Z K 7 svn:log V 230 Fix the overflowing livefs ISO by removing man pages from the HFS part of the hybrid disk. This is a stopgap until a better solution can be found, but lets the powerpc release build complete for the time being. MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-12-15T23:45:12.881413Z K 7 svn:log V 149 Rename the generic "CLASS" to the more specific "GEOM_CLASS". While I'm here remove redundancy and inconsistencies. Obtained from: Juniper Networks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-12-15T23:48:45.441548Z K 7 svn:log V 23 Merge ACPICA 20101209. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-12-16T00:00:28.504274Z K 7 svn:log V 38 GEOM virstor .so does not need libmd. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-12-16T00:36:10.671045Z K 7 svn:log V 17 Bump WARNS to 6. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-16T04:56:03.766186Z K 7 svn:log V 346 Make the ELF trampoline binary ELF executable (and do some cleanup). - Remove the -shared flag for the trampoline binary, generate an ELF executable instead of a shared object. - No need to generate tmphack.S, move the code to sys/mips/mips/inckern.S - No need generate opt_kernname.h, KERNNAME can be passed with -D Reviewed by: gonzo, imp END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-12-16T05:13:41.001366Z K 7 svn:log V 39 - include argument should be in quotes END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-12-16T07:20:38.940617Z K 7 svn:log V 140 o) Add support for the Lanner MR-321X/MR-325, which is just a modified MR-320. o) On the Lanner MR-730, disable PCIe lane swap, per vendor. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-16T07:28:40.061065Z K 7 svn:log V 82 Log the fact of launching and include protocol version number. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-16T07:29:58.599433Z K 7 svn:log V 61 Don't ignore errors from remote requests. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-12-16T07:30:47.239547Z K 7 svn:log V 45 Improve problems logging. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-12-16T09:49:16.081447Z K 7 svn:log V 77 Add a missing cast. Reported by blade_ly at yahoo.com.cn. MFC after: 1 day. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-12-16T10:58:45.886456Z K 7 svn:log V 152 MFC r216397: Bugfix: Do correct accounting using the MIB counters when an association is aborted via sctp_abort_association(). Approved by: re END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-16T11:20:37.120738Z K 7 svn:log V 145 Silence the compiler warnings in libbsnmp by removing several (now) unsed parameters. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-16T11:58:50.763926Z K 7 svn:log V 30 libbsnmp was moved to usr/lib END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-16T14:57:06.873692Z K 7 svn:log V 338 MFC r216407: USB probing often takes a long time and finishes finding devices after init has started. In the case of sysinstall, this means that it has already built its list of devices before probing finishes. Add a hint for users who have booted from a USB stick only to find that sysinstall can't find it. Approved by: re (kensmith) END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2010-12-16T15:18:53.179696Z K 7 svn:log V 138 Pass proper -Wl,-export-dynamic to ld. Thus bsnmpd(1) compiled with clang properly exports its symbols to the modules. Submitted by: dim END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-16T15:19:32.201750Z K 7 svn:log V 210 Use bus_alloc_resource_any() instead of bus_alloc_resource(). Besides being cleaner, this fixes problems where the code was using ~0 instead of ~0ul for the upper bound on "any" resources. MFC after: 1 month END