ó*211951 49 578 118 355 158 115 180 180 830 294 172 745 334 515 189 176 157 241 552 307 800 136 179 308 267 223 451 229 231 214 426 363 364 224 252 210 117 144 137 117 187 218 485 310 753 323 223 155 217 97 K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-08-28T21:41:18.535850Z K 7 svn:log V 480 The timer routine in the experimental NFS server did not acquire the correct mutex when checking nfsv4root_lock. Although this could be fixed by adding mutex lock/unlock calls, zack.kirsch at isilon.com suggested a better fix that uses a non-blocking acquisition of a reference count on nfsv4root_lock. This fix allows the weird NFSLOCKSTATE(); NFSUNLOCKSTATE(); synchronization to be deleted. This patch applies this fix. Tested by: zack.kirsch at isilon.com MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-08-28T22:14:24.558620Z K 7 svn:log V 26 Merge from head at 211951 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-08-28T23:50:09.410446Z K 7 svn:log V 257 Add acquisition of a reference count on nfsv4root_lock to the nfsd_recalldelegation() function, since this function is called by nfsd threads when they are handling NFSv2 or NFSv3 RPCs, where no reference count would have been acquired. MFC after: 2 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-08-29T02:42:03.505257Z K 7 svn:log V 63 Align the stack to an 8 byte boundary as required by the AAPCS END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-08-29T02:51:17.912813Z K 7 svn:log V 20 More style(9) fixes END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-29T03:53:17.971168Z K 7 svn:log V 88 MFC r211340: Correct the return code from _dns_gethostby*() to correspond with h_errno. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-08-29T03:55:39.025011Z K 7 svn:log V 88 MFC r211340: Correct the return code from _dns_gethostby*() to correspond with h_errno. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-29T05:39:21.294963Z K 7 svn:log V 732 Apply MIPS pmap clean up patch from alc@ (with minor change to KASSERT): PMAP_DIAGNOSTIC was eliminated from amd64/i386, and, in fact, the non-MIPS parts of the kernel, several years ago. Any of the interesting checks were turned into KASSERT()s. Basically, the motivation was that lots of people run with INVARIANTS but no one runs with DIAGNOSTIC. panic strings needn't and shouldn't have a terminating newline. Finally, there is one functional change. The sched_pin() in pmap_remove_pages() is an artifact of the way we temporarily map page table pages on i386. (The mappings are processor private. We don't do a system-wide shootdown.) It isn't needed by MIPS. Tested by: jchandra Submitted by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-29T08:10:34.547182Z K 7 svn:log V 201 MFC r211335: Add convenience defines for hidden and default/exported attributes. MFC r211741: Use preferred spelling for the __attribute__. MFC r211868: Use private namespace for visibility keyword. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-29T08:15:57.804473Z K 7 svn:log V 76 MFC r211833: Decrease rdlock count only when thread unlocked a reader lock. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-08-29T08:19:07.895497Z K 7 svn:log V 648 Record merge info for r211960. -This line, and those below, will be ignored-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. _M libthr END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-08-29T11:32:41.021660Z K 7 svn:log V 241 gsched(8): fix example usage, mdoc nits - ad0 was referred to as da0 - wrong parameter -s instead of -a in example - use double quotes consistently PR: docs/150082 Submitted by: N.J. Mann MFC after: 2 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-29T11:56:56.274809Z K 7 svn:log V 420 Correct an out-by-one error when earlying out ustar filenames that are too long. Filenames escaping this test are caught later on, so the bug doesn't cause any breakage. Document the correct ustar limitations in pax. As I have no access to the IEEE 1003.2 spec, I can only assume that the limitations imposed are in fact correct. Add regression tests for the filename limitations imposed by pax. MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-29T12:14:53.616286Z K 7 svn:log V 95 Add a Makefile for tools/regression/bin and support 'all' in pax/Makefile. MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-08-29T12:17:16.545718Z K 7 svn:log V 82 Touch the man page date after updating the ustar limitations. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-29T16:38:08.500176Z K 7 svn:log V 65 Use NULL instead of 0 for pointer in example. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-29T18:17:38.094149Z K 7 svn:log V 140 Avoid a race in the allocation of new segment IDs that could result in memory corruption on heavily loaded SMP systems. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-29T18:31:04.667178Z K 7 svn:log V 451 Fix recording of ref/change bits. Before we overwrote the entire lower 12 bits of the PVO PTE with the equivalent ones from the hardware PTE, but these also store the page protection bits. The result was that these would be overwritten with old values when syncing ref/changed during a protection update, making all protection updates fail, breaking copy-on-write as well as many other things. With this change, my Playstation 3 now boots multiuser! END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-08-29T18:50:30.033275Z K 7 svn:log V 211 Fix the the SCTP_WITH_NO_CSUM option when used in combination with interface supporting CRC offload. While at it, make use of the feature that the loopback interface provides CRC offloading. MFC after: 4 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T20:18:06.439670Z K 7 svn:log V 707 Fix 'zfs allow' (maybe not only) returning: cannot access dataset system/usr/home: Operation not supported by including libzfs_impl.h. What libzfs_impl.h does is to redefine ioctl() to be compatible with OpenSolaris. More specifically OpenSolaris returns ENOMEM when buffer is too small and sets field zc_nvlist_dst_size to the size that will be big enough for the data. In FreeBSD case ioctl() doesn't copy data structure back in case of a failure. We work-around it in kernel and libzfs by returning 0 from ioctl() and always checking if zc_nvlist_dst_size hasn't changed. For this work-around to work in pyzfs we need this compatible ioctl() which is implemented in libzfs_impl.h. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T20:21:10.717424Z K 7 svn:log V 44 Print errors on stderr. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T20:25:25.398758Z K 7 svn:log V 87 Give user a hint what to do when /usr/lib/zfs/pyzfs.py is missing. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-29T20:53:24.613054Z K 7 svn:log V 212 sh: Weaken builtins/command4 test to only require a nonzero exit status. This matches what is in POSIX; various other shells use different exit statuses. Note that it is still required that there be no output. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-08-29T21:05:34.947507Z K 7 svn:log V 166 Fix a horrible memory leak in glc(4) where no TX buffers were ever freed. Performance is still bad (max 4.5 MB a second, so 40% wirespeed), but I can live with that. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T21:37:21.942287Z K 7 svn:log V 130 Implement mtx_destroy() and rw_destroy(). MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T21:39:49.623325Z K 7 svn:log V 358 - Add hook_fini() which should be called after fork() from the main hastd process, once it start to use hooks. - Add hook_check_one() in case the caller expects different child processes and once it can recognize it, it will pass pid and status to hook_check_one(). MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T21:41:53.448727Z K 7 svn:log V 136 Allow to run hooks from the main hastd process. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T21:42:45.048680Z K 7 svn:log V 138 - Call hook on role change. - Document new event. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T22:17:53.674470Z K 7 svn:log V 121 Disconnect after logging errors. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-08-29T22:22:15.671707Z K 7 svn:log V 330 Correct value for _POSIX_AIO_LISTIO_MAX in . All the "Minimum Values" (POSIX.1-2008 XBD 13 Headers ) are now correct. These should all be exactly as they are in the specification; the possibly higher values we support are announced differently. PR: standards/104743 Submitted by: gcooper MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-29T22:55:21.647014Z K 7 svn:log V 270 - Move functionality responsible for checking one connection to separate function to make code more readable. - Be sure not to reconnect too often in case of signal delivery, etc. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T00:06:05.384855Z K 7 svn:log V 271 Use sigtimedwait(2) for signals handling in primary process. This fixes various races and eliminates use of pthread* API in signal handler. Pointed out by: kib With help from: jilles MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T00:12:10.966739Z K 7 svn:log V 131 Execute hook when split-brain is detected. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-08-30T00:31:30.829732Z K 7 svn:log V 159 Execute hook when connection between the nodes is established or lost. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 6 andrew K 8 svn:date V 27 2010-08-30T06:50:33.640995Z K 7 svn:log V 114 Start to back port changed from binutils 2.16 for EABI. Mark binaries built with the EABI to be marked correctly. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-08-30T07:04:19.550429Z K 7 svn:log V 23 MFC r209926: fix typo. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-08-30T07:06:27.066763Z K 7 svn:log V 50 MFC r209972: restore missed flag in the synopsis. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-08-30T07:09:40.906060Z K 7 svn:log V 43 MFC r210000: correct path to include file. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-08-30T07:11:13.210710Z K 7 svn:log V 23 MFC r210181: fix typo. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-08-30T07:29:27.582964Z K 7 svn:log V 93 Make flags in usage() and SYNOPSYS more style(9)-ish. Suggested by: brian MFC after: 3 days END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-30T08:23:22.696303Z K 7 svn:log V 120 Remove misleading comment in pte.h. MIPS PTE entries are software managed and does not need atomics. Submitted by: alc END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-08-30T09:29:51.751633Z K 7 svn:log V 390 o Some programs could send broadcast/multicast traffic to ipfw pseudo-interface. This leads to a panic due to uninitialized if_broadcastaddr address. Initialize it and implement ip_output() method to prevent mbuf leak later. ipfw pseudo-interface should never send anything therefore call panic(9) in if_start() method. PR: kern/149807 Submitted by: Dmitrij Tejblum MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-30T10:30:35.018796Z K 7 svn:log V 213 MFC r208752, r209590: Protect periph drivers list and rearrange things to minimize the chance of stepping oneself during probing. Don't blindly decrement a periph probe count. Sponsored by: Sandvine Incorporated END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-30T13:05:21.684414Z K 7 svn:log V 655 Clean up header files in RMI platform code (sys/mips/rmi), and remove unused files. - remove clock.c and clock.h, these are not used after the new timer code was added. - remove duplicated include files, fix header file ordering, remove some unneeded includes. - rename mips/rmi/shared_structs.h which contains the RMI boot loader interface to mips/rmi/rmi_boot_info.h. Remove unused files mips/rmi/shared_structs_func.h and sys/mips/rmi/shared_structs_offsets.h - merge mips/rmi/xlrconfig.h and mips/rmi/rmi_mips_exts.h, and remove duplicated functions. - nlge - minor change to remove unneeded argument. - Add FreeBSD svn keyword for headers END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-08-30T13:08:13.604029Z K 7 svn:log V 229 MFC r182959: Remove warning about static LDT segment allocation. Applications continue using it after ~7 years since warning was introduced, and there is no reason to discourage them. PR: kern/124111 Approved by: kib (mentor) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-08-30T13:26:07.379259Z K 7 svn:log V 125 Move debug.h to the the rge driver directory. rge.c is the only user of debug.h. Remove debug.h references from other files. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-08-30T14:04:29.008549Z K 7 svn:log V 59 Use 'dumping' for discriminating against dump in progress. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-30T14:24:44.624333Z K 7 svn:log V 124 Make the syscalls reserved for AFS usable by OpenAFS port. Submitted by: Benjamin Kaduk MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-08-30T14:26:02.205175Z K 7 svn:log V 6 Regen END