‚–h236880 120 899 427 216 358 598 143 167 603 603 194 189 145 158 422 354 181 181 259 181 279 162 232 334 162 170 232 223 703 703 170 296 246 234 387 321 145 324 174 174 128 276 187 168 295 669 505 285 305 199 140 273 143 209 145 104 266 216 1211 181 539 384 143 180 135 626 158 161 403 403 129 200 151 381 525 124 314 244 209 282 349 210 186 768 110 195 855 111 289 232 132 351 351 491 138 123 534 738 135 138 210 210 283 283 283 231 231 231 215 119 140 120 115 117 267 192 126 1194 173 156 317 K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-11T07:44:16.991626Z K 7 svn:log V 803 Wrap the whole (software) TX path from ifnet dequeue to software queue (or direct dispatch) behind the TXQ lock (which, remember, is doubling as the TID lock too for now.) This ensures that: (a) the sequence number and the CCMP PN allocation is done together; (b) overlapping transmit paths don't interleave frames, so we don't end up with the original issue that triggered kern/166190. Ie, that we don't end up with seqno A, B in thread 1, C, D in thread 2, and they being queued to the software queue as "A C D B" or similar, leading to the BAW stalls. This has been tested: * both STA and AP modes with INVARIANTS and WITNESS; * TCP and UDP TX; * both STA->AP and AP->STA. STA is a Routerstation Pro (single CPU MIPS) and the AP is a dual-core Centrino. PR: kern/166190 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-11T08:03:14.340049Z K 7 svn:log V 332 Move the test for installed ports on the build-only dep list to a better location, after the code that checks to see if any ports on the list are depended on. Also, we only want to disqualify an installed port if we're doing --delete-build-only. If the port is already installed and needs an update, --packages-build still applies. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-11T08:42:11.563000Z K 7 svn:log V 121 Give a better error message if pm_mktemp() fails Add some whitespace after the message about removing empty directories END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-11T08:52:21.098530Z K 7 svn:log V 263 In multiport(), count the number of ports in worklist_tmp, then use that for the first progress update. The number might get revised due to the user opting out of an update that matches a glob pattern, but it's better than doing 1/1, 2/2, etc. in the first pass. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-11T11:35:22.230180Z K 7 svn:log V 506 Introduce "feature flags" for ZFS pools (bump SPA version to 5000). Add first feature "com.delphix:async_destroy" (asynchronous destroy of ZFS datasets). Implement features support in ZFS boot code. Illumos revisions merged: 13700:2889e2596bd6 13701:1949b688d5fb 2619 asynchronous destruction of ZFS file systems 2747 SPA versioning with zfs feature flags References: https://www.illumos.org/issues/2619 https://www.illumos.org/issues/2747 Obtained from: illumos (issue #2619, #2747) MFC after: 1 month END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-06-11T11:59:29.796796Z K 7 svn:log V 50 MFC 236582,236618 - remove unused serrno variable END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-11T12:26:23.050441Z K 7 svn:log V 72 Fix uninitialised reference. Noticed by: John Hay END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-06-11T12:34:14.776139Z K 7 svn:log V 505 MFC: r235381 Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the tsleep()s had a 10sec timeout, the race would have only delayed the allocation of a new clientid for a client. The sleeps will also rarely occur, since having a callback in progress when a client acquires a new clientid, is unlikely. in practice, since having a callback in progress when a fresh clientid is being acquired by a client is unlikely. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-06-11T13:17:45.023216Z K 7 svn:log V 505 MFC: r235381 Fix two cases in the new NFS server where a tsleep() is used, when the code should actually protect the tested variable with a mutex. Since the tsleep()s had a 10sec timeout, the race would have only delayed the allocation of a new clientid for a client. The sleeps will also rarely occur, since having a callback in progress when a client acquires a new clientid, is unlikely. in practice, since having a callback in progress when a fresh clientid is being acquired by a client is unlikely. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-06-11T14:02:02.880981Z K 7 svn:log V 97 Fix a leak when setting the global character locale to "C" from something else. Reported by: mm END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-06-11T15:40:57.390981Z K 7 svn:log V 92 Clean up some symbol versions for libsupc++ / libcxxrt. MFC after: 1 week Reviewed by: kan END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T16:08:03.715880Z K 7 svn:log V 53 Style fixes and simplifications. MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-11T16:18:39.973408Z K 7 svn:log V 66 None of these programs actually use auth.conf. MFC after: 1 week END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-11T16:35:47.777256Z K 7 svn:log V 326 The cc_firsttick field in struct callout_cpu keeps track of the time at which the nearest event in future should be fired. In case we're adding an event which time associated is greater than cc_firsttick, there's no need to call callout_new_inserted. While here, fix a style indentation bug pointed out by Bruce Evans (bde@). END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-06-11T17:17:28.489571Z K 7 svn:log V 258 CTR4 has four arguments but we need five, change it to CTR5. Modify some printed value to obtain more significant kernel traces. While here, Bruce Evans told me that "unsigned int" is spelled "u_int" in KNF, so replace it where needed. Discussed with: mav END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-11T17:18:31.169619Z K 7 svn:log V 84 MFC r236407: Improve support for detaching kernel drivers on a per interface basis. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-11T17:22:27.044362Z K 7 svn:log V 84 MFC r236407: Improve support for detaching kernel drivers on a per interface basis. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-11T17:23:24.759733Z K 7 svn:log V 161 MFC r236439: Add appropriate checks for ic_bsschan being set to IEEE80211_CHAN_ANYC in some of the USB WLAN drivers. This fixes a panic when using monitor mode. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-11T17:27:53.948009Z K 7 svn:log V 84 MFC r233771: Add definitions and structures for USB 2.0 Link Power Management, LPM. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-06-11T17:42:39.812095Z K 7 svn:log V 186 Fix unloading of libiconv module. Previously it would either loop infinitely or exit with error leaking a lock. Reported by: Will DeVries Approved by: trasz (mentor) MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-06-11T17:54:40.591470Z K 7 svn:log V 70 MFC r236738: Plug socket refcount leak on error in sys_sctp_peeloff. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-06-11T18:02:30.107935Z K 7 svn:log V 140 MFC r230373: Change mount_fs() to not exit on error. The "failok" mount option requires that errors are passed to the caller. PR: 163668 END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-06-11T18:09:04.049364Z K 7 svn:log V 238 Map in the console shared page, which the xen domU console driver uses to communicate with the hypervisor for console i/o. While at it, enable the boot to progress a bit more with temporary shims in pmap.c Approved by: gibbs (implicit) END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-06-11T18:10:12.748598Z K 7 svn:log V 70 MFC r236738: Plug socket refcount leak on error in sys_sctp_peeloff. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-06-11T18:22:04.219278Z K 7 svn:log V 79 MFC r230377: Don't print the nmount(2) provided error message if it is empty. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-06-11T18:26:18.916295Z K 7 svn:log V 136 Map in the console page using pmap_kenter(), since the backing table hierarchy is easiest setup this way. Approved by: gibbs(implicit) END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2012-06-11T18:47:26.582921Z K 7 svn:log V 126 Another fixe for r236772. - Adjust correct cpuset (stopped_cpus/suspended_cpus) for cpu_spinwait() in generic_stop_cpus(). END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-06-11T19:05:10.766120Z K 7 svn:log V 607 Partial merge of r213507 from head: In r178993, the ability to view a man page by giving a path to the man page itself was added, but never documented. Subsequently, the GNU-licensed man(1) and its man page were replaced by BSD licensed implementations, and later on this undocumented functionality was also added to the new BSD-licensed man(1), together with documentation. This is a merge of the documentation part of that commit (r213507) into the GNU-licensed man(1) man page in stable/7, in order to document the available functionality. PR: docs/158973 Merge help: bz Approved by: gabor (mentor) END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-06-11T19:09:55.026944Z K 7 svn:log V 607 Partial merge of r213507 from head: In r178993, the ability to view a man page by giving a path to the man page itself was added, but never documented. Subsequently, the GNU-licensed man(1) and its man page were replaced by BSD licensed implementations, and later on this undocumented functionality was also added to the new BSD-licensed man(1), together with documentation. This is a merge of the documentation part of that commit (r213507) into the GNU-licensed man(1) man page in stable/8, in order to document the available functionality. PR: docs/158973 Merge help: bz Approved by: gabor (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-11T19:20:59.660167Z K 7 svn:log V 73 Use the correct clock source when computing timeouts. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T19:48:55.276157Z K 7 svn:log V 203 Now that fdgrowtable() doesn't drop the filedesc lock we don't need to check if descriptor changed from under us. Replace the check with an assert. Discussed with: kib Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T19:51:27.381828Z K 7 svn:log V 153 Move the code around a bit to move two parts of code duplicated from kern_close() close together. Discussed with: kib Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T19:53:41.922055Z K 7 svn:log V 141 Merge two ifs into one to make the code almost identical to the code in kern_close(). Discussed with: kib Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T19:57:31.869531Z K 7 svn:log V 294 Introduce closefp() function that we will be able to use to eliminate code duplication in kern_close() and do_dup(). This is committed separately from the actual removal of the duplicated code, as the combined diff was very hard to read. Discussed with: kib Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T20:00:44.100776Z K 7 svn:log V 228 Remove code duplicated in kern_close() and do_dup() and use closefp() function introduced a minute ago. This code duplication was responsible for the bug fixed in r236853. Discussed with: kib Tested by: pho MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T20:01:50.008149Z K 7 svn:log V 53 Be consistent with white spaces. MFC after: 1 month END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-06-11T20:12:13.855070Z K 7 svn:log V 227 Fix a panic I introduced in r234487, the bridge softc pointer is set to null early in the detach so rearrange things not to explode. Reported by: David Roffiaen, Gustau Perez Querol Tested by: David Roffiaen MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T20:17:20.427771Z K 7 svn:log V 82 Use consistent way of checking if descriptor number is valid. MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T20:19:24.850648Z K 7 svn:log V 82 Use consistent way of checking if descriptor number is valid. MFC after: 1 month END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-11T20:27:52.907723Z K 7 svn:log V 31 Revert: r236909 Pointyhat: me END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T20:58:23.804108Z K 7 svn:log V 183 MFC r235356: Make the vm_page_array_size long. Remove redundand zero initialization for vm_page_array_size and nearby variables. MFC r235359: Commit the change forgotten in r235356. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:06:10.535001Z K 7 svn:log V 95 MFC r235362: Assert that fictitious or unmanaged pages do not appear on active/inactive lists. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:08:52.848113Z K 7 svn:log V 76 MFC r235365: Assert that the page passed to vm_page_putfake() is unmanaged. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:12:52.262872Z K 7 svn:log V 202 MFC r235366: Split the code from vm_page_getfake() to initialize the fake page struct vm_page into new interface vm_page_initfake(). Handle the case of fake page re-initialization with changed memattr. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:19:59.912597Z K 7 svn:log V 576 MFC r235372: Add a facility to register a range of physical addresses to be used for allocation of fictitious pages, for which PHYS_TO_VM_PAGE() returns proper fictitious vm_page_t. The range should be de-registered after consumer stopped using it. De-inline the PHYS_TO_VM_PAGE() since it now carries code to iterate over registered ranges. MFC r235776 (by andrew): In PHYS_TO_VM_PAGE() when VM_PHYSSEG_DENSE is set the check if we are past the end of vm_page_array was incorrect causing it to return NULL. This value is then used in vm_phys_add_page causing a data abort. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:25:20.785072Z K 7 svn:log V 412 MFC r235375: Add new pager type, OBJT_MGTDEVICE. It provides the device pager which carries fictitous managed pges. In particular, the consumers of the new object type can remove all mappings of the device page with pmap_remove_all(). The range of physical addresses used for fake page allocation shall be registered with vm_phys_fictitious_reg_range() interface to allow the PHYS_TO_VM_PAGE() to work in pmap. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:33:02.725751Z K 7 svn:log V 192 MFC r235782: A rewrite of the i810 bits of the agp(4) driver. New driver supports operations required by GEMified i915.ko. It also attaches to SandyBridge and IvyBridge CPU northbridges now. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:35:27.931084Z K 7 svn:log V 212 MFC r235783: Add the code for new Intel GPU driver, which supports GEM, KMS and works with new generations of GPUs (IronLake, SandyBridge and supposedly IvyBridge). The driver is not connected to the build yet. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:38:36.388285Z K 7 svn:log V 106 MFC r235846: Add 'drmn' device as another drm child, to allow drm2 drivers to live in parallel with drm1. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:40:02.342461Z K 7 svn:log V 48 MFC r235847: The drm2 modules makefiles commit. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-11T21:41:16.766417Z K 7 svn:log V 180 Avoid unnecessary atomic operations for clearing PGA_WRITEABLE in pmap_remove_pages(). This reduces pmap_remove_pages()'s running time by 4 to 11% in my tests. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:41:45.689958Z K 7 svn:log V 51 MFC r235925 (by dim): Fix a clang warning in drm2. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:43:17.054982Z K 7 svn:log V 116 MFC r236182: Fix calculation of the execution buffer end in the mapped pages when it is spilled into the next page. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-11T21:44:24.811367Z K 7 svn:log V 53 MFC r236183: Disable end of buffer fixup by default. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-06-11T21:56:37.106164Z K 7 svn:log V 12 MFC r236933 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-11T22:05:26.208572Z K 7 svn:log V 173 fdgrowtable() no longer drops the filedesc lock so it is enough to retry finding free file descriptor only once after fdgrowtable(). Spotted by: pluknet MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-06-11T22:25:20.097894Z K 7 svn:log V 119 Switch from 4-clause to 2-clause BSD license. (OpenBSD r1.22) No functional change. Obtained from: NetBSD via OpenBSD END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2012-06-11T23:07:21.545234Z K 7 svn:log V 1112 In softdep_setup_inomapdep() we may have to allocate both inodedep and bmsafemap dependency structures in inodedep_lookup() and bmsafemap_lookup() respectively. The setup of these structures must be done while holding the soft-dependency mutex. If the inodedep is allocated first, it may be freed in the I/O completion callback when the mutex is released to allocate the bmsafemap. If the bmsafemap is allocated first, it may be freed in the I/O completion callback when the mutex is released to allocate the inodedep. To resolve this problem, bmsafemap_lookup has had a parameter added that allows a pre-malloc'ed bmsafemap to be passed in so that it does not need to release the mutex to create a new bmsafemap. The softdep_setup_inomapdep() routine pre-malloc's a bmsafemap dependency before acquiring the mutex and starting to build the inodedep with a call to inodedep_lookup(). The subsequent call to bmsafemap_lookup() is passed this pre-allocated bmsafemap entry so that it need not release the mutex if it needs to create a new one. Reported by: Peter Holm Tested by: Peter Holm MFC after: 1 week END K 10 svn:author V 7 iwasaki K 8 svn:date V 27 2012-06-12T00:14:54.545033Z K 7 svn:log V 85 Share IPI init and startup code of mp_machdep.c with acpi_wakeup.c as ipi_startup(). END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-06-12T01:13:59.528146Z K 7 svn:log V 444 Refactored interrupt routing mechanism. Uses NEWBUS interface pic_if.m similar to powerpc implementation. It's organized in hierarchy where top-level interrupt controller is ARM core itself serving one IRQ. SoC interrupt controllers can bind handlers to this IRQ and provide more multiplexed IRQs to children. Example implementation includes LPC3250 interrupt controller (lpc_intc.c). It's not bug-free, but tested on LPC3250 (arm/lpc) port. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-06-12T03:22:18.888148Z K 7 svn:log V 288 Flesh-out ioc4 a bit more. In particular, add: o uart(4) bus attachment o ata(4) bus attachment This has been fleshed out enough to indicate that we still have a platform problem -- interrupts I suspect. Fixing that should allow me to make forward progress on the busdma code again. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-06-12T03:24:38.068515Z K 7 svn:log V 48 Hook-up the uart(4) and ata(4) bus attachments. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-06-12T04:26:00.230610Z K 7 svn:log V 84 9-current is now 9-stable; 10 is -current. While here, remove some obsolete cruft. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-06-12T04:58:52.904098Z K 7 svn:log V 39 Attempt to add arm. Fix powerpc name. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-06-12T07:28:25.308371Z K 7 svn:log V 528 LibUSB v1.0 API compiliance and bugfixes. - Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC does not wrap into negative in near future. This fixes any potential problems using "pthread_cond_timedwait()". - Fix a bug where the "libusb_wait_for_event()" function computes an absolute timeout instead of a relative timeout. USB transfers do not depend on this timeout value. - Add dependency towards LibPthread to Makefile, because LibUSB v1.0 needs this library to function correctly. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-06-12T07:43:01.443843Z K 7 svn:log V 62 MFC r236700: Fix a logic error when use PCIY_PMG capability END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-06-12T07:53:39.043236Z K 7 svn:log V 65 MFC 236649,236670: Check the return value of pci_find_extcap() END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-12T08:08:33.405619Z K 7 svn:log V 310 MFC r236847: Partially revert r236666: Return PROTO_ATA protocol in response to XPT_PATH_INQ. smartmontools uses it to identify ATA devices and I don't know any other place now where it is important. It could probably use XPT_GDEV_TYPE instead for more accurate protocol information, but let it live for now. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-12T08:10:14.680809Z K 7 svn:log V 310 MFC r236847: Partially revert r236666: Return PROTO_ATA protocol in response to XPT_PATH_INQ. smartmontools uses it to identify ATA devices and I don't know any other place now where it is important. It could probably use XPT_GDEV_TYPE instead for more accurate protocol information, but let it live for now. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-12T09:18:28.132643Z K 7 svn:log V 34 Small cleanup. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-06-12T10:25:11.912051Z K 7 svn:log V 107 Revert part of the r236935 for now, until I figure out why it doesn't work properly. Reported by: davidxu END K 10 svn:author V 3 rrs K 8 svn:date V 27 2012-06-12T10:44:09.454471Z K 7 svn:log V 59 Allow a gif tunnel to be used with ALTq. Reviewed by: gnn END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-06-12T11:08:51.257048Z K 7 svn:log V 288 - Limit r214102 workaround to only x86. On arm it causes more problems then solves because of cache coherency issues. This fixes periodic error messages on console and command timeouts. - Patch SATA PHY configuration for 65nm SoCs to improve SNR same as Linux does. MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-06-12T12:10:10.910095Z K 7 svn:log V 433 Fix a problem where zero-length RDATA fields can cause named(8) to crash. [12:03] Correct a privilege escalation when returning from kernel if running FreeBSD/amd64 on non-AMD processors. [12:04] Fix reference count errors in IPv6 code. [EN-12:02] Security: CVE-2012-1667 Security: FreeBSD-SA-12:03.bind Security: CVE-2012-0217 Security: FreeBSD-SA-12:04.sysret Security: FreeBSD-EN-12:02.ipv6refcount Approved by: so (simon, bz) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2012-06-12T12:40:15.447526Z K 7 svn:log V 32 Opps forgot to commit the flag. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2012-06-12T12:44:17.329693Z K 7 svn:log V 221 Note to self. Have morning coffee *before* committing things. There is no mac_addr in the mbuf for BSD.. cheat like we are supposed to and use the csum field since our friend the gif tunnel itself will never use offload. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-12T13:15:27.292608Z K 7 svn:log V 148 Unify the sending of ABORT, SHUTDOWN-COMPLETE and ERROR chunks. While there: Fix also some minor bugs and prepare for SCTP/DTLS. MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2012-06-12T13:31:32.456540Z K 7 svn:log V 116 Fix comment to better reflect how we are cheating and using the csum_data. Also fix style issues with the comments. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-12T13:57:56.354847Z K 7 svn:log V 186 Deliver IPV6_TCLASS, IPV6_HOPLIMIT and IPV6_PKTINFO cmsgs (if requested) on IPV6 sockets, which have been marked to be not IPV6_V6ONLY, for each received IPV4 packet. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-12T14:02:38.357818Z K 7 svn:log V 253 Add a IP_RECVTOS socket option to receive for received UDP/IPv4 packets a cmsg of type IP_RECVTOS which contains the TOS byte. Much like IP_RECVTTL does for TTL. This allows to implement a protocol on top of UDP and implementing ECN. MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-06-12T14:40:19.967235Z K 7 svn:log V 118 Document the -v flag for zpool list. PR: 168970 Suggested by: Marcelo Araujo MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-06-12T14:56:08.089850Z K 7 svn:log V 91 Add a cmsg of type IP_TOS for UDP/IPv4 sockets to specify the TOS byte. MFC after: 3 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-06-12T15:04:18.834066Z K 7 svn:log V 675 Add experimental support for amdfam10/barcelona from the GCC 4.3 branch. Initial support for the AMD barcelona chipsets has been available in the gcc43 branch under GPLv2 but was not included when the Core 2 support was brought to the system gcc. AMD and some linux distributions (OpenSUSE) did a backport of the amdfam10 support and made them available. Unfortunately this is still experimental and while it can improve performance, enabling the CPUTYPE may break some C++ ports (like clang). Special care was taken to make sure that the patches predate the GPLv3 switch upstream. Tested by: Vladimir Kushnir Reviewed by: mm Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-12T15:32:14.144719Z K 7 svn:log V 18 Remove dead code. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-06-12T16:07:03.445059Z K 7 svn:log V 102 Space mismatch - typo in r236962. Found by: Dima Panov Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-12T17:02:53.027897Z K 7 svn:log V 762 Finally nuke auth.conf, nine years after it was deprecated. The only thing it was still used for was to set the "global default" password hash. Since the stock auth.conf contained nothing but comments, the global default was actually the first algorithm in crypt(3)'s list, which happens to be DES; I take the fact that nobody noticed as proof that it was not used outside of crypt(3). The only other use in our tree was in the Kerberos support code in in tinyware's passwd(1). I removed that code in an earlier commit; it would not have compiled anyway, as it only supported Kerberos IV. The auth_getval() function is now a stub that always returns NULL, which has the same effect as a functional auth_getval() with an empty auth.conf. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-12T17:04:56.322215Z K 7 svn:log V 19 auth.conf is dead. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-06-12T17:14:19.313210Z K 7 svn:log V 196 Stop using auth_getval() now that it always returns NULL. Instead, hardcode the default to what it would be if we didn't hardcode it, i.e. DES if supported and MD5 otherwise. MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-12T18:19:46.017684Z K 7 svn:log V 139 Replace a reference to the non-existent SI_ORDER_LAST in a comment with SI_ORDER_ANY. Submitted by: Brandon Gooch brandongooch yahoo com END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-12T20:01:29.285795Z K 7 svn:log V 40 MFC r235859: Enable drm2 modules build. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-06-12T20:04:23.795577Z K 7 svn:log V 254 MFC r236550, r236551: r236550: On a child exit, call waitpid(2) to clean up the process table. Submitted by: Andrey Zonov r236551: Document -r option in SYNOPSIS and usage statement. Submitted by: Andrey Zonov END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-06-12T20:05:22.175013Z K 7 svn:log V 254 MFC r236550, r236551: r236550: On a child exit, call waitpid(2) to clean up the process table. Submitted by: Andrey Zonov r236551: Document -r option in SYNOPSIS and usage statement. Submitted by: Andrey Zonov END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-12T20:24:57.239638Z K 7 svn:log V 398 Make sure libkiconv.so.4 is installed into /lib, not into /usr/lib, which was inadvertently caused by r236185: if SHLIBDIR is set using the ?= operator, it must be done *before* bsd.own.mk is included, otherwise the default value is still used. Note, bsd.lib.mk will take care of removing the copy in /usr/lib upon installation, so no addition to ObsoleteFiles.inc is needed. X-MFC-With: r236185 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-12T20:54:55.960165Z K 7 svn:log V 46 Release Pedro Giffuni (pfg@) from mentorship. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-06-12T20:55:57.380612Z K 7 svn:log V 31 Add pfg@ as one of my mentees. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-06-12T21:03:24.980911Z K 7 svn:log V 441 MFC r236578: Fix build of aicasm when CC=clang. This was due to a side-effect of the EARLY_BUILD macro: the -Qunused-arguments flag isn't passed anymore when building this particular program. However, with clang 3.1 and -Werror, such unused argument warnings are flagged as errors, causing buildkernel to fail at this stage, due to the -nostdinc flag passed during linking. Since the -nostdinc flag isn't actually needed, just remove it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-06-12T21:37:27.415668Z K 7 svn:log V 645 For incompleted block allocations or frees, the inode block count usage must be recalculated. The blk_check pass of suj checker explicitely marks inodes which owned such blocks as needing block count adjustment. But ino_adjblks() is only called by cg_trunc pass, which is performed before blk_check. As result, the block use count for such inodes is left wrong. This causes full fsck run after journaled run to still find inconsistencies like 'INCORRECT BLOCK COUNT I=14557 (328 should be 0)' in phase 1. Fix this issue by running additional adj_blk pass after blk_check, which updates the field. Reviewed by: jeff, mckusick MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-06-12T23:16:00.736023Z K 7 svn:log V 40 Add a test for the :tl & :tu modifiers. END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-06-13T00:12:47.348831Z K 7 svn:log V 45 Forget to propogate mergeinfo to directories END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:18:47.814732Z K 7 svn:log V 114 MFC r236290: Document daily_status_security_chkportsum_enable PR: docs/167980 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:19:11.606369Z K 7 svn:log V 114 MFC r236290: Document daily_status_security_chkportsum_enable PR: docs/167980 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:29:57.402210Z K 7 svn:log V 187 MFC r236288: Only set _w to 0 when the file stream is not currently reading. Without this fflush may fail to write data in the buffer. PR: kern/137819 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:30:24.364723Z K 7 svn:log V 187 MFC r236288: Only set _w to 0 when the file stream is not currently reading. Without this fflush may fail to write data in the buffer. PR: kern/137819 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:34:42.919996Z K 7 svn:log V 187 MFC r236288: Only set _w to 0 when the file stream is not currently reading. Without this fflush may fail to write data in the buffer. PR: kern/137819 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:40:59.494856Z K 7 svn:log V 135 MFC r236286: Fix likely race condition if wait_child() is interrupted by sigchild() PR: bin/102834 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:41:22.511255Z K 7 svn:log V 135 MFC r236286: Fix likely race condition if wait_child() is interrupted by sigchild() PR: bin/102834 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T03:41:42.083422Z K 7 svn:log V 135 MFC r236286: Fix likely race condition if wait_child() is interrupted by sigchild() PR: bin/102834 Approved by: cperciva (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T04:38:09.702015Z K 7 svn:log V 122 trim trailing spaces that have accumulated over the years (these files served as the basis for too many other platforms). END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T04:40:29.520523Z K 7 svn:log V 27 Strip trailing whitespace. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T04:52:19.775361Z K 7 svn:log V 48 Strip trailing whitespace before other changes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T04:59:00.713933Z K 7 svn:log V 28 Trim trailing whitespace... END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T04:59:55.243372Z K 7 svn:log V 23 Final whitespace trim. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-06-13T05:02:51.682332Z K 7 svn:log V 25 trim trailing whitespace END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-13T05:39:16.859696Z K 7 svn:log V 171 Replace the direct sc_txbuf manipulation with a pair of functions. This is preparation work for having a separate ath_buf queue for management traffic. PR: kern/168170 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-13T05:41:00.415607Z K 7 svn:log V 97 Oops, return the newly allocated buffer to the queue, not the completed buffer. PR: kern/168170 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-06-13T05:47:24.357848Z K 7 svn:log V 31 Remove a duplicate definition. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-06-13T06:19:08.082296Z K 7 svn:log V 1098 When calling trap_exit() in a child process we need to signal the parent(s) that we trap'ed so that the various post-run cleanups and updates can still happen properly. In a related change, in safe_exit() remove a shortcut from r214541 that was safe at the time, but isn't any longer because we now have more stuff happening after a run so we still need to update the parent even if the child fail'ed or trap'ed. When we're run by script(1) the parent process is going to be [sh], not $0, so go back to the less efficient but safer method of safeguarding the parent in kill_bad_children(). For -a remove a -v line that is redundant now with the new in-line term_printf() code. In the new in-line printing code for term_printf() use a simpler pattern to match $1 that also catches the following ... In multiport(), update the total number of ports after the first pass to account for ports given on the command line that turn out to be dependencies of other ports given on the command line, and print a summary with the number of parent ports and dependencies prior to the confirmation prompt. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-06-13T06:38:25.806244Z K 7 svn:log V 77 Add ARM callchain support for hwpmc. Sponsored by: NETASQ MFC after: 3 days END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-06-13T06:42:36.008086Z K 7 svn:log V 60 MFC r236669: Remove spurious ARM symbols from lookup table. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-06-13T06:46:00.050219Z K 7 svn:log V 221 Include a warning when using the example code as it may not work in unusual situations. Also slightly optimize the command. Submitted by: Jeremy Chadwick jdc@koitsu.org Approved by: cperciva (implicit) MFC after: 1 week END