Ħ208544 167 127 140 611 199 173 135 588 175 112 210 672 249 202 155 144 154 302 384 544 153 161 174 161 162 494 195 215 200 189 165 1539 566 114 195 321 289 306 248 409 120 221 308 471 258 153 210 172 155 557 153 137 175 138 130 127 121 122 541 243 1258 161 198 191 388 141 287 308 171 627 218 403 212 289 137 125 278 140 206 194 464 255 117 114 269 124 159 932 184 170 216 120 171 127 172 779 151 139 274 205 277 315 1606 159 416 239 425 328 3622 193 199 216 853 394 284 116 283 384 284 262 440 313 1540 124 119 231 187 244 208 274 228 333 192 386 389 366 564 361 177 252 595 200 114 159 1615 162 375 315 306 596 222 388 179 209 208 274 229 532 604 874 206 209 283 241 578 231 107 466 K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-25T17:43:23.300605Z K 7 svn:log V 31 Document bc/dc and nc updates. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-25T17:48:17.848093Z K 7 svn:log V 44 libarchive now needs libcrypto and liblzma. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-25T20:16:36.813804Z K 7 svn:log V 517 MFC: r208320 Add a new build option, MAN_UTILS. This option lets you control building utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. Note this patch implicitly fixes a documentation bug of src.conf(5), which says WITHOUT_MAN may be used to not build manual pages while it was also disabling some utilities for manual pages. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-25T20:19:31.049345Z K 7 svn:log V 105 MFC: r208322 Add an option file for WITHOUT_MAN_UTILS to regenerate src.conf(5). Approved by: re (kib) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-05-25T20:19:45.168540Z K 7 svn:log V 78 Don't leak CCBs for every ABORT. Submitted by: Ken Merry MFC after: One week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-25T20:21:46.799784Z K 7 svn:log V 42 Regen for r208547. Approved by: re (kib) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-25T20:32:30.975760Z K 7 svn:log V 494 MFC: r208320 Add a new build option, MAN_UTILS. This option lets you control building utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. Note this patch implicitly fixes a documentation bug of src.conf(5), which says WITHOUT_MAN may be used to not build manual pages while it was also disabling some utilities for manual pages. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-25T20:33:49.151786Z K 7 svn:log V 82 MFC: r208322 Add an option file for WITHOUT_MAN_UTILS to regenerate src.conf(5). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-25T20:35:39.226381Z K 7 svn:log V 19 Regen for r208551. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-05-25T20:42:35.809181Z K 7 svn:log V 114 This patch fixes the problem where proxy ARP entries cannot be added over the if_ng interface. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-05-25T21:20:56.053345Z K 7 svn:log V 575 Add uep(4), driver for USB onscreen touch panel from eGalax. The driver is stub. It just creates device entry and feeds reassembled packets from hardware into it. If in future we would port wsmouse(4) from NetBSD, or make sysmouse(4) to support absolute motion events, then the driver can be extended to act as system mouse. Meanwhile, it just presents a /dev/uep0, that can be utilized by X driver, that I am going to commit to ports tree soon. The name for the driver is chosen to be the same as in NetBSD, however, due to different USB stacks this driver isn't a port. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-05-25T21:32:37.870791Z K 7 svn:log V 156 Ignore the 'addr' argument passed to PT_STEP (it is required to be '1' for PT_STEP which means "ignore") and PT_DETACH. PR: kern/146167 MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-05-25T21:39:30.519521Z K 7 svn:log V 109 Only enable CMCI on i386 if 'device apic' is enabled in the kernel since it requires the local APIC to work. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-25T22:19:51.493214Z K 7 svn:log V 59 Grammar nits. Submitted by: b. f. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-05-26T04:14:29.717201Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@208557 END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-05-26T09:23:51.145933Z K 7 svn:log V 62 Use MACHINE_ARCH instead of TARGET_ARCH. Pointed out by: imp END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-05-26T09:34:02.137355Z K 7 svn:log V 209 Import device tree source (DTS) files for PowerPC MPC8555CDS and MPC8572DS development systems. Special thanks to Phil Brownfield for help with BSD-style relicensing of these files. Obtained from: Freescale END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-05-26T09:50:09.860152Z K 7 svn:log V 291 Initial device tree source (DTS) files for Marvell ARM systems: o DB-88F5182 o DB-88F5281 o DB-88F6281 o DB-78100 o SheevaPlug This also includes device tree bindings definitions for some newly introduced nodes (mpp, gpio). Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-26T10:46:03.049338Z K 7 svn:log V 447 Add unix_close_race, a regresion test to catch ENOTCONN being returned improperly from one of two instances of close(2) being called simultaneously on both ends of a connected UNIX domain socket. The test tool is slightly tweaked to improve failure modes, and while often does trigger the problem, doesn't do so consistently due to the nature of the race. PR: kern/144061 Submitted by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-05-26T11:31:57.359857Z K 7 svn:log V 60 Reduce diffs against syscons_isa.c. No functional changes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-26T15:29:53.652737Z K 7 svn:log V 68 Let the first device suspend and the last device resume syscons(4). END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-26T15:36:29.793380Z K 7 svn:log V 82 Remove a check that should be always true. Discussed with: pjd MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-26T15:39:43.365276Z K 7 svn:log V 69 Allow to use syscallname(9) outside subr_trap.c. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-26T16:37:54.678515Z K 7 svn:log V 69 Do not attempt to switch to the same VTs between suspend and resume. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-26T17:05:54.196101Z K 7 svn:log V 398 MFC: r208459, r208511 - Update the sparc64 hardware list regarding machines that will be supported beginning with 8.1-RELEASE as well as correct some existing entries and add previously missed ones. [1] - According to simon@ when referring to a company along a product just to identify the company one shouldn't use the company trademark. [2] Approved by: re (kib), blackend [1], simon [2] END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-26T17:07:39.526603Z K 7 svn:log V 98 Change the FreeBSD version that will be printed for the manual pages. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-26T17:11:01.143443Z K 7 svn:log V 117 Bump version number from 8.0 to 8.1. Belatedly bump stable/7 to stable/8 for SVNBRANCH. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-05-26T17:18:32.895285Z K 7 svn:log V 102 Add packages-8.1-release directory. While here add packages-7.3-release. Approved by: re (implicit) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-26T17:30:14.435574Z K 7 svn:log V 94 MFC: r208468 At least on sparc64 these modules require ata_machdep.c. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-05-26T17:30:19.209952Z K 7 svn:log V 70 MFC: r208468 At least on sparc64 this module requires ata_machdep.c. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-26T18:00:44.503458Z K 7 svn:log V 1445 Push down page queues lock acquisition in pmap_enter_object() and pmap_is_referenced(). Eliminate the corresponding page queues lock acquisitions from vm_map_pmap_enter() and mincore(), respectively. In mincore(), this allows some additional cases to complete without ever acquiring the page queues lock. Assert that the page is managed in pmap_is_referenced(). On powerpc/aim, push down the page queues lock acquisition from moea*_is_modified() and moea*_is_referenced() into moea*_query_bit(). Again, this will allow some additional cases to complete without ever acquiring the page queues lock. Reorder a few statements in vm_page_dontneed() so that a race can't lead to an old reference persisting. This scenario is described in detail by a comment. Correct a spelling error in vm_page_dontneed(). Assert that the object is locked in vm_page_clear_dirty(), and restrict the page queues lock assertion to just those cases in which the page is currently writeable. Add object locking to vnode_pager_generic_putpages(). This was the one and only place where vm_page_clear_dirty() was being called without the object being locked. Eliminate an unnecessary vm_page_lock() around vnode_pager_setsize()'s call to vm_page_clear_dirty(). Change vnode_pager_generic_putpages() to the modern-style of function definition. Also, change the name of one of the parameters to follow virtual memory system naming conventions. Reviewed by: kib END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-26T18:36:23.917724Z K 7 svn:log V 468 Add cursory locking of the if_snd queue to prevent races between the ifq empty check and processing the first packet (or, worse, double-processing.) There needs to be more locking of the upper-level structures in this driver, but this is a good place to start. All of the things below the ifnet have their own locking or don't need it. (Especially where there are already critical sections to prevent migration when accessing per-CPU registers.) Reported by: stas END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-26T18:50:16.031673Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-26T18:55:40.897213Z K 7 svn:log V 99 Reorder to have -lcrypto after -larchive. Our linker doesn't seem to like the current ordering :( END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-05-26T18:56:06.550656Z K 7 svn:log V 225 This is an MFC of 208119, 208129 Hook up some wires that were forgotten a few months ago and restore the zombie device timeout code and the loop down time code and the fabric hysteresis code. Approved by: re (ken smith) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-05-26T19:06:40.844062Z K 7 svn:log V 193 This is an MFC of 208119, 208129 Hook up some wires that were forgotten a few months ago and restore the zombie device timeout code and the loop down time code and the fabric hysteresis code. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-26T19:26:28.205059Z K 7 svn:log V 213 MFC r208488: Fix the double counting of the last process thread td_incruntime on exit, that is done once in thread_exit() and the second time in proc_reap(), by clearing td_incruntime. Approved by: re (kensmith) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-05-26T22:38:45.563219Z K 7 svn:log V 153 - Fix kseg0 address calculation - it doesn't always start at page boundary - Add cache ops to ensure memory validity before/after copy operation END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-05-26T22:49:42.311972Z K 7 svn:log V 313 Add a new primitive, XPT_SCAN_TGT, to cover the range between scanning a whole bus (XPT_SCAN_BUS) and a single lun on that bus (XPT_SCAN_LUN). It's less resource comsumptive than scanning a whole bus when the caller knows only one target has changes. Reviewed by: scsi@ Sponsored by: Panasas MFC after: 1 month END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-27T00:07:50.630052Z K 7 svn:log V 23 Fix build after merge. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-27T00:09:09.209349Z K 7 svn:log V 123 Make a trivial allowance for gaps in the coremask. (We certainly do not handle not running on core 0, at the very least.) END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-05-27T01:27:25.216601Z K 7 svn:log V 214 Simplify clock interrupt handling on mips by using the new KPI - timer1clock() and timer2clock(). Dynamically adjust the tick frequency depending on the value of 'hz'. Tested with hz values of 100, 1000 and 2000. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-05-27T03:15:04.806240Z K 7 svn:log V 373 Change the current working directory to be inside the jail created by the jail(8) command. [10:04] Fix a one-NUL-byte buffer overflow in libopie. [10:05] Correctly sanity-check a buffer length in nfs mount. [10:06] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-10:04.jail Security: FreeBSD-SA-10:05.opie Security: FreeBSD-SA-10:06.nfsclient END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-05-27T08:10:12.386919Z K 7 svn:log V 161 Add the support for reporting the NOCOREDUMP flag from sysctl_kern_proc_vmmap(). Sponsored by: Sandvine Incorporated Reviewed by: kib, emaste MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-05-27T08:21:52.741580Z K 7 svn:log V 58 Install Intel iwn(4) firmware license. MFC after: 3 days END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-05-27T10:05:40.299141Z K 7 svn:log V 112 Call VM_WAIT in pmap_ptpgzone_allocf() if M_WAITOK is set. Removed unused variable. Approved by: rrs (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-05-27T12:11:21.037290Z K 7 svn:log V 77 Make the user ack the license before using this firmware. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-05-27T12:54:42.478654Z K 7 svn:log V 60 Revert r208590. A license ack is not needed as per r186984. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T12:59:49.122267Z K 7 svn:log V 464 mail(1) misses addresses when replying to all There's a parsing error for fields where addresses are not separated by space. This is often produced by MS Outlook, eg.: Cc: ,"Mr Foo" The following line now splits into the right tokens: Cc: f@b.com,z@y.de, ,, "foo" ,"bar" PR: bin/131861 Submitted by: Pete French Tested by: Pete French Reviewed by: mikeh MFC after: 2 weeks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T13:56:19.574815Z K 7 svn:log V 61 mdoc: Remove leading garbage, empty lines and order preamble END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T13:56:27.152198Z K 7 svn:log V 45 mdoc: Garbage collect unused/unneeded macros END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T13:56:33.420339Z K 7 svn:log V 83 mdoc: Use mdoc macro for the (R) symbol While here, also drop the unneeded quotes END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T13:56:40.796208Z K 7 svn:log V 46 mdoc: .Ud has attitude, it takes no argument! END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T13:56:47.250808Z K 7 svn:log V 38 mdoc: remove duplicate width argument END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-27T13:56:53.419843Z K 7 svn:log V 35 mdoc: use mdoc spelling of Umlauts END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-27T15:15:58.957110Z K 7 svn:log V 24 Update LLVM to r104832. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-27T15:17:06.624667Z K 7 svn:log V 25 Update clang to r104832. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-27T15:27:31.273402Z K 7 svn:log V 444 When close() is called on a connected socket pair, SO_ISCONNECTED might be set but be cleared before the call to sodisconnect(). In this case, ENOTCONN is returned: suppress this error rather than returning it to userspace so that close() doesn't report an error improperly. PR: kern/144061 Reported by: Matt Reimer , Nikolay Denev , Mikolaj Golub MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-27T15:28:55.401074Z K 7 svn:log V 146 Correct several nits/problems in the unix_close_race regression test. Submitted by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-05-27T18:07:20.745016Z K 7 svn:log V 1164 More gracefully handle stale file handles and attributes when opening a file via NFS. Specifically, to satisfy close-to-open-consistency, the NFS client always performs at least one RPC on a file during an open(2) to see if the file has changed. Normally this RPC is an ACCESS or GETATTR RPC that is forced by flushing a file's attribute cache during nfs_open() and then requesting new attributes. However, if the file is noticed to be stale during nfs_open(), the only recourse is to fail the open(2) call with ESTALE. On the other hand, if the ACCESS or GETATTR RPC is sent during nfs_lookup(), then the NFS client can fall back to a LOOKUP RPC to obtain the new file handle in the case that a file has been replaced. This change causes the NFS client to flush the attribute cache during nfs_lookup() when validating a name cache hit if the attributes fetched during nfs_lookup() can be reused in nfs_open(). This allows the client to open a replaced file via the new file handle the first time that it notices a replaced file rather than failing with ESTALE in some cases. Reviewed by: rmacklem, bde Reviewed by: mohans (older version) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-05-27T18:33:00.736600Z K 7 svn:log V 69 Clarify a potential issue in get_fpcontext() use. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-05-27T22:59:37.541963Z K 7 svn:log V 101 Fix build: newnp represents newvp so KDTRACE_NFS_ATTRCACHE_FLUSH_DONE() on newvp instead of vp here. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-05-28T01:06:40.397309Z K 7 svn:log V 94 Fix .Dd line: FreeBSD's mdoc code doesn't understand OpenBSD's $Mdocdate$. MFC after: 3 days END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-05-28T02:00:15.269069Z K 7 svn:log V 294 If 'timer2hz' is zero then we don't need to call 'timer2clock()' directly. It will be called automatically by 'timer1clock()'. Do profiling as often as possible by running it as the same frequency as 'timer1hz'. The statistics clock is run as close to 128Hz as possible. Pointed out by: mav@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-05-28T05:34:43.927017Z K 7 svn:log V 48 Get rid of unused variable 'virtual_sys_start'. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-28T06:49:57.041132Z K 7 svn:log V 194 Defer freeing any page table pages in pmap_remove_all() until after the page queues lock is released. This may reduce the amount of time that the page queues lock is held by pmap_remove_all(). END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-05-28T07:34:20.349168Z K 7 svn:log V 215 boot/zfs: fix gang block reading code - use correct size (512) while reading a gang block - skip holes while reading child blocks - advance buffer pointer while reading child blocks PR: 144214 MFC after: 10 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-05-28T09:26:53.843834Z K 7 svn:log V 80 Fix misspelling of "substitution". PR: bin/130874 Submitted by: Yoshihiro Ota END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-05-28T09:30:13.467010Z K 7 svn:log V 535 Fixes from NetBSD for nvi visual mode: - Fix handling of ^@ when reading an ex command. Don't try to replay the previous input. - Fix handling of ^C in insert mode and when reading an ex command. Repeating an interrupted input could cause a crash and interrupting ex command input could cause a file corruption. - Fix a bug which causes crashes in file name completion when a file name is longer than the screen width. - When an error occurs in v_txt(), leave the input mode. PR: bin/21089, bin/136393 Obtained from: NetBSD END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-05-28T10:35:44.488209Z K 7 svn:log V 125 Introduce kernel build options for the Flattened Device Tree support. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-05-28T10:43:56.181438Z K 7 svn:log V 310 Prepare and extend OFW layer for FDT support. o Let OFW_INIT() and OF_init() return status value. o Provide helper routines for 'compatible' property handling. o Only compile OF and OFW code, which is relevant in FDT scenario. o Other minor cosmetics Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-05-28T10:51:44.931172Z K 7 svn:log V 119 Initial implementation of the OFW i/f methods for FDT back-end. Reviewed by: imp Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-05-28T12:05:56.458339Z K 7 svn:log V 191 Fix lock order reversal, unlock page queue and pmap locks before calling uma_zfree(). Also if needed, acquire page queue lock before modifying pte page attributes. Approved by: rrs (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-28T15:37:00.005303Z K 7 svn:log V 40 Merge LLVM/clang from vendor (r104832). END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-28T15:40:19.041425Z K 7 svn:log V 28 delete stale clang.build.mk END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-28T15:42:39.603991Z K 7 svn:log V 180 Update the build infrastructure for the new llvm/clang. This reintroduces REQUIRES_RTTI and introduces REQUIRES_EH. Thus most of the libs build with -fno-rtti and -fno-exceptions. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-28T15:45:17.210152Z K 7 svn:log V 43 Add a comment clarifing progress on boot2. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-05-28T17:50:24.144224Z K 7 svn:log V 113 Defer initializing machine checks for the boot CPU until the local APIC is fully configured. MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-05-28T17:50:35.938039Z K 7 svn:log V 99 The EFI system partition used to make the CD image bootable is running out of space. Bump it up... END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-05-28T18:15:28.032990Z K 7 svn:log V 371 Revert r207439 and solve the problem differently. The task handler ta_func may free the task structure, so no references to its members are valid after the handler has been called. Using a per-queue member and having waits longer than strictly necessary was suggested by jhb. Submitted by: Matthew Fleming Reviewed by: zml, jhb END K 10 svn:author V 3 zml K 8 svn:date V 27 2010-05-28T18:15:34.378194Z K 7 svn:log V 162 Avoid a wakeup(9) if we can be sure no one is waiting on the task. Submitted by: Matthew Fleming Reviewed by: zml, jhb END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-28T18:46:48.712352Z K 7 svn:log V 24 Import ACPICA 20100528. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-28T18:47:56.981341Z K 7 svn:log V 21 Tag ACPICA 20100528. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-28T20:10:10.178229Z K 7 svn:log V 171 o) Reset svn:mergeinfo. Somehow I got mergeinfo from head that was leading to endless tree conflicts on directories that I had nothing to do with. o) Merge from head. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-28T20:39:30.195706Z K 7 svn:log V 27 Update for merged changes. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-28T22:08:34.902802Z K 7 svn:log V 64 sh: Add some simple tests for ., exec and return from . script. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-28T22:40:24.781829Z K 7 svn:log V 836 sh: Recognize "--" in . and exec. Although "--" historically has not been required to be recognized for certain special builtins that do not take options in POSIX, some other implementations recognize options for them, requiring scripts to use "--" or avoid operands starting with "-". Operands starting with "-" can be avoided with eval by prepending a space, and cannot occur with break, continue, exit, return and shift as they only take numbers, nor with times as it does not take operands. With . and exec, avoiding "-" is not so easy as it may require reimplementing the PATH search; therefore the current proposal for POSIX is to require recognition of "--" for them. We continue to accept other strings starting with "-" as operands to . and exec, and also "--" if it is alone to . (which would otherwise be invalid anyway). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-05-29T02:14:05.087639Z K 7 svn:log V 84 Fix an endianness bug on 64-bit big-endian platforms. Submitted by: Andreas Tobler END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-05-29T03:06:56.574648Z K 7 svn:log V 77 MFi386: revision 208604 Clarify a potential issue in get_fpcontext() use. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-05-29T03:09:29.818570Z K 7 svn:log V 122 MFi386: revision 208621 Defer initializing machine checks for the boot CPU until the local APIC is fully configured. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-05-29T03:40:00.025767Z K 7 svn:log V 27 Reduce diffs against i386. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-29T06:56:04.899175Z K 7 svn:log V 74 Relock the transmit lock before trying to get another packet to transmit. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-29T09:07:01.970968Z K 7 svn:log V 30 Add another EDOOFUS provider. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-29T09:07:25.913114Z K 7 svn:log V 75 Now that I'm working on PCI support, I'm keen to have 8250 support around. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-05-29T09:07:40.925821Z K 7 svn:log V 685 MFi386: revision 178471 - Add an integer argument to idle to indicate how likely we are to wake from idle over the next tick. - Add a new MD routine, cpu_wake_idle() to wakeup idle threads who are suspended in cpu specific states. This function can fail and cause the scheduler to fall back to another mechanism (ipi). - Implement support for mwait in cpu_idle() on i386/amd64 machines that support it. mwait is a higher performance way to synchronize cpus as compared to hlt & ipis. - Allow selecting the idle routine by name via sysctl machdep.idle. This replaces machdep.cpu_idle_hlt. Only idle routines supported by the current machine are permitted. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-05-29T09:12:02.576765Z K 7 svn:log V 58 MFi386: the part of revision 181809 Use SEL_KPL macro. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-29T09:15:40.068074Z K 7 svn:log V 42 Chase clock and mbox interrupt unmasking. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-05-29T13:05:41.419678Z K 7 svn:log V 176 Fix the mergemaster problem properly by changing the condition so it never evaluates to false thus the target does not fail. Submitted by: Dimitry Andric END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-05-29T16:10:07.936903Z K 7 svn:log V 109 Don't shadow the global variable 'version'. Submitted by: Arnaud Lacombe MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-05-29T16:11:51.485397Z K 7 svn:log V 181 Due to the way HALDEBUG() is defined, we need to add curly brackets when using it as a sole if clause instruction. Submitted by: Arnaud Lacombe MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-05-29T16:14:02.665939Z K 7 svn:log V 219 Due to the way HALDEBUG() is defined, we need to add curly brackets when using it as a sole if clause instruction. While there, fix 'const static' typo. Submitted by: Arnaud Lacombe MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-29T17:10:45.744827Z K 7 svn:log V 1512 When I pushed down the page queues lock into pmap_is_modified(), I created an ordering dependence: A pmap operation that clears PG_WRITEABLE and calls vm_page_dirty() must perform the call first. Otherwise, pmap_is_modified() could return FALSE without acquiring the page queues lock because the page is not (currently) writeable, and the caller to pmap_is_modified() might believe that the page's dirty field is clear because it has not seen the effect of the vm_page_dirty() call. When I pushed down the page queues lock into pmap_is_modified(), I overlooked one place where this ordering dependence is violated: pmap_enter(). In a rare situation pmap_enter() can be called to replace a dirty mapping to one page with a mapping to another page. (I say rare because replacements generally occur as a result of a copy-on-write fault, and so the old page is not dirty.) This change delays clearing PG_WRITEABLE until after vm_page_dirty() has been called. Fixing the ordering dependency also makes it easy to introduce a small optimization: When pmap_enter() used to replace a mapping to one page with a mapping to another page, it freed the pv entry for the first mapping and later called the pv entry allocator for the new mapping. Now, pmap_enter() attempts to recycle the old pv entry, saving two calls to the pv entry allocator. There is no point in setting PG_WRITEABLE on unmanaged pages, so don't. Update a comment to reflect this. Tidy up the variable declarations at the start of pmap_enter(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-29T18:26:44.305080Z K 7 svn:log V 67 Don't set PG_WRITEABLE in pmap_enter() unless the page is managed. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-29T20:24:01.576099Z K 7 svn:log V 320 Clarify devfs manpages slightly. mount(8): add xref to devfs(5) devfs(5): change example to something more likely to be useful (it is not necessary to mount a devfs on /dev manually, but for chroots/jails it is often needed), mention since when devfs is preferred to device nodes on ufs PR: 146600 MFC after: 2 weeks END K 10 svn:author V 6 gordon K 8 svn:date V 27 2010-05-29T22:52:17.902064Z K 7 svn:log V 143 Convert newsyslog to using queue(3) macros instead of a home rolled version. Reviewed by: gad@ Approved by: wes@ (mentor) MFC after: 2 months END K 10 svn:author V 6 gordon K 8 svn:date V 27 2010-05-29T22:55:59.003820Z K 7 svn:log V 329 Add file include processing for newsyslog. Format for the include line in /etc/newsyslog.conf is: /etc/defaults/newsyslog.conf Other notes of interest: Globbing is supported in statements. Properly detect circular include loop dependencies. Reviewed by: gad@ Approved by: wes@ (mentor) MFC after: 2 months END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-05-30T03:45:41.112950Z K 7 svn:log V 234 Fix a regression from r200554, which broke fdc(4) attachment to acpi(4). I removed too many lines and a wrong pointer was accidentally passed down. Tested by: Scott Allendorf (scott-allendorf at uiowa dot edu), kib MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-05-30T04:44:32.560053Z K 7 svn:log V 3528 Merge various changes from i386/i386/pmap.c: The remaining, unmerged portions of r175404 Retire PMAP_DIAGNOSTIC. Any useful diagnostics that were conditionally compiled under PMAP_DIAGNOSTIC are now KASSERT()s. (Note: The kernel option DIAGNOSTIC still disables inlining of certain pmap functions.) Eliminate dead code from pmap_enter(). This code implemented an assertion. On i386, an equivalent check is already implemented. However, on amd64, a small change is required to implement an equivalent check. Eliminate \n from a nearby panic string. Use KASSERT() to reimplement pmap_copy()'s two assertions. Merge portions of r177659 To date, we have assumed that the TLB will only set the PG_M bit in a PTE if that PTE has the PG_RW bit set. However, this assumption does not hold on recent processors from Intel. For example, consider a PTE that has the PG_RW bit set but the PG_M bit clear. Suppose this PTE is cached in the TLB and later the PG_RW bit is cleared in the PTE, but the corresponding TLB entry is not (yet) invalidated. Historically, upon a write access using this (stale) TLB entry, the TLB would observe that the PG_RW bit had been cleared and initiate a page fault, aborting the setting of the PG_M bit in the PTE. Now, however, P4- and Core2-family processors will set the PG_M bit before observing that the PG_RW bit is clear and initiating a page fault. In other words, the write does not occur but the PG_M bit is still set. The real impact of this difference is not that great. Specifically, we should no longer assert that any PTE with the PG_M bit set must also have the PG_RW bit set, and we should ignore the state of the PG_M bit unless the PG_RW bit is set. r208609 Defer freeing any page table pages in pmap_remove_all() until after the page queues lock is released. This may reduce the amount of time that the page queues lock is held by pmap_remove_all(). r208645 When I pushed down the page queues lock into pmap_is_modified(), I created an ordering dependence: A pmap operation that clears PG_WRITEABLE and calls vm_page_dirty() must perform the call first. Otherwise, pmap_is_modified() could return FALSE without acquiring the page queues lock because the page is not (currently) writeable, and the caller to pmap_is_modified() might believe that the page's dirty field is clear because it has not seen the effect of the vm_page_dirty() call. When I pushed down the page queues lock into pmap_is_modified(), I overlooked one place where this ordering dependence is violated: pmap_enter(). In a rare situation pmap_enter() can be called to replace a dirty mapping to one page with a mapping to another page. (I say rare because replacements generally occur as a result of a copy-on-write fault, and so the old page is not dirty.) This change delays clearing PG_WRITEABLE until after vm_page_dirty() has been called. Fixing the ordering dependency also makes it easy to introduce a small optimization: When pmap_enter() used to replace a mapping to one page with a mapping to another page, it freed the pv entry for the first mapping and later called the pv entry allocator for the new mapping. Now, pmap_enter() attempts to recycle the old pv entry, saving two calls to the pv entry allocator. There is no point in setting PG_WRITEABLE on unmanaged pages, so don't. Update a comment to reflect this. Tidy up the variable declarations at the start of pmap_enter(). END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-05-30T08:38:41.789957Z K 7 svn:log V 100 MFC r208493: These features will first appear in 8.1, soon to be released Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-05-30T11:28:01.355615Z K 7 svn:log V 107 MFC r199818: New style of jail(8) usage requires "-c" argument to create a jail. Approved by: re (hrs) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-30T13:32:39.391000Z K 7 svn:log V 120 devfs(5): Also mention when device nodes on ufs stopped working (6.0), as requested by some people. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-05-30T14:11:27.273938Z K 7 svn:log V 757 sh: Change interaction of command substitution and here documents. If a command substitution contains a newline token, this no longer starts here documents of outer commands. This way, we follow POSIX's idea of the command substitution being a separate script more closely. It also matches other shells better and is consistent with newline characters in quotes not starting here documents. The extension tested in parser/heredoc3.0 ($(cat <= 1 and gp->provider list is empty for some reason Found by: clang static analyzer MFC after: 4 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-05-31T20:17:37.486534Z K 7 svn:log V 135 MFC r201374: g_part_gpt: Properly return the UUID represented by the alias PR: kern/142174 Approved by: re (kib) Approved by: marcel END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-31T21:14:56.739907Z K 7 svn:log V 236 Merge r200899 from head to stable/8: When warning about possible netisr configuration problems during boot, report using "netisr_init" rather than "netisr2", which was the development name for the project. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-31T21:35:40.271617Z K 7 svn:log V 96 Merge r200976 from head to stable/8: Minor comment tweaks in rmlocks. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-31T21:57:31.095365Z K 7 svn:log V 289 Merge r203410 from head to stable/8: Only audit pathnames in namei(9) if copying the directory string completes successfully. Continue to do this before the empty path check so that the ENOENT returned in that case gets an empty string token in the BSM record. Approved by: re (kib) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-31T22:03:56.728180Z K 7 svn:log V 292 MFC r208512: sge_encap() can sometimes return an error with m_head set to NULL. Make sure not to requeue freed mbuf in sge_start_locked(). This should fix NULL pointer dereference panic. Reported by: Nikolay Denev gmail dot com> Submitted by: jhb Approved by: re (bz) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-05-31T22:07:18.935552Z K 7 svn:log V 269 MFC r208512: sge_encap() can sometimes return an error with m_head set to NULL. Make sure not to requeue freed mbuf in sge_start_locked(). This should fix NULL pointer dereference panic. Reported by: Nikolay Denev gmail dot com> Submitted by: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-31T22:18:42.461166Z K 7 svn:log V 467 Merge r204173 from head to stable/8: ifconfig(8) expects interface fooX to be supported by the module if_foo, and will try to load it if it's not present. To better meet these expectations, change the module name for the loopback interface from 'loop' to 'if_lo'. The loopback interface is always compiled into the base kernel, so there are no resulting changes in kld files, etc. Discussed with: brooks (ages ago) Approved by: re (bz, kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-31T22:27:08.532703Z K 7 svn:log V 264 Merge r204581 from head to stable/8: Update device-labeling logic for Biba, LOMAC, and MLS to recognize new-style pts devices when various policy ptys_equal flags are enabled. Submitted by: Estella Mystagic Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-05-31T22:29:48.760150Z K 7 svn:log V 81 Merge r204498 from head to stable/8: Whitespace tweak. Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-05-31T23:11:43.638405Z K 7 svn:log V 159 Fix panic when reading label from provider with non power of 2 sector size. Reported by: James R. Van Artsdalen MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-05-31T23:17:45.315690Z K 7 svn:log V 502 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 after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-05-31T23:29:56.108612Z K 7 svn:log V 107 Allow to use 'jailed' property again. Reported by: Eugene Mitrofanov MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-05-31T23:58:36.874084Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-01T04:38:05.012322Z K 7 svn:log V 67 Fix a KASSERT() that was broken in r208665. Reported by: jmallett END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-01T05:18:48.415451Z K 7 svn:log V 1521 Merge portions of r208645 and supporting code from the i386 pmap: When I pushed down the page queues lock into pmap_is_modified(), I created an ordering dependence: A pmap operation that clears PG_WRITEABLE and calls vm_page_dirty() must perform the call first. Otherwise, pmap_is_modified() could return FALSE without acquiring the page queues lock because the page is not (currently) writeable, and the caller to pmap_is_modified() might believe that the page's dirty field is clear because it has not seen the effect of the vm_page_dirty() call. When I pushed down the page queues lock into pmap_is_modified(), I overlooked one place where this ordering dependence is violated: pmap_enter(). In a rare situation pmap_enter() can be called to replace a dirty mapping to one page with a mapping to another page. (I say rare because replacements generally occur as a result of a copy-on-write fault, and so the old page is not dirty.) This change delays clearing PG_WRITEABLE until after vm_page_dirty() has been called. Fixing the ordering dependency also makes it easy to introduce a small optimization: When pmap_enter() used to replace a mapping to one page with a mapping to another page, it freed the pv entry for the first mapping and later called the pv entry allocator for the new mapping. Now, pmap_enter() attempts to recycle the old pv entry, saving two calls to the pv entry allocator. There is no point in setting PG_WRITEABLE on unmanaged pages, so don't. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-06-01T05:32:59.967144Z K 7 svn:log V 70 In pmap_enter_locked(), don't require the vector page to be VPO_BUSY. END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-06-01T08:43:46.416864Z K 7 svn:log V 283 Fix ZIL close when doing zfs rollback or zfs receive on a mounted dataset. The fix is a partial import and merge of OpenSolaris onnv revisions 8227:f7d7be9b1f56. and 9292:e112194b5b73 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6798298) MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-06-01T09:32:22.065686Z K 7 svn:log V 218 MFC r208300: Fix a race between ngs_rcvmsg() and soclose() which closes the control socket while it is still in use as ngs_rcvmsg() runs without any lock held. Sponsored by: Sandvine Incorporated Approved by: re (bz) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T13:57:58.280392Z K 7 svn:log V 209 Merge r206206 from head to stable/8: Correct definition of CIOC_KERNEL_VERSION Coda ioctl() for systems where sizeof(int) != sizeof(sizeof(int)), or the ioctl will return EINVAL. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T13:59:48.089530Z K 7 svn:log V 499 Merge r208601 from head to stable/8: When close() is called on a connected socket pair, SO_ISCONNECTED might be set but be cleared before the call to sodisconnect(). In this case, ENOTCONN is returned: suppress this error rather than returning it to userspace so that close() doesn't report an error improperly. PR: kern/144061 Reported by: Matt Reimer , Nikolay Denev , Mikolaj Golub Approved by: re (kib) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T14:04:00.699109Z K 7 svn:log V 126 Properly initialize stack variable sr in setmlme_assoc_adhoc(). Found with: Coverity Prevent(tm) CID 4365 MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:04:33.107000Z K 7 svn:log V 291 Merge r204430 from head to stable/8: Remove stale comment about socket buffer accounting from access(2) code. It is the case, however, that the uidinfo of the temporary credential set up for access(2) is not properly updated when its effective uid is changed. Approved by: re (bz) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:09:35.885351Z K 7 svn:log V 83 Merge r204435 from head to stable/8: Fix typo in comment. Approved by: re (bz) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T14:13:59.968815Z K 7 svn:log V 113 Don't reference null pointer in hwmp_recv_preq(). Found with: Coverity Prevent(tm) CID: 3912 MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T14:17:08.098472Z K 7 svn:log V 112 Compare the address of the array, not the array. Found with: Coverity Prevent(tm) CID: 3690 MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:18:44.904546Z K 7 svn:log V 177 Merge r204806 from head to stable/8: Wrap use of rw_try_upgrade() on pcbinfo with macro INP_INFO_TRY_UPGRADE() to match other pcbinfo locking macros. Approved by: re (bz) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T14:20:58.849551Z K 7 svn:log V 133 Fix resource leaks in ieee80211_ioctl_setchanlist() in case of error. Found with: Coverity Prevent(tm) CID: 4115 MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:21:24.183838Z K 7 svn:log V 435 Merge r204809 from head to stable/8: Add a comment to tcp_usr_accept() to indicate why it is we acquire the tcbinfo lock there: r175612, which re-added it, masked a race between sonewconn(2) and accept(2) that could allow an incompletely initialized address on a newly-created socket on a listen queue to be exposed. Full details can be found in that commit message. Sponsored by: Juniper Networks Approved by: re (bz) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:26:27.326662Z K 7 svn:log V 507 Merge r206972 from head to stable/8: Merge @176820, @176822, @177156 to tcpp from P4 to HEAD: Improve accuracy of connection data transfer math. Disable Nagle's algorithm to avoid delaying transfers of data -- will want to refine this to combine payload with header transfer, however. Now that we're running w/o Nagle, try to send the initial data burst with the header in a single TCP segment. Prefer %zu to %ju for size_t. Sponsored by: Juniper, Inc. Approved by: re (bz) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:29:26.848762Z K 7 svn:log V 777 Merge r206210 from head to stable/7: Synchronize Coda kernel module definitions in our coda.h to Coda 6's coda.h: - CodaFid typdef -> struct CodaFid throughout. - Use unsigned int instead of unsigned long for venus_dirent and other cosmetic fixes. - Introduce cuid_t and cgid_t and use instead of uid_t and gid_t in RPCs. - Synchronize comments and macros. - Use u_int32_t instead of unsigned long for coda_out_hdr. With these changes, a 64-bit Coda kernel module now works with coda6_client, whereas previous userspace and kernel versions of RPCs differed sufficiently to prevent using the file system. This has been verified only with casual testing, but /coda is now usable for at least basic operations on amd64. Approved by: re (kensmith) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-06-01T14:37:11.427479Z K 7 svn:log V 110 Fix an off by one in ar9285SetPowerCalTable(). Found with: Coverity Prevent(tm) CID: 3979 MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:42:15.514374Z K 7 svn:log V 112 Merge c174148 from the p4 TrustedBSD Capabilities branch to capabilities8: Clarify a regression test output. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:47:46.365114Z K 7 svn:log V 186 Merge 177159 from the p4 TrustedBSD Capabilities branch to capabilities8: More locks (for synchronizing FD lists like library directories and preload libraries. Submitted by: jona END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:50:00.701601Z K 7 svn:log V 144 Merge 177190 from the p4 TrustedBSD Capabilities branch to capabilities8: Remove unneeded count==0 check in libcapsicum. Submitted by: jona END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T14:54:50.140144Z K 7 svn:log V 481 Merge c177160, c177161, c177162, and c177354 from the p4 TrustedBSD Capabilities branch to capabilities8: Various rtld capability changes: Created FDArray structure and methods Implement and use FDArray, plus remove some #ifdef IN_RTLD_CAP lines Allow libraries to be named by file descriptor number when in capability mode. Also, moved the initialization of the library_dirs FDArray. Allow objects to be loaded by FD number instead of name. Submitted by: jona END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T15:01:02.006515Z K 7 svn:log V 134 Merge r178261 from the p4 TrustedBSD capabilities branch to capabilities8: Allow fstatat() in capability mode. Submitted by: jona END K 10 svn:author V 3 des K 8 svn:date V 27 2010-06-01T15:11:29.797625Z K 7 svn:log V 15 Missing commas END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-06-01T15:24:19.560530Z K 7 svn:log V 369 Merge c177191, c177355, c177356, 178149 from the p4 TrustedBSD Capabilities branch to capabilities8: Various libcapsicum improvements: Talk about 'executable' rather than 'binary' in the FD list. Added lc_fdlist_print(). Create LD_PRELOAD for sanbdox. Added lc_fdlist_find(), changed whitespace in lc_fdlist_lookup() for clarity. Submitted by: jona END