ĥ196824 176 226 343 305 153 245 109 474 342 128 167 127 290 152 281 1796 150 238 148 319 545 260 178 151 118 142 133 189 124 130 240 213 617 294 165 263 162 162 229 332 190 1130 683 375 407 692 1136 651 238 244 148 116 188 253 196 116 162 155 109 117 163 275 151 445 357 399 241 228 257 384 327 461 215 178 209 201 119 151 130 172 204 277 120 157 183 183 117 121 263 313 235 244 334 339 415 441 313 326 701 187 500 928 217 607 393 229 172 282 211 511 188 180 153 149 164 187 208 195 126 856 196 290 220 261 170 162 145 307 349 258 526 312 539 204 497 302 189 141 336 525 157 407 513 240 370 217 115 215 157 244 275 361 415 114 747 152 238 282 251 307 156 347 355 118 130 117 388 383 131 369 246 246 417 343 352 281 113 K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-04T09:40:59.630906Z K 7 svn:log V 133 Make serial numbers of daX disks visible by GEOM. No objections from: scottl Obtained from: Wheel Sp. z o.o. (http://www.wheel.pl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-04T09:48:18.699102Z K 7 svn:log V 250 If crypto operation is finished with EAGAIN, don't repeat operation from the return context, but from the original context. Before repeating operation clear DONE flag and error. Reviewed by: sam Obtained from: Wheel Sp. z o.o. (http://www.wheel.pl) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-04T09:57:03.192102Z K 7 svn:log V 210 Make umass(4) pass device USB serial number to CAM, making it possible to e.g. retrieve it using camcontrol(8). Reviewed by: scottl, hps (earlier version) Obtained from: Wheel Sp. z o.o. (http://www.wheel.pl) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-04T10:22:29.079592Z K 7 svn:log V 59 Add NFSv4 ACL support to getfacl(1). Reviewed by: rwatson END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-09-04T11:32:05.415496Z K 7 svn:log V 151 - MFC r196568: - Add quirk for Sony DSC digital cameras. This umass devices fail to attach without these quirks applied. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-04T14:53:12.075648Z K 7 svn:log V 17 Add missing ';'. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-09-04T16:41:17.829093Z K 7 svn:log V 377 MFC r196721: Make sure rx descriptor ring align on 16 bytes. I guess the alignment requirement could be multiple of 4 bytes but I think using descriptor size would make intention clearer. Previously the size of rx descriptor was not power of 2 so it caused panic in bus_dmamem_alloc(9). Reported by: Jeff Blank (jb000003 <> mr-happy dot com) Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-04T18:21:40.955061Z K 7 svn:log V 249 Add to `camcontrol cmd` support for sending arbitrary ATA commands. It could be used for broad range of tasks, such as configuring drive power management modes, caching, security and any other features and tasks, not supported by existing drivers. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-04T18:40:03.823359Z K 7 svn:log V 34 resolve naming conflict with zlib END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-04T18:52:26.907364Z K 7 svn:log V 73 remove stale references to RTF_CLONING and RTF_LLINFO MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-04T18:57:40.200615Z K 7 svn:log V 33 update to reflect deflate rename END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-09-04T19:00:48.658683Z K 7 svn:log V 195 Allow a jail's name to be the same as its jid (which is the default if no name is specified), but still disallow other numeric names. Reviewed by: zec Approved by: bz (mentor) MFC after: 3 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-09-04T19:02:11.235218Z K 7 svn:log V 58 - Clean out some XXXMIPS comments that's not relevant now END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-04T19:20:46.741985Z K 7 svn:log V 188 Remove artificial MAX_IO_SIZE constant, equal to DFLTPHYS * 2. Use MAXPHYS instead. It is NULL change for GENERIC kernel, but allows 'fast' mode to work on systems with increased MAXPHYS. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-09-04T19:59:32.510070Z K 7 svn:log V 1702 MFC 193396, 193521, 194331, 194337, 194376, 194454, 194562, 194642, 195033, 195385, 195649, 195660, 195749, and 195774: Add support to the virtual memory system for configuring machine- dependent memory attributes: - Refactor contigmalloc() into two functions: a simple front-end that deals with the malloc tag and calls a new back-end, kmem_alloc_contig(), that allocates the pages and maps them. - Use kmem_alloc_contig() to implement the UMA back-end allocator for jumbo frame zones. - Use kmem_alloc_contig() to allocate the top-level page tables for PAE. - Introduce vm_memattr_t to as a type to hold memory attributes. - Introduce vm_object_set_memattr() for setting the default memory attributes that will be given to an object's pages. - Introduce and use pmap_page_{get,set}_memattr() for getting and setting a page's machine-dependent memory attributes. Add full support for these functions on amd64 and i386 and stubs for them on the other architectures. The function pmap_page_set_memattr() is also responsible for any other machine-dependent aspects of changing a page's memory attributes, such as flushing the cache or updating the direct map. The uses include kmem_alloc_contig(), vm_page_alloc(), and the device pager: kmem_alloc_contig() can now be used to allocate kernel memory with non-default memory attributes on amd64 and i386. vm_page_alloc() and the device pager will set the memory attributes for the real or fictitious page according to the object's default memory attributes. - Update the various pmap functions on amd64 and i386 that map pages to incorporate each page's memory attributes in the mapping. Reviewed by: alc END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-04T20:01:16.899086Z K 7 svn:log V 56 Add NFSv4 ACL support to find(1). Reviewed by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-09-04T21:00:45.112302Z K 7 svn:log V 145 Fill the reverse RSS map with 0xff's so that the subsequent loop to calculate the values will work properly. Reviewed by: np MFC after: 1 month END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-04T21:49:37.491270Z K 7 svn:log V 54 Add NFSv4 ACL support to mv(1). Reviewed by: rwatson END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-09-04T22:34:57.652887Z K 7 svn:log V 226 must also plumb static wep keys to the local sta db in sta mode; not sure when this became necessary and might be caused by some missing code to do auto-configuration of DWDS usage Noticed by: Felix Feng END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-09-04T22:37:03.332507Z K 7 svn:log V 452 This patch seperates the control of header split from LRO (which it was previously dependent on), LRO gets turned off when bridging but its been found that header split is still a performance win in that case. Secondly, there was some interface specific control in stats code that has been missing, and a logic error that resulted in bogus reporting. Thanks to Manish and John of LineRateSystems for the report and help in this code. Approved by: re END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-09-04T22:45:07.535313Z K 7 svn:log V 167 If an interface is brought up with no cable it will experience watchdog resets, this is due to a missing check for link in the new multiqueue start code. MFC: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-04T22:49:38.346930Z K 7 svn:log V 84 - Give sr_Cyrl_YU the right name (sr_Cyrl_RS) - Update Makefile for the new format. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-04T23:11:59.568198Z K 7 svn:log V 57 Initial move to unicode encoded characters for monetdef. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-04T23:14:18.746451Z K 7 svn:log V 24 Remove temporary lines. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-09-05T00:50:08.375356Z K 7 svn:log V 45 Ready for BETA4. Approved by: re (implicit) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-05T01:55:46.782480Z K 7 svn:log V 39 Update Makefile with the new features. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-09-05T05:12:32.201747Z K 7 svn:log V 98 Need to use the JBUILD environment variable in preference to expecting to use jbuild in the PATH. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-09-05T05:13:41.443033Z K 7 svn:log V 33 Update the jbuild version number END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-09-05T05:28:07.414949Z K 7 svn:log V 38 MFC r195089 Add stub vm.h for pc98. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-09-05T05:57:44.107608Z K 7 svn:log V 147 MFC r194295 Move (read|write)_cyrix_reg() inlines from specialreg.h to cpufunc.h. specialreg.h now consists solely of register-related macros. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-05T06:24:28.915005Z K 7 svn:log V 120 MFC r196777, r196796: ATI SB600 can't handle 256 sectors transfers with FPDMA (NCQ). Approved by: re (ATA-CAM blanket) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-09-05T08:03:29.034282Z K 7 svn:log V 524 MFC r196529: Rather than having enabled/disabled, implement a max queue depth. While usually not an issue, this firewalls bugs in the code that may run us out of memory. Fix a memory exhaustion in the case where devctl was disabled, but the link was bouncing. The check to queue was in the wrong place. Implement a new sysctl hw.bus.devctl_queue to control the depth. Make compatibility hacks for hw.bus.devctl_disable to ease transition. Reviewed by: emaste@ Approved by: re@ (kib) MFC after: asap END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-09-05T08:08:14.075057Z K 7 svn:log V 201 Note migration of tunable from hw.bus.devctl_disable to hw.bus.devctl_queue. The sysctl interface provides legacys upport for the latter sysctl, but the tunable support was removed. MFC after: 1 day END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-09-05T08:09:35.958775Z K 7 svn:log V 73 Go ahead and mention the CVS branch name as well as the svn branch name. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-09-05T08:38:25.281615Z K 7 svn:log V 170 These checks against BUSY aren't needed: the newbus layer does this already with the appropriate locks held... There's no need to do it here, so just delete the checks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-05T13:10:54.697598Z K 7 svn:log V 70 MFC r196689: Remove spurious pfs_unlock(). Approved by: re (rwatson) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-05T13:31:16.094583Z K 7 svn:log V 70 MFC r196689: Remove spurious pfs_unlock(). Approved by: re (rwatson) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-05T13:32:05.462583Z K 7 svn:log V 136 Handle zero size for posix_memalign. Return NULL or unique address according to the 'V' option. PR: standards/138307 MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-05T15:01:56.532850Z K 7 svn:log V 237 MFC r196740: Fix regression introduced with NFSv4 ACL support - make acl_to_text(3) and acl_calc_mask(3) return error instead of crashing when acl passed to them is NULL. Submitted by: markus Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-05T15:08:58.869053Z K 7 svn:log V 96 Improve wording. Discussed with: pjd, cperciva, rink, wkoszek and des, in order of appearance. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-09-05T16:43:16.897054Z K 7 svn:log V 1033 This patch fixes the following issues: - Interface link-local address is not reachable within the node that owns the interface, this is due to the mismatch in address scope as the result of the installed interface address loopback route. Therefore for each interface address loopback route, the rt_gateway field (of AF_LINK type) will be used to track which interface a given address belongs to. This will aid the address source to use the proper interface for address scope/zone validation. - The loopback address is not reachable. The root cause is the same as the above. - Empty nd6 entries are created for the IPv6 loopback addresses only for validation reason. Doing so will eliminate as much of the special case (loopback addresses) handling code as possible, however, these empty nd6 entries should not be returned to the userland applications such as the "ndp" command. Since both of the above issues contain common files, these files are committed together. Reviewed by: bz MFC after: immediately END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-09-05T16:50:55.747483Z K 7 svn:log V 587 This patch fixes an address scope violation. Considering the scenario where an anycast address is assigned on one interface, and a global address with the same scope is assigned on another interface. In other words, the interface owns the anycast address has only the link-local address as one other address. Without this patch, "ping6" the anycast address from another station will observe the source address of the returned ICMP6 echo reply has the link-local address, not the global address that exists on the other interface in the same node. Reviewed by: bz MFC after: immediately END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-09-05T16:51:51.412654Z K 7 svn:log V 283 In the NEXTADDR macro use SA_SIZE() rather than directly using sizeof(), as introduced in r186119, for advancing the current position into the buffer. See comment in net/route.h for a description of the difference. This makes ndp -s work again. Reviewed by: qingli X-MFC after: now END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-09-05T17:29:08.121087Z K 7 svn:log V 315 MFC r196866: In the NEXTADDR macro use SA_SIZE() rather than directly using sizeof(), as introduced in r186119, for advancing the current position into the buffer. See comment in net/route.h for a description of the difference. This makes ndp -s work again. Reviewed by: qingli Approved by: re (kib) END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-09-05T17:35:31.004521Z K 7 svn:log V 596 MFC r196865 This patch fixes an address scope violation. Considering the scenario where an anycast address is assigned on one interface, and a global address with the same scope is assigned on another interface. In other words, the interface owns the anycast address has only the link-local address as one other address. Without this patch, "ping6" the anycast address from another station will observe the source address of the returned ICMP6 echo reply has the link-local address, not the global address that exists on the other interface in the same node. Reviewed by: bz Approved by: re END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-09-05T17:40:27.244658Z K 7 svn:log V 1039 MFC r196864 This patch fixes the following issues: - Interface link-local address is not reachable within the node that owns the interface, this is due to the mismatch in address scope as the result of the installed interface address loopback route. Therefore for each interface address loopback route, the rt_gateway field (of AF_LINK type) will be used to track which interface a given address belongs to. This will aid the address source to use the proper interface for address scope/zone validation. - The loopback address is not reachable. The root cause is the same as the above. - Empty nd6 entries are created for the IPv6 loopback addresses only for validation reason. Doing so will eliminate as much of the special case (loopback addresses) handling code as possible, however, these empty nd6 entries should not be returned to the userland applications such as the "ndp" command. Since both of the above issues contain common files, these files are committed together. Reviewed by: bz Approved by: re END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-09-05T18:44:36.492759Z K 7 svn:log V 554 This set of MFC's brings savecore closer to the trunk version. Now, crashinfo will only be run if the following conditions are true: - savecore -C determines that a crash dump exists - crashinfo_enable="YES" MFC: 182460 Add the ability to run /usr/sbin/crashinfo on a new core dump automatically during boot. MFC: 180318 Remove the $DUMPDIR variable. It's redundant and the rest of the script uses $dumpdir directly. MFC: 180317 Make checking for the availability of core dumps work in the case that $dumpdev is not set to "AUTO". END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-09-05T20:24:37.961477Z K 7 svn:log V 142 The addresses that are assigned to the loopback interface should be part of the kernel routing table. Reviewed by: bz MFC after: immediately END K 10 svn:author V 6 qingli K 8 svn:date V 27 2009-09-05T20:35:18.426997Z K 7 svn:log V 148 MFC r196871 The addresses that are assigned to the loopback interface should be part of the kernel routing table. Reviewed by: bz Approved by: re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-05T22:27:44.800178Z K 7 svn:log V 54 Don't give witness warnings when called from zio_wait END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-05T23:23:49.246489Z K 7 svn:log V 22 don't disable WITNESS END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-06T01:03:19.816345Z K 7 svn:log V 94 - make parallel sendfile request handling more robust - eliminate per-write memory allocation END K 10 svn:author V 6 julian K 8 svn:date V 27 2009-09-06T06:05:23.156482Z K 7 svn:log V 157 MFC of r196477 Don't delete copies of nthread_create(9) we find inthe filesystem. we now link it to kproc_create(9), it's new name. Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T06:48:50.347206Z K 7 svn:log V 103 For any given subcommand allow to specify multi-line usage (separated by \n). Submitted by: Mel Flynn END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T06:49:59.128741Z K 7 svn:log V 24 Update copyright years. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T06:52:06.838896Z K 7 svn:log V 70 Add support for changing providers priority. Submitted by: Mel Flynn END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T07:22:09.766169Z K 7 svn:log V 63 Synchornize description in manual page with strerror() output. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T07:29:22.970949Z K 7 svn:log V 17 Correct comment. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T07:30:21.511150Z K 7 svn:log V 25 Correct typo in comment. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T07:32:16.542123Z K 7 svn:log V 71 Improve code a bit by eliminating goto and having one unlock per lock. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-09-06T09:39:40.800911Z K 7 svn:log V 183 Perform cleanups to the TTY headers: - Properly sort the ioctls in ioctl_compat.h. Also perform some whitespace fixes. - Properly comment all the unused/compat ioctls in ttycom.h. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-09-06T09:59:02.022461Z K 7 svn:log V 60 Remove unneeded minor numbers from /dev/null and /dev/zero. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-09-06T10:27:45.678866Z K 7 svn:log V 353 Move ptmx into pty(4). Now that pty(4) is a loadable kernel module, I'd better move /dev/ptmx in there as well. This means that pty(4) now provides almost all pseudo-terminal compatibility code. This means it's very easy to test whether applications use the proper library interfaces when allocating pseudo-terminals (namely posix_openpt and openpty). END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-06T11:44:46.555366Z K 7 svn:log V 264 In fhopen, vfs_ref() the mount point while vnode is unlocked, to prevent vn_start_write(NULL, &mp) from operating on potentially freed or reused struct mount *. Remove unmatched vfs_rel() in cleanup. Noted and reviewed by: tegge Tested by: pho MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-06T11:46:51.679507Z K 7 svn:log V 306 The clear_remove() and clear_inodedeps() call vn_start_write(NULL, &mp, V_NOWAIT) on the non-busied mount point. Unmount might free ufs-specific mp data, causing ffs_vgetf() to access freed memory. Busy mountpoint before dropping softdep lk. Noted and reviewed by: tegge Tested by: pho MFC after: 1 week END K 10 svn:author V 4 nork K 8 svn:date V 27 2009-09-06T12:01:29.329947Z K 7 svn:log V 147 Change 'dev.cpu.N.temperature', sysctl I (degC) to IK (Kelvin). Approved by: re (rwatson) Reviewed by: rpaulo Suggested by: ume MFC After: 3 days END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-09-06T13:26:51.483838Z K 7 svn:log V 131 Update etc/mtree/Makefile: There is no longer BSD.{local,x11-4,x11}.dist mtree files. There is a BSD.sendmail.dist mtree file. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-09-06T13:31:05.073816Z K 7 svn:log V 160 Change w_notrunning and w_stillcold from pointer to array so that sizeof returns what is expected. PR: kern/138557 Discussed with: brucec@ MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T14:05:01.223733Z K 7 svn:log V 291 MFC r196831: Add to `camcontrol cmd` support for sending arbitrary ATA commands. It could be used for broad range of tasks, such as configuring drive power management, caching, security and any other features and tasks, not supported by existing drivers. Approved by: re (ATA-CAM blanket) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T14:23:26.325026Z K 7 svn:log V 234 Remove constraint, requiring request data to fulfill controller's alignment requirements. It is busdma task, to manage proper alignment by loading data to bounce buffers. PR: kern/127316 Reviewed by: current@ Tested by: Ryan Rogers END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-06T15:23:03.475447Z K 7 svn:log V 368 Partial MFC of r194459 by thompsa, without merge recording, to allow the vm_phys_paddr_to_vm_page(9) to return NULL instead of panicking when supplied physical address does not correspond to a vm page. This is needed for device pager (and not yet merged sg pager) to skip memattr checks on specific addresses. Reported by: Thierry Herbelot END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-06T17:24:15.348719Z K 7 svn:log V 114 Add some basic ability to handle segment exceptions. Init still can't die gracefully without panicing the kernel. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T18:09:25.985873Z K 7 svn:log V 86 Initialize state_valid and arraysize variable so gcc won't complain. Reported by: bz END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T18:40:48.625167Z K 7 svn:log V 116 Avoid extra swi_sched() call, if this SIM is already queued. It reduces overhead for coalesced command completions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T18:48:18.430404Z K 7 svn:log V 108 MFp4: Report scbusX in xpt_announce_periph() to less confuse users by two different bus addressing schemes. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-06T18:49:45.546426Z K 7 svn:log V 25 clean up byte accounting END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T18:56:08.465010Z K 7 svn:log V 59 s/bus %d/scbus%d/ in some messages to correct terminology. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T18:59:46.461874Z K 7 svn:log V 38 Remove unneeded CAM_SIM_MPSAFE check. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-06T19:05:03.597750Z K 7 svn:log V 80 Silent gcc? Yeah, you wish. What I ment was to silence gcc. Spotted by: julian END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T19:06:50.546197Z K 7 svn:log V 111 MFp4: Remove duplicate qfrozen_cnt variable from struct cam_ed. ccbq.queue.qfrozen_cnt should be used instead. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T19:33:13.277464Z K 7 svn:log V 184 MFp4: Remove msleep() timeout from g_io_schedule_up/down(). It works fine without it, saving few percents of CPU on high request rates without need to rearm callout twice per request. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-06T19:45:37.893539Z K 7 svn:log V 26 make bg sendfile a toggle END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-06T20:32:16.932004Z K 7 svn:log V 63 - bump taskqueue threads to ncpus - try to improve KTR logging END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-06T21:22:24.680025Z K 7 svn:log V 91 To save small bit of CPU time, hide part of SNTF register read latency behind other reads. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-06T22:50:22.349285Z K 7 svn:log V 89 Manually translate the WON Currency sign and the EURO currency sign for certain locales. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-06T22:56:07.080917Z K 7 svn:log V 23 simplify KTR reporting END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-09-07T00:49:00.732197Z K 7 svn:log V 27 validate against file size END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T06:37:44.200432Z K 7 svn:log V 170 Make sure to use up-to-date libarchive header files from source tree when compiling tar and not the ones from /usr/include/. Reviewed by: kientzle Approved by: kientzle END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-07T08:37:25.089890Z K 7 svn:log V 216 MFC r196334: Add the macro ASSERT_ATOMIC_LOAD_PTR(), enabled through INVARIANTS, which asserts for the correct alignment of datas which need to be read atomically without locks. Use that macro in locking primitives. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-07T08:41:14.564601Z K 7 svn:log V 138 MFC r195403: Fix a bug in read lock acquisition for rwlocks by bumping rdlock_count when a successfull rwlock_rdlock_common() take place. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-07T08:46:26.361880Z K 7 svn:log V 147 MFC r195339: Add a new option (-s) that, when specified, skips the question about adjusting the clock to UTC. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-07T08:52:15.463276Z K 7 svn:log V 237 MFC r195159 and r195005: * Don't assume a fixed number of preloaded KLDs but calculate at runtime. This avoind ending up into an endless loop. * Fix a LOR between pmc_sx and allproc/proctree locks Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-07T09:30:37.922653Z K 7 svn:log V 242 Import a vendor fix for a list overrun. This has been considered as a security hole on some specialized ml, but currently the secteam@ doesn't consider that way. Reviewed by: emaste, des Sponsored by: Sandvine Incorporated MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-07T09:51:23.528453Z K 7 svn:log V 318 MFC r189078: * Implement ucomm with a dynamic size function in order to print out the threads name also in the case they are not the last one shown. * On AMD64 pointers don't have enough space to be printed. Fix it. * Check a return value for malloc which wasn't checked before Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-09-07T10:15:50.665172Z K 7 svn:log V 348 MFC r193664, r193796, r193815: Fix and add a workaround on an issue of EtherIP packet with reversed version field sent via gif(4)+if_bridge(4). The EtherIP implementation found on FreeBSD 6.1, 6.2, 6.3, 7.0, 7.1, and 7.2 had an interoperability issue because it sent the incorrect EtherIP packets and discarded the correct ones. Approved by: hrs END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T11:38:43.800890Z K 7 svn:log V 220 bzero() on-stack argument, so mutex_init() won't misinterpret that the lock is already initialized if we have some garbage on the stack. PR: kern/135480 Reported by: Emil Mikulic MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-07T11:55:34.183065Z K 7 svn:log V 233 insmntque_stddtr() clears vp->v_data and resets vp->v_op to dead_vnodeops before calling vgone(). Revert r189706 and corresponding part of the r186560. Noted and reviewed by: tegge Approved by: des (pseudofs part) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-07T12:10:41.137591Z K 7 svn:log V 608 If a race is detected, pfs_vncache_alloc() may reclaim a vnode that had never been inserted into the pfs_vncache list. Since pfs_vncache_free() does not anticipate this case, it decrements pfs_vncache_entries unconditionally; if the vnode was not in the list, pfs_vncache_entries will no longer reflect the actual number of list entries. This may cause size of the cache to exceed the configured maximum. It may also trigger a panic during module unload or system shutdown. Do not decrement pfs_vncache_entries for the vnode that was not in the list. Submitted by: tegge Reviewed by: des MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-07T12:39:54.786612Z K 7 svn:log V 95 MFC r196206. Take the number of allocated freeblks into consideration for softdep_slowdown(). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-07T12:41:19.398083Z K 7 svn:log V 405 Now that we have a properly working conversion system, we can compare the current FreeBSD locale data directories and compare it to the output we create and fix the differences. Mostly this is upper/lowercase in the timedef format strings plus a bunch of incorrect spaces in the thousand seperators. At this moment we concentrate on the correctness of the conversion, not on the correctness of the data! END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-09-07T13:37:04.082441Z K 7 svn:log V 836 MFC r196653: Make sure FreeBSD binaries without .note.ABI-tag section work correctly and do not match a colliding Debian GNU/kFreeBSD brandinfo statements. For this mark the Debian GNU/kFreeBSD brandinfo that it must have an .note.ABI-tag section and ignore the old EI_OSABI brandinfo when comparing a possibly colliding set of options. Due to SYSINIT we add the brandinfo in a non-deterministic order, so native FreeBSD is not always first. We may want to consider to force native FreeBSD to come first as well. The only way a problem could currently be noticed is when running an i386 binary without the .note.ABI-tag on amd64 and the Debian GNU/kFreeBSD brandinfo was matched first, as the fallback to ld-elf32.so.1 does not exist in that case. Reported and tested by: ticso In collaboration with: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-07T13:58:26.970646Z K 7 svn:log V 124 MFC r196206. Take the number of allocated freeblks into consideration for softdep_slowdown(). Tested by: pluknet gmail com END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-09-07T14:10:55.333547Z K 7 svn:log V 512 MFC r196787 Do the first step in removing lukemftpd from the base system. Disconnect it from the build. If you are using the FTP daemon, please consider using the port ftp/tnftpd which is the same FTP server, but newer and might have more/better functionality. This results in us providing only one ftp daemon by default. Reviewed by: bz Approved by: imp (mentor, implicit) MFC after: 3 days Silence from: obrien Approved by: re (kib), imp (mentor, implicit) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T14:16:50.074830Z K 7 svn:log V 300 Changing provider size is not really supported by GEOM, but doing so when provider is closed should be ok. When administrator requests to change ZVOL size do it immediately if ZVOL is closed or do it on last ZVOL close. PR: kern/136942 Requested by: Bernard Buri MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T14:44:04.844818Z K 7 svn:log V 136 Teach zdb(8) how to obtain GEOM provider size. PR: kern/133134 Reported by: Philipp Wuensche MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-09-07T15:22:54.138407Z K 7 svn:log V 80 Suppress an options line when no bit is on. Reviewed by: hrs MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-07T15:43:09.881957Z K 7 svn:log V 181 Fix stack_machdep.c to work correctly by taking into account the TOC reload slot offset when determining if we are coming out of a trap. This avoids a nested fault when init exits. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-09-07T15:52:15.320262Z K 7 svn:log V 118 Use printb() instead of rolling its own routine to display bits in options=<>. Pointed out by: ume MFC after: 3 days END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-09-07T16:00:33.352543Z K 7 svn:log V 415 When joining a multicast group, the inp_lookup_mcast_ifp call does a KASSERT that the group address is multicast, so the check if this is indeed true and eventually return a EINVAL if not, should be done before calling inp_lookup_mcast_ifp. This fixes a kernel crash when calling setsockopt (sock, IPPROTO_IP, IP_ADD_MEMBERSHIP,...) with invalid group address. Reviewed by: bms Approved by: bms MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-09-07T16:08:21.556010Z K 7 svn:log V 96 correct typo that was a noop on 32-bit machines but a bug on 64-bit machines Submitted by: phk END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-09-07T16:12:07.529806Z K 7 svn:log V 88 fix extraneous return that can cause a memory leak Submitted by: phk MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-09-07T16:18:16.440946Z K 7 svn:log V 61 remove extranous return Submitted by: phk MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-07T16:19:32.877303Z K 7 svn:log V 55 Add NFSv4 support to setfacl(1). Reviewed by: rwatson END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T16:25:09.847740Z K 7 svn:log V 72 MFC r196579: Fix an obvious topology lock leak. Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-07T16:26:03.671116Z K 7 svn:log V 93 Add regression tests for NFSv4 ACLs and update POSIX.1e tests to the changed error messages. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-09-07T16:33:27.251033Z K 7 svn:log V 115 MFC r196785: correct timeout for doing NOL processing; need a ticks-relative value Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-09-07T16:41:18.608820Z K 7 svn:log V 102 MFC r196717: fix beacon timers on resume in sta mode so raoming works Approved by: re (kensmith) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-07T16:56:41.173035Z K 7 svn:log V 32 Prevent the line from wrapping. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-09-07T17:54:20.430044Z K 7 svn:log V 758 Bring the layout of package-split.py more in line with where we're going with packages on the release media. It looks like we'll be putting just the doc packages on the new "memory stick" image as well as disc1. There will be no other packages on the CDROM-sized media. The DVD sized media will include the doc packages plus whatever other packages we decide to make part of the release. This commit just brings the basic structure in line with being able to do this. We still need to discuss with various people exactly which packages will be included on the DVD. If the environement variable "PKG_DVD" is set a tree suitable for the DVD media is generated. Otherwise a tree suitable for the "memory stick" and disc1 is generated. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T18:23:26.631153Z K 7 svn:log V 103 - Avoid holding mutex around M_WAITOK allocations. - Add locking for mnt_opt field. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T18:54:55.251464Z K 7 svn:log V 197 Don't recheck ownership on update mount. This will eliminate LOR between vfs_busy() and mount mutex. We check ownership in vfs_domount() anyway. Noticed by: kib Reviewed by: kib MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-07T19:01:34.736986Z K 7 svn:log V 119 r60506 broke netbooting on PowerPC/OFW completely. We need a way of reverting this in a way that doesn't break Book-E. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-07T19:15:07.889286Z K 7 svn:log V 160 Fix an inadvertent bug where instead of a literal '1', it was inserting bits of the stack pointer into the MSR. This should go to HEAD immediately, and to 8.0. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T19:22:44.904709Z K 7 svn:log V 78 Defer thread start until we set priority. Reviewed by: kib MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-07T19:40:22.131559Z K 7 svn:log V 68 Add regression tests for NFSv4 ACL granular permission enforcement. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-07T19:43:13.701199Z K 7 svn:log V 51 Enable NFSv4 ACL support in ZFS. Reviewed by: pjd END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T20:10:33.441514Z K 7 svn:log V 214 Fix detection of file system being shared. After this change commands like: # zfs unshare -a # zfs destroy foo/bar # zfs rename foo/bar foo/baz should properly remove exported file systems. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-07T20:39:04.259728Z K 7 svn:log V 248 Fix up some bugs in virtual mode Open Firmware and add support to the PowerPC loader to load 64-bit executables. This provides the first 64-bit PowerPC boot on real hardware, which then crashes bringing up the VM due to remaining missing features. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-07T20:57:01.667816Z K 7 svn:log V 163 Some of the controllers sold as ServeRAID (IBM ServeRAID-MR10i, in particular) are actually mfi(4) devices. Provide hints. Submitted by: END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T21:46:51.827299Z K 7 svn:log V 433 When snapshot mount point is busy (for example we are still in it) we will fail to unmount it, but it won't be removed from the tree, so in that case there is no need to reinsert it. This fixes a panic reproducable in the following steps: # zfs create tank/foo # zfs snapshot tank/foo@snap # cd /tank/foo/.zfs/snapshot/snap # umount /tank/foo panic: avl_find() succeeded inside avl_add() Reported by: trasz MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-07T21:58:54.820612Z K 7 svn:log V 219 If we have to use avl_find(), optimize a bit and use avl_insert() instead of avl_add() (the latter is actually a wrapper around avl_find() + avl_insert()). Fix similar case in the code that is currently commented out. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2009-09-07T23:16:27.468559Z K 7 svn:log V 443 A few enhancements I made while working on the Firewire target (sbp_targ). Update the error handling in a couple of cases to exit gracefully if certain mandatory conditions aren't met. Reduce the maximum number of initiators to 8 for this example code. While 1024 is more correct, this example code would act like it was stalled out even though it was merely allocating the needed structures in init_ccbs() Reviewed by: scottl@freebsd.org END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-09-08T01:11:23.241342Z K 7 svn:log V 107 Constify format string pointer, otherwise this would trigger warning when higher warning level is enabled. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-08T03:55:09.196439Z K 7 svn:log V 396 Start fixing up 64-bit OF access on Apple hardware a little. This change gives the PMAP layer the correct physical map by deleting a useless (and wrong, for PPC64) special case for reading the memory map from firmware, and also lays the groundwork for the address space swapping to call OF once the MMU is up. Reading the OFW translations map is still broken because of 32-bit/64-bit confusion. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-08T04:02:33.472981Z K 7 svn:log V 201 Fix OFW translations map. The kernel now boots on my Xserve until after virtual memory is up, and then dies with a panic when trying to map the OFW bounce page, so there's a bug there for another day. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-08T04:06:41.485018Z K 7 svn:log V 89 Fix an obvious mistake -- the high bits of translations can and should be respected now. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-08T04:08:14.490576Z K 7 svn:log V 41 Fix the fix. Clearly it is time for bed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-09-08T04:52:12.700396Z K 7 svn:log V 238 Update tests to match r195873, which corrected how hardlinked files on iso9660 images were returned. While I'm poking around, update some comments around this area to try to clarify what's going on and what still remains to be improved. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-09-08T05:02:41.967724Z K 7 svn:log V 427 Fiz /usr/bin/unzip: A bug deep in libarchive's read-ahead logic (incorrect handling of zero-length reads before the copy buffer is allocated) is masked by the iso9660 taster. Tar and cpio both enable that taster so were protected from the bug; unzip is susceptible. This both fixes the bug and updates the test harness to exercise this case. Submitted by: Ed Schouten diagnosed the bug and drafted a patch MFC after: 7 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-09-08T05:24:09.700400Z K 7 svn:log V 63 - Add commented hint required for RouterStation(non PRO) board END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-09-08T05:46:38.124124Z K 7 svn:log V 314 Do not check proper request alignment here in geom_dev in production. It will be checked any way later by g_io_check() in g_io_schedule_down(). It is only needed here to not trigger panic from additional check, when INVARIANTS enabled. So cover it with #ifdef INVARIANTS. It saves two 64bit divisions per request. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T08:54:15.040980Z K 7 svn:log V 420 Fix reference count leak for a case where snapshot's mount point is updated. Such situation is not supported. This problem was triggered by something like this: # zpool create tank da0 # zfs snapshot tank@snap # cd /tank/.zfs/snapshot/snap (this will mount the snapshot) # cd # mount -u nosuid /tank/.zfs/snapshot/snap (refcount leak) # zpool export tank cannot export 'tank': pool is busy MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-08T09:17:34.157778Z K 7 svn:log V 147 Lock Giant around vn_open_cred(). Remove innocent unnecessary call to NDFREE(). Reported by: marcel Reviewed and tested by: pjd MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T10:39:38.185633Z K 7 svn:log V 277 Move the duplicate definition of struct sockaddr_storage to its own include file, and include this where the previous duplicate definitions were. Static program checkers like FlexeLint rightfully take a dim view of duplicate definitions, even if they currently are identical. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T12:59:56.886539Z K 7 svn:log V 124 Move multi-include protection back up to the top of the file and name after the physical file rather than the aliased name. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T13:16:55.272321Z K 7 svn:log V 23 Add necessary include. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T13:19:05.061778Z K 7 svn:log V 122 Revert previous commit and add myself to the list of people who should know better than to commit with a cat in the area. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T13:24:36.472468Z K 7 svn:log V 65 Having thrown the cat out of the house, add a necessary include. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-08T14:15:14.929649Z K 7 svn:log V 147 MFC r195339: Add a new option (-s) that, when specified, skips the question about adjusting the clock to UTC. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-08T14:19:14.173807Z K 7 svn:log V 178 MFC r180758: Prevent the bdflush() activity when trying to lock an indirect block buffer setting TDP_INBDFUSH in the appropriate code paths. Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-08T14:43:42.389422Z K 7 svn:log V 268 MFC r196692: Make the mnt_writeopcount and mnt_secondary_writes counters, used by the suspension code, not greater then mnt_ref reference counter value. MFC r196733: Fix mount reference leak when V_XSLEEP is specified to vn_start_write(). Approved by: re (kensmith) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-09-08T15:13:49.642158Z K 7 svn:log V 318 MFC r189078: * Implement ucomm with a dynamic size function in order to print out the threads name also in the case they are not the last one shown. * On AMD64 pointers don't have enough space to be printed. Fix it. * Check a return value for malloc which wasn't checked before Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T15:18:25.375612Z K 7 svn:log V 22 Add necessary include END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-09-08T15:31:23.243504Z K 7 svn:log V 654 MFC r196730: Remove the altkstacks, instead instantiate threads with kernel stack allocated with the right size from the start. For the thread that has kernel stack cached, verify that requested stack size is equial to the actual, and reallocate the stack if sizes differ. Introduce separate kernel stack cache that keeps some limited amount of preallocated kernel stacks to lower the latency of thread allocation. Not a merge: instead of removing td_altkstack* members of struct thread, replace them with placeholders to keep struct thread layout on the stable branch. Also, record r196640, r196644 and r196648 as merged. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T15:37:01.513976Z K 7 svn:log V 60 Call ZFS_EXIT() after locking the vnode. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T15:42:55.569250Z K 7 svn:log V 145 On FreeBSD we don't have to look for snapshot's mount point, because fhtovp method is already called with proper mount point. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T15:51:40.070305Z K 7 svn:log V 189 When we automatically mount snapshot we want to return vnode of the mount point from the lookup and not covered vnode. This is one of the fixes for using .zfs/ over NFS. MFC after: 1 week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-09-08T15:55:13.799635Z K 7 svn:log V 153 Add C/c/f/p/v switches plus a bunch of minor fixes and cleanups. Obtained from: NetBSD Approved by: des (maintainer) Approved by: ed (mentor, implicit) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T15:57:03.383194Z K 7 svn:log V 214 We don't export individual snapshots, so mnt_export field in snapshot's mount point is NULL. That's why when we try to access snapshots over NFS use mnt_export field from the parent file system. MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-09-08T16:09:28.676186Z K 7 svn:log V 61 Free the correct buffer in an error case. Submitted by: phk END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-09-08T16:37:18.907348Z K 7 svn:log V 254 Cleanup tortured logic a big. Noticed by FlexLint, per phk. # My reading of the docs suggests this can only happen on 10Base5 and # 10Base2 setups (and maybe only the former), which I can't test # adequately since I have nothing but 10BaseT, etc here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T16:40:08.415889Z K 7 svn:log V 262 Only log successful commands! Without this fix we log even unsuccessful commands executed by unprivileged users. Action is not really taken, but it is logged to pool history, which might be confusing. Reported by: Denis Ahrens MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-08T17:20:17.470800Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-09-08T17:23:32.886982Z K 7 svn:log V 36 Remove useless variable assignment. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-09-08T19:15:29.465228Z K 7 svn:log V 23 - MFC from head@196987 END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-09-08T19:18:02.886259Z K 7 svn:log V 293 MFC r196835: Allow a jail's name to be the same as its jid (which is the default if no name is specified), and let a numeric name specify the jid for a new jail when the jid isn't otherwise set. Still disallow other numeric names. Reviewed by: zec Approved by: re (kib), bz (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-09-08T19:37:59.762102Z K 7 svn:log V 287 cr_groups is no longer embedded in struct ucred and is instead stored in a seperate array. As such we need to use kvm_read rather than bcopy to populate the ki_groups field. This fixes a crash when running ps -ax on a coredump. Reported by: brucec Tested by: brucec MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-09-08T20:05:51.494005Z K 7 svn:log V 40 Free jamie from the jail of mentorship. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-09-08T20:06:35.257613Z K 7 svn:log V 276 Implement __assert() for Solaris-specific code. Until now Solaris code was using Solaris prototype for __assert(), but FreeBSD's implementation. Both take different arguments, so we were either core-dumping in assert() or printing garbage. Reported by: avg MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-09-08T20:12:26.342082Z K 7 svn:log V 145 Remove some debugging (KTR_VERBOSE) that crept into ppc GENERIC long ago and is present on no other architectures by default. MFC after: 4 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-09-08T20:45:40.161001Z K 7 svn:log V 153 Get rid of the _NO_NAMESPACE_POLLUTION kludge by creating an architecture specific include file containing the _ALIGN* stuff which needs. END K 10 svn:author V 2 np K 8 svn:date V 27 2009-09-08T21:17:17.883765Z K 7 svn:log V 325 Add arp_update_event. This replaces route_arp_update_event, which has not worked since the arp-v2 rewrite. The event handler will be called with the llentry write-locked and can examine la_flags to determine whether the entry is being added or removed. Reviewed by: gnn, kmacy Approved by: gnn (mentor) MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-09-08T21:50:34.295290Z K 7 svn:log V 250 MFC 196745: Don't attempt to bind the current thread to the CPU an IRQ is bound to when removing an interrupt handler from an IRQ during shutdown. During shutdown we are already bound to CPU 0 and this was triggering a panic. Approved by: re (kib) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-09-08T23:25:39.142715Z K 7 svn:log V 259 Make LRO turned off uncategorically for devices attached to the bridge, rather than just in the case when some device cannot do TSO. Customer tests have shown that even when all devices can do TSO that LRO will cause problems when bridging. Approved by: re END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-09T00:01:09.599134Z K 7 svn:log V 186 Vendor import of tzdata2008m: Samoa will go in DST on 4 October 2009 till 28 March 2010 Palestine will go back from DST on 4 September 2009 Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-09-09T00:03:15.898357Z K 7 svn:log V 19 Tag of tzdata2009m END