ƒ°)192605 208 1309 113 161 245 146 106 109 416 296 109 310 543 182 128 130 123 119 132 342 143 837 274 248 547 214 228 109 208 208 225 528 1188 167 161 202 112 173 161 203 252 215 111 110 448 510 162 342 167 110 182 379 142 172 251 258 158 157 106 131 234 195 211 278 123 997 109 293 315 152 536 481 159 139 131 255 169 247 636 479 276 664 436 304 288 107 123 178 123 313 282 315 204 142 165 177 94 126 323 309 221 271 476 433 431 161 369 345 116 822 112 165 208 191 202 195 188 293 293 642 158 126 205 452 254 173 245 377 231 150 710 946 166 147 161 142 127 204 208 208 267 299 182 181 170 137 150 146 165 175 416 158 234 301 161 587 318 218 253 143 141 399 165 301 417 451 224 164 181 190 160 158 401 219 144 253 365 309 373 429 213 216 105 128 172 250 146 392 131 156 274 253 138 143 422 177 416 213 120 238 164 108 223 197 148 150 166 613 185 K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-22T22:09:00.021141Z K 7 svn:log V 1215 Introduce the if_vmove() function, which will be used in the future for reassigning ifnets from one vnet to another. if_vmove() works by calling a restricted subset of actions normally executed by if_detach() on an ifnet in the current vnet, and then switches to the target vnet and executes an appropriate subset of if_attach() actions there. if_attach() and if_detach() have become wrapper functions around if_attach_internal() and if_detach_internal(), where the later variants have an additional argument, a flag indicating whether a full attach or detach sequence is to be executed, or only a restricted subset suitable for moving an ifnet from one vnet to another. Hence, if_vmove() will not call if_detach() and if_attach() directly, but will call the if_detach_internal() and if_attach_internal() variants instead, with the vmove flag set. While here, staticize ifnet_setbyindex() since it is not referenced from outside of sys/net/if.c. Also rename ifccnt field in struct vimage to ifcnt, and do some minor whitespace garbage collection where appropriate. This change should have no functional impact on nooptions VIMAGE kernel builds. Reviewed by: bz, rwatson, brooks? Approved by: julian (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-22T22:09:05.718473Z K 7 svn:log V 19 add common modules END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-05-22T22:13:29.394245Z K 7 svn:log V 66 Add myself to the src committers graph. Approved by: ed (mentor) END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-22T22:22:21.725119Z K 7 svn:log V 152 Set ifp->if_afdata_initialized to 0 while holding IF_AFDATA_LOCK on ifp, not after the lock has been released. Reviewed by: bz Discussed with: rwatson END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-22T22:48:55.486891Z K 7 svn:log V 52 enable condvar and friends to operate on spin locks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-22T22:50:24.546239Z K 7 svn:log V 12 compile fix END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-22T22:57:05.769604Z K 7 svn:log V 17 Expand $FreeBSD$ END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-22T23:03:15.844237Z K 7 svn:log V 324 If including vnet.h one has to include opt_route.h as well. This is because struct vnet_net holds the rt_tables[][] for MRT and array size is compile time dependent. If you had ROUTETABLES set to >1 after r192011 V_loif was pointing into nonsense leading to strange results or even panics for some people. Reviewed by: mz END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-22T23:22:56.334915Z K 7 svn:log V 198 Change the sysctl_base argument to svcpool_create() to NULL for client side callbacks so that leaf names are not re-used, since they are already being used by the server. Approved by: kib (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-22T23:29:05.560539Z K 7 svn:log V 17 Expand $FreeBSD$ END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-23T00:07:55.452804Z K 7 svn:log V 218 It seems this file was ignored by MRT, rnh locking changes and new-arpv2. So let the V_irtualization people finally make the disabled debugging code compile again. MFC after: 2 weeks X-MFC: MRT and adapt rnh locking END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-23T00:40:17.086415Z K 7 svn:log V 445 Fix the rpc_gss_secfind() call in nfs_commonkrpc.c so that the code will build when "options KGSSAPI" is specified without requiring the proposed changes that add host based initiator principal support. It will not handle the case where the client uses a host based initiator principal until those changes are committed. The code that uses those changes is #ifdef'd notyet until the krpc rpcsec_changes are committed. Approved by: kib (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T00:47:23.845927Z K 7 svn:log V 88 Add zfs/zpool to rescue programs PR: bin/125878 Submitted by: nork@ MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T02:31:41.537737Z K 7 svn:log V 34 Add zfs/zpool to rescue programs END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T02:48:15.073090Z K 7 svn:log V 36 allow non-sleepable lock in cv_wait END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T03:08:36.909858Z K 7 svn:log V 29 fix locking in loggiing loop END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T03:13:39.061179Z K 7 svn:log V 25 fix missed continue case END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T03:35:29.821988Z K 7 svn:log V 38 wakeup waiting process before exiting END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-05-23T04:31:05.672206Z K 7 svn:log V 244 Include the 2 byte length field for the optional "extra data" field when computing the length of the gzip header. Thanks to Dag-Erling for pointing me to the OpenSSH tarballs, which are the first files I've seen that actually used this field. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-23T06:30:03.491400Z K 7 svn:log V 49 - Wrong logical operator was used for flag check END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-05-23T06:31:50.691502Z K 7 svn:log V 742 MFV of tzcode2009e: Upgrade of the tzcode from 2004a to 2009e. Changes are numerous, but include... - New format of the output of zic, which supports both 32 and 64 bit time_t formats. - zdump on 64 bit platforms will actually produce some output instead of doing nothing for a looooooooong time. - linux_base-fX, with X >= at least 8, will work without problems related to the local time again. The original patch, based on the 2008e, has been running for a long time on both my laptop and desktop machine and have been tested by other people. After the installation of this code and the running of zic(8), you need to run tzsetup(8) again to install the new datafile. Approved by: wollman@ for usr.sbin/zic MFC after: 1 month END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-05-23T06:40:09.028774Z K 7 svn:log V 179 [patch] update share/misc/iso639 Updated against http://www.loc.gov/standards/iso639-2/langhome.html Snapshot was taken on 16 September 2008. PR: conf/127422 MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-05-23T07:16:17.765230Z K 7 svn:log V 153 Update share/misc/iso639 Snapshot was taken on 23 May 2009. Obtained from: http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-23T07:58:56.175077Z K 7 svn:log V 454 Preset the modified bit in the PTE when pmap_enter() is called during a write fault or while wiring a mapping that must support write access. In general, this change should reduce the number of traps that occur for the purpose of setting the modified bit. More specifically, this change should prevent traps while holding locks in a sysctl handler. See kern/kern_sysctl.c revisions 1.168 and 1.195 (svn r192160) for further details. Tested by: gonzo END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-05-23T08:49:55.561083Z K 7 svn:log V 119 Rework the text for the import of zic(8) at 20090523. Suggested by Niclas Zeising (and he was absolutely right on it!) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-05-23T09:01:30.437371Z K 7 svn:log V 133 Added two tools to check the contents of /usr/share/misc/iso* with the data from the sources. PR: misc/127430 and misc/misc/127428 END K 10 svn:author V 4 joel K 8 svn:date V 27 2009-05-23T09:24:07.881596Z K 7 svn:log V 16 Fix minor typo. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-05-23T10:35:27.466306Z K 7 svn:log V 110 MFC: r192410 Since audit(4) isn't based on posix1e, remove the commented out audit.h header, xref libbsm(3). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-05-23T10:45:28.250817Z K 7 svn:log V 110 MFC: r192410 Since audit(4) isn't based on posix1e, remove the commented out audit.h header, xref libbsm(3). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-23T12:42:57.494498Z K 7 svn:log V 128 Add NETISR2 to LINT -- once netisr is replaced with netisr2, this will no longer be required, but during testing it is helpful. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-23T12:44:26.721195Z K 7 svn:log V 431 ttempt to adapt DEVICE_POLLING for the netisr2 world: if device polling is configured into the kernel, use at most one worker thread and don't bind the thread to a CPU, restoring device polling's expectation of a single netisr thread running all interface and protocol code. Teach netisr2 explicitly about polling rather than having polling pretend to be a normal protocol dispatch, as netisr2 is more packet-centric than netisr. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-05-23T13:23:46.909720Z K 7 svn:log V 1094 Fix cryptodev UIO creation. Cryptodev uses UIO structure do get data from userspace and pass it to cryptographic engines. Initially UIO size is equal to size of data passed to engine, but if UIO is prepared for hash calculation an additional small space is created to hold result of operation. While creating space for the result, UIO I/O vector size is correctly extended, but uio_resid field in UIO structure is not modified. As bus_dma code uses uio_resid field to determine size of UIO DMA mapping, resulting mapping hasn't correct size. This leads to a crash if all the following conditions are met: 1. Hardware cryptographic accelerator writes result of hash operation using DMA. 2. Size of input data is less or equal than (n * PAGE_SIZE), 3. Size of input data plus size of hash result is grather than (n * PAGE_SIZE, where n is the same as in point 2. This patch fixes this problem by adding size of the extenstion to uio_resid field in UIO structure. Submitted by: Piotr Ziecik kosmo ! semihalf dot com Reviewed by: philip Obtained from: Semihalf END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-23T13:44:37.435032Z K 7 svn:log V 71 Merge head/sys through r191381-r192635 to the pnet development branch. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-23T13:51:05.632129Z K 7 svn:log V 67 Improve API documentation. Reviewed by: rwatson (earlier version) END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-23T16:00:16.145666Z K 7 svn:log V 109 Remove svn:keywords on a file that had fbsd:nokeywords (though I don't understand the reason for the latter) END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-23T16:01:58.216917Z K 7 svn:log V 20 Unexpand $FreeBSD$. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-23T16:02:19.992758Z K 7 svn:log V 78 Move path handling code to HWMP module. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-23T16:05:15.338681Z K 7 svn:log V 66 Add missing svn properties. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-23T16:11:36.262174Z K 7 svn:log V 107 Identify code structures that won't be supported in the near future. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-05-23T16:13:26.299854Z K 7 svn:log V 157 Delay an error message until the variable it uses gets initialized. Found with: Coverity Prevent(tm) CID: 4316 Reported by: trasz Approved by: bz (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-23T16:27:42.616414Z K 7 svn:log V 123 While r192615 fixed the former problems, make this file VIMAGE compliant now as well initializing local context variables. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-23T16:36:19.060368Z K 7 svn:log V 19 Remove bogus props END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-23T16:39:49.383375Z K 7 svn:log V 18 Remove bogus prop END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-23T16:42:38.737499Z K 7 svn:log V 356 Add sysctls to toggle the behaviour of the (former) IPSEC_FILTERTUNNEL kernel option. This also permits tuning of the option per virtual network stack, as well as separately per inet, inet6. The kernel option is left for a transition period, marked deprecated, and will be removed soon. Initially requested by: phk (1 year 1 day ago) MFC after: 4 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-23T16:51:13.624433Z K 7 svn:log V 418 Implement UDP control block support. So far the udp_tun_func_t had been (ab)using inp_ppcb for udp in kernel tunneling callbacks. Move that into the udpcb and add a field for flags there to be used by upcoming changes instead of sticking udp only flags into in_pcb flags2. Bump __FreeBSD_version for ports to detect it and because of vnet* struct size changes. Submitted by: jhb (7.x version) Reviewed by: rwatson END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-05-23T16:54:07.915733Z K 7 svn:log V 66 Add more obsolete files, old NFSv4 client and legacy USB related. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-23T17:02:30.741046Z K 7 svn:log V 250 For UDP with introducing the UDP control block, the uma zone had to be named "udp_inpcb" to avoid a naming conflict with tcp[1]. For consistency rename the uma zone for TCP from "inpcb" to "tcp_inpcb". Found by: rwatson [1] Discussed with: rwatson END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-23T17:09:47.077681Z K 7 svn:log V 73 Add new #defines neccessary to support NFSv4 ACLs. Reviewed by: rwatson END K 10 svn:author V 3 des K 8 svn:date V 27 2009-05-23T17:13:35.155001Z K 7 svn:log V 18 More bogus props. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-05-23T17:17:54.857374Z K 7 svn:log V 86 MFC r189872 to stable/7: Chase the k8temp->amdtemp rename in NOTES and loader.conf. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-23T18:00:20.003594Z K 7 svn:log V 284 - Remove stale comments - Replace a1 with k1 to while restoring context. a1 was there by mistake, interrupts are disabled at this point and it's safe to use k0, k1. This code never was reached beacasue current Status register handling prevented interrupta from user mode. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-23T18:18:06.894265Z K 7 svn:log V 48 - Calculate clock frequency using PLL registers END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-23T18:25:11.232285Z K 7 svn:log V 80 Eliminate the unnecessary clearing of a page's dirty bits from nwfs_getpages(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-23T18:33:22.964821Z K 7 svn:log V 158 When a page is mapped for write access on a read fault, the PTE should be configured to trap on a write access unless *all* of the page's dirty bits are set. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-23T18:44:26.281001Z K 7 svn:log V 165 Give pmap_enter()'s third parameter the same name that it has on amd64 and i386. Otherwise, my next to last commit (r192628) to this file doesn't actually compile. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-23T19:14:20.447420Z K 7 svn:log V 66 accumulate npe statistics and expose them through dev.npe.X.stats END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-23T19:16:34.233298Z K 7 svn:log V 65 add npe tools; first is npestats which reports device statistics END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-23T19:17:05.327786Z K 7 svn:log V 14 add npe tools END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T19:17:27.699623Z K 7 svn:log V 37 fix hwpmc callchain and NMI handling END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-23T19:42:23.742505Z K 7 svn:log V 139 - cpu_establish_hardintr modifies INT_MASK of Status register, so we should use disableintr/restoreintr that modifies only IE bit. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T19:54:18.577362Z K 7 svn:log V 100 Import ZFS loader support missed in the initial MFC set LOADER_ZFS_SUPPORT=Y in make.conf to enable END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T19:57:11.669531Z K 7 svn:log V 116 merge 192665 Import ZFS loader support missed in the initial MFC set LOADER_ZFS_SUPPORT=Y in make.conf to enable END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T20:03:34.150525Z K 7 svn:log V 183 be consistent with the rest of /src and make ZFS loader support opt out - CDDL contaminates by its presence not by being linked in, this seems to be a source of confusion for many END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T20:33:53.588547Z K 7 svn:log V 29 push kthread priorities down END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-05-23T21:43:44.398414Z K 7 svn:log V 904 V_irtualize the if_clone framework, thus allowing for clonable ifnets to optionally have overlapping unit numbers if attached in different vnets. At this stage if_loop is the only clonable ifnet class that has been extended to allow for such overlapping allocation of unit numbers, i.e. in each vnet it is possible to have a lo0 interface. Other clonable ifnet classes remain to operate with traditional semantics, i.e. each instance of a clonable ifnet will be assigned a globally unique unit number, regardless in which vnet such an ifnet becomes instantiated. While here, garbage collect unused _lo_list field in struct vnet_net, as well as improve indentation for #defines in sys/net/vnet.h. The layout of struct vnet_net has changed, therefore bump __FreeBSD_version. This change has no functional impact on nooptions VIMAGE kernel builds. Reviewed by: bz, brooks Approved by: julian (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-23T21:49:36.336104Z K 7 svn:log V 14 Fix the build END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-05-23T22:05:14.097331Z K 7 svn:log V 200 pmap_enter() *must* set PG_WRITEABLE on the given page if it creates a mapping that permits write access. Otherwise, pmap_remove_write() will not remove write access from any of the page's mappings. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-05-23T22:57:49.125169Z K 7 svn:log V 223 Even if not entirely style clean the heavy nesting of the various vimage options along with all the defines made things really hard to read and get right; thus add comments for the #else/#endif cases. Discussed with: zec END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-23T23:08:07.805020Z K 7 svn:log V 58 print out hash table size, retry large failed allocations END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-24T01:18:56.812243Z K 7 svn:log V 438 Modify nfsd.c to add support for the experimental nfs server. This includes the addition of a new flag "-4" that will force use of the experimental server with nfsv4 support in it. This commit also adds two new man pages to the repository that are NFSv4 specific. One describes the file used by the server to restart nfsv4 services safely. The other is a brief overview of nfsv4 and its setup. Reviewed by: dfr Approved by: kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-24T03:22:49.377089Z K 7 svn:log V 383 Fix the experimental nfsv4 client so that it works for the case of a kerberized mount without a host based principal name. This will only work for mounts being done by a user other than root. Support for a host based principal name will not work until proposed changes to the rpcsec_gss part of the krpc are committed. It now builds for "options KGSSAPI". Approved by: kib (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-24T03:49:07.589569Z K 7 svn:log V 65 try allowing the arc to grow while still permitting backpressure END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-24T09:42:53.217228Z K 7 svn:log V 45 Add new constants to the acl(9) manual page. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-24T11:10:27.484228Z K 7 svn:log V 39 Fix build of KGSSAPI bits post-vimage. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-24T11:37:10.380050Z K 7 svn:log V 162 Increase the number of available file descriptors to 64. This fixes the reported zfsboot problems for systems where more than seven drives are part of ZFS pools. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-05-24T11:52:08.307842Z K 7 svn:log V 74 Add a discard note and fix spacing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-24T12:28:38.339549Z K 7 svn:log V 154 Replace the while statement with the if for clarity. The loop body cannot be executed more then once. Reviewed by: dfr Tested by: pho MFC after: 1 month END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-24T12:32:03.863168Z K 7 svn:log V 544 Block when initially opening a TTY multiple times. In the original MPSAFE TTY code, I changed the behaviour by returning EBUSY. I thought this made more sense, because it's basically a race to see who gets the TTY first. It turns out this is not a good change, because it also causes EBUSY to be returned when another process is closing the TTY. This can happen during startup, when /etc/rc (or one of its children) is still busy draining its data and /sbin/init is attempting to open the TTY to spawn a getty. Reported by: bz Tested by: bz END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-24T12:33:16.439263Z K 7 svn:log V 386 In lf_advlockasync(), recheck for doomed vnode after the state->ls_lock is acquired. In the lf_purgelocks(), assert that vnode is doomed and set *statep to NULL before clearing ls_pending list. Otherwise, we allow for the thread executing lf_advlockasync() to put new pending entry after state->ls_lock is dropped in lf_purgelocks(). Reviewed by: dfr Tested by: pho MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-24T12:37:55.513355Z K 7 svn:log V 183 In lf_purgelocks(), assert that state->ls_pending is empty after we weeded out threads, and clean ls_active instead of ls_pending. Reviewed by: dfr Tested by: pho MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-05-24T12:39:38.950561Z K 7 svn:log V 571 The advisory lock may be activated or activated and removed during the sleep waiting for conditions when the lock may be granted. To prevent lf_setlock() from accessing possibly freed memory, add reference counting to the struct lockf_entry. Bump refcount around the sleep. Make lf_free_lock() return non-zero when structure was freed, and use this after the sleep to return EINTR to the caller. The error code might need a clarification, but we cannot return success to usermode, since the lock is not owned anymore. Reviewed by: dfr Tested by: pho MFC after: 1 month END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-05-24T13:22:00.387292Z K 7 svn:log V 343 Make sure we feed 32bit align memory to nfsm_dissect otherwise we will fault on platforms with strict alignment requirements. In particular, this fixes the problems with the new RPC transport on the arm platform. Note: this adds yet another copy of nfs_realign(). I will attempt to refactor after NFS_LEGACYRPC is removed. Submitted by: sam END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-05-24T15:27:25.872216Z K 7 svn:log V 208 Fix chflags -h in various cases: do not use link target's flags as original. Patch slightly changed to align more with chmod.c. PR: bin/131999 Submitted by: bde Approved by: ed (mentor) MFC after: 3 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-05-24T15:32:34.153425Z K 7 svn:log V 192 Fix elapsed (etime) field for swapped out processes in ps: show '-' instead of time since the Epoch. PR: bin/123069 Submitted by: Vladimir Kozbin Approved by: ed (mentor) MFC after: 3 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-24T15:48:48.579360Z K 7 svn:log V 13 Fix comment. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-24T17:08:00.186957Z K 7 svn:log V 29 Fix typo in the manual page. END K 10 svn:author V 8 tmclaugh K 8 svn:date V 27 2009-05-24T18:34:54.615919Z K 7 svn:log V 81 Update man pages after VFS_* changes in r191990. Approved by: brueffer, attilio END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-05-24T18:35:53.088032Z K 7 svn:log V 27 Remove an unused variable. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-24T18:49:53.581456Z K 7 svn:log V 215 Fix the experimental NFSv4 server so that it handles the case where a client is not allowed NFSv4 access correctly. This restriction is specified in the "V4: ..." line(s) in /etc/exports. Approved by: kib (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-24T19:21:49.169741Z K 7 svn:log V 187 Don't allow non-owner to set SUID bit on a file. It doesn't make any difference now, but in NFSv4 ACLs, there is write_acl permission, which also affects mode changes. Reviewed by: pjd END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-24T19:46:12.056821Z K 7 svn:log V 217 Crib the realign function out of nfs_krpc.c and add a call to it for the client side reply. Hopefully this fixes the problem with using the new krpc for arm for the experimental nfs client. Approved by: kib (mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-24T20:34:29.690934Z K 7 svn:log V 109 There are things too complex to be fixed in one commit. Fix a typo in acl(9) manual page. Submitted by: avg END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-24T20:49:22.442422Z K 7 svn:log V 48 merge 177933 Allow for a zero length 'loader'. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-24T21:00:02.970996Z K 7 svn:log V 71 align the arc state lock and reduce the length of time that it is held END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-24T21:41:05.028024Z K 7 svn:log V 81 Fix IPSEC build with NETISR2 following KPI change for netisr2. Submitted by: bz END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-24T22:00:20.894360Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-24T22:07:23.074527Z K 7 svn:log V 35 Merge build/jbuild changes from p4 END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-24T22:16:14.285530Z K 7 svn:log V 231 Add jbuild, a modified version of FreeBSD's 'make' with automated dependency handling. filemon is a kernel module that provides a device interface for jbuild to read info that it saves in the meta data file for each target built. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-24T22:17:59.557579Z K 7 svn:log V 217 Add jdirdep, a program to parse the directory dependencies from the meta data files that jbuild creates. Part of jdirdep is built into jbuild itself so that directory dependencies update automatically when you build. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-24T23:24:49.367154Z K 7 svn:log V 126 don't block I/O progress waiting for a pre-fetch stream if we find a matching stream but can't get the lock skip the prefetch END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-24T23:47:22.897206Z K 7 svn:log V 173 Temporarily #undef NFS4_ACL_EXTATTR_NAME, so that the experimental nfs subsystem will build while the NFSv4 ACL support is going into the kernel. Approved by: kib (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T00:56:01.525862Z K 7 svn:log V 379 NVIDIA MCP controllers have no Rx buffer alignment restrictions. Remove PAGE_SIZE alignment used in Rx buffer DMA tag creation. The alignment restriction was used in old local jumbo allocator and nfe(4) switched to UMA backed page allocator for jumbo frame. This change should fix jumbo buffer allocation failure. Reported by: Pascal Braun ( pascal.braun <> continum dot net ) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-25T01:00:09.356988Z K 7 svn:log V 335 Add NFSv4 root export checks to the DelegPurge, Renew and ReleaseLockOwner operations analagous to what is already in place for SetClientID and SetClientIDConfirm. These are the five NFSv4 operations that do not use file handle(s), so the checks are done using the NFSv4 root export entries in /etc/exports. Approved by: kib (mentor) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T01:41:05.939211Z K 7 svn:log V 334 Use mii_phy_add_media() and remove usage of local macro ADD. Also checks extended status register to see whether the PHY is fast ethernet or not. This removes a lot of checks for specific PHY models and it makes easy to add more PHYs to e1000phy(4). While I'm here remove setting mii_anegticks as it is set with mii_phy_add_media(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T01:45:28.947218Z K 7 svn:log V 65 Report current link state while auto-negotiation is in progress. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T01:56:19.002904Z K 7 svn:log V 272 Don't read unnecessary PHY registers. Speed/duplex resolution bit is valid only for auto-negotiation case so check the bit if we know auto-negotiation is active. While I'm here explicitly checks current speed with speed mask and set IFM_NONE if resolved speed is unknown. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T02:05:00.715997Z K 7 svn:log V 248 Do not ignore NEXT Page capability of auto-negotiation advertisement register. Some PHYs such as 88E3016 requires NEXT Page capability to establish valid link. Also set protocol selector field which is read only but it makes the intention clearer. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-25T02:09:09.898962Z K 7 svn:log V 22 remove SX_SPINS limit END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T02:36:29.405199Z K 7 svn:log V 725 Add driver support for 88E3016 PHY which is found on Marvell Yukon FE+ controller. Due to the severe silicon bugs for Yukon FE+, 88E3016 seems to require more workarounds. However I'm not sure whether the workaround is PHY specific or only applicable to Yukon FE+. The datasheet for the PHY is publicly available but it lacks several details for the workaround used in this change. The workaround information was obtained from Linux. Many thanks to Yukon FE+ users who helped me add 88E3016 support. Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com ) Bruce Cran ( bruce <> cran dot org dot uk ) Michael Reifenberger ( mike <> reifenberger dot com ) Stephen Montgomery-Smith ( stephen <> missouri dot edu ) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-25T02:59:54.835201Z K 7 svn:log V 18 import gptzfsboot END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-25T03:06:26.987480Z K 7 svn:log V 71 don't try building zfsboot and gptzfsboot if zfs loader is not enabled END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T03:24:47.486295Z K 7 svn:log V 111 Remove link handling taskqueue and use mii callback directly. While I'm here also checks driver running state. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-25T03:41:40.467865Z K 7 svn:log V 97 eliminate one point of contention for the mnt lock by making mnt_opwritecount atomically updated END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T03:42:33.385960Z K 7 svn:log V 105 Use bit definition to represent link state, device suspend instead of using separate variables in softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T03:49:43.819932Z K 7 svn:log V 99 Use bit definition to represent MSI and detach state instead of using separate variables in softc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T03:53:12.083562Z K 7 svn:log V 92 Correctly return the result of mii_mediachg(). Previously it always used to return success. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-05-25T04:11:30.506704Z K 7 svn:log V 198 MFC 192219: Add -L to the mtree invocation to chase symbolic links that are present in "Service jails." MFC 192230: Enhance the safety and efficiency of the -U option, fix indentation on one line. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-05-25T04:13:06.809016Z K 7 svn:log V 198 MFC 192219: Add -L to the mtree invocation to chase symbolic links that are present in "Service jails." MFC 192230: Enhance the safety and efficiency of the -U option, fix indentation on one line. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T04:22:27.087699Z K 7 svn:log V 545 Rather than checking every chip revision, introduce more flags to mark controller's capability. Controllers that have jumbo frame support sets MSK_FLAG_JUMBO, and controllers that does not support checksum offloading for jumbo frames will set MSK_FLAG_JUMBO_NOCSUM. For Fast Ethernet controllers it will set MSK_FLAG_FASTETHER and it would be used in link state handling. While here, disable Tx checksum offloading if jumbo frame is used on controllers that does not have Tx checksum offloading capability for jumbo frame(e.g. Yukon EC Ultra). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T04:25:08.451527Z K 7 svn:log V 62 Caller already hold a driver lock in mii callback, assert it. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T04:27:12.518091Z K 7 svn:log V 30 Oops, add missing ~ operator. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T06:09:18.031964Z K 7 svn:log V 108 Add support for newer descriptor format. This format is used on Yukon FE+, Yukon Extreme and Yukon Supreme. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T06:19:36.679931Z K 7 svn:log V 355 Explicitly check resolved speed/duplex. Just checking IFM_ACTIVE does not guarantee established link. Also 1000baseT link report for fast ethernet controller is not valid one so make sure gigabit link is allowed for this controller. Whenever we lost link, check whether Rx/Tx MACs were enabled. If both MAC are not active, do not try to disable it again. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T06:29:02.644572Z K 7 svn:log V 157 Disable HW WOL for Yukon EC Ultra. While I'm here use switch statement over if-else statement. This change will make it easy to add newer Yukon controllers. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-25T06:33:11.205646Z K 7 svn:log V 82 Flag an arg as unused for the 'make' build. It is used when building as 'jbuild'. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-25T06:36:02.395112Z K 7 svn:log V 153 Rough merge of the manifest file support from p4. The merged code needs to be updated to handle the change which removed write_entry(). Not a big deal. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T06:39:48.603576Z K 7 svn:log V 280 Explicitly reset GMAC Controls and initialize GM_GP_CTRL register. The GM_GP_CTRL register may have stale content from previous link information so clearing it will make hardware update the register correctly when it established a valid link. While I'm here remove stale comment. END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-25T06:45:33.632824Z K 7 svn:log V 136 Implement "addr1,+N" ranges - not dissimilar to grep's -A switch. PR: 134856 Submitted by: Jeremie Le Hen - jeremie at le-hen dot org END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-25T06:58:42.711178Z K 7 svn:log V 56 Regression test the 'addr1,+N' feature added in r192732 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T07:06:10.021834Z K 7 svn:log V 613 Add preliminary Yukon FE+ support and register definitions. Yukon FE+ is fast ethernet controller and uses new descriptor format. Since I don't have this controller, the support code was written from guess and various feedback from enthusiastic users. Thanks to all users who patiently tested my initial patches. Special thanks to Tanguy Bouzeloc who fixed critical bug of initial patch. Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com ) Bruce Cran ( bruce <> cran dot org dot uk ) Michael Reifenberger ( mike <> reifenberger dot com ) Stephen Montgomery-Smith ( stephen <> missouri dot edu ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T07:31:18.932518Z K 7 svn:log V 849 Add workaround for Yukon FE+ A0. This controller is known to have severe silicon bugs that can't handle VLAN hardware tagging as well as status LE writeback bug. The status LE writeback bug is so critical we can't trust status word of received frame. To accept frames on Yukon FE+ A0 msk(4) just do minimal check for received frames and pass them to upper stack. This means msk(4) can pass corrupted frames to upper layer. You have been warned! Also I supposed RX_GMF_FL_THR to be 32bits register but Linux driver treated it as 16bit register so follow their leads. At least this does not seem to break msk(4) on Yukon FE+. Tested by: bz, Tanguy Bouzeloc ( the.zauron <> gmail dot com ) Bruce Cran ( bruce <> cran dot org dot uk ) Michael Reifenberger ( mike <> reifenberger dot com ) Stephen Montgomery-Smith ( stephen <> missouri dot edu ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T07:48:00.360931Z K 7 svn:log V 70 Add device ids for Yukon FE+(88E8040, 88E8040T, 88E8048 and 88E8070). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T07:50:14.545634Z K 7 svn:log V 51 If interface is not UP, don't return media status. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T07:56:14.612811Z K 7 svn:log V 65 Don't reinitialize controller when interface is already running. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T07:59:30.983110Z K 7 svn:log V 46 Be consistent with other capability checking. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T08:02:05.784998Z K 7 svn:log V 31 Simplify SIOCSIFFLAGS handler. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T08:11:03.982237Z K 7 svn:log V 107 msk(4) now supports Yukon FE+. Specifically 88E8040, 88E8040T, 88E8048 and 88E8070 are supported. Bump .Dd END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T08:26:39.925656Z K 7 svn:log V 111 Correct controller description for 88E8035, 88E8036, 88E8038 and 88E8039. These are fast ethernet controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-05-25T08:27:52.009595Z K 7 svn:log V 111 Correct controller description for 88E8035, 88E8036, 88E8038 and 88E8039. These are fast ethernet controllers. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T09:09:43.520669Z K 7 svn:log V 170 Copy spx_usrreq.c to spx_reass.c in order to apply similar file layout changes to IPX/SPX that were applied to TCP/IP in the creation of tcp_reass.c. MFC after: 1 month END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-25T09:23:26.283679Z K 7 svn:log V 204 Enhance the 'p' command so that it understands size qualifiers (K/M/G) and so that it understands '*' as 'DTRT'. PR: 68312 Submitted by: Rene de Vries - rene at tunix dot nl (mostly) MFC after: 3 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T09:28:54.986467Z K 7 svn:log V 86 Complete move of SPX reassembly from spx_usrreq.c to spx_reass.c. MFC after: 1 month END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-05-25T09:52:58.247119Z K 7 svn:log V 87 o Fix typo in the example. PR: docs/134930 Submitted by: Alex Keda MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T09:57:18.043828Z K 7 svn:log V 74 Prefer m_nextpkt to m_act when iterating mbuf queues. MFC after: 1 month END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-05-25T10:09:05.644270Z K 7 svn:log V 43 MFC r191454: correct geli(8) command line. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-05-25T10:10:46.783446Z K 7 svn:log V 56 MFC r191682: correct ng_hole(4) control messages names. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-05-25T10:12:27.589160Z K 7 svn:log V 52 MFC r192198: add missed semicolon in action script. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-05-25T10:22:39.650788Z K 7 svn:log V 71 MFC r191681,191698,191834: NetBSD 5.0, OpenBSD 4.5, FreeBSD 7.2 added. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T10:25:41.299626Z K 7 svn:log V 79 Pull SPX reassembly queue init and flush into spx_reass.c. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T11:50:58.130275Z K 7 svn:log V 319 Rather than store a skeleton IPX header in an mbuf hung off the SPX PCB, simply embed it in the PCB, avoiding additional memory overhead, memory allocation overhead, and removing one of the few remaining uses of dtom() in the network stack. Restore misplaced spx_ctlinput() from an earlier commit. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T11:52:33.413610Z K 7 svn:log V 62 Prefer NULL to 0 for pointer assignments. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T13:32:54.104114Z K 7 svn:log V 137 Eliminate use of dtom() in spx_output() by fixing up tracking of the containing mbuf for 'si' in local variable 'm'. MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T13:34:03.975136Z K 7 svn:log V 204 Add missing call to ipx_pcbdetach() during SPX socket tear-down: not harmful in practice if running without INVARIANTS, but will panic with KASSERT enabled when SPX sockets are closed. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T13:52:51.601602Z K 7 svn:log V 65 Staticize spx_remque() now that it's only used from spx_reass.c. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-25T14:36:21.025566Z K 7 svn:log V 490 Merge r191269 from HEAD to stable/7: Remove support for FUTEX_REQUEUE operation. Glibc does not use this operation since 2.3.3 version (Jun 2004), as it is racy and replaced by FUTEX_CMP_REQUEUE operation. Glibc versions prior to 2.3.3 fall back to FUTEX_WAKE when FUTEX_REQUEUE returned EINVAL. Any application directly using FUTEX_REQUEUE without return value checking are definitely broken. Limit quantity of messages per process about unsupported operation. Approved by: kib(mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-05-25T14:37:10.443666Z K 7 svn:log V 221 Use, in uncovered part, the END() macro in order to improve debugging. In this specific case, Valgrind won't get confused when analyzing such functions. Sponsored by: Sandvine Incorporated Tested by: emaste MFC: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-25T14:51:47.427182Z K 7 svn:log V 121 Remove comment about moving tcp_reass() to its own file named tcp_reass.c, that happened a while ago. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-25T15:48:10.749997Z K 7 svn:log V 155 Add the "-4" option to nfsstat, so that it will reports stats for the experimental nfs subsystem when that option is specified. Approved by: kib (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-25T16:34:35.187131Z K 7 svn:log V 51 rev bpf attach/detach event api to include the dlt END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-25T16:35:31.811137Z K 7 svn:log V 49 do internal bpf tracking only for radiotap DLT's END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-05-25T16:38:47.015936Z K 7 svn:log V 306 Fix handling of devices w/o radiotap support: o do not attach DLT_IEEE802_11_RADIO unless both tx and rx headers are present; this is assumed in the capture code paths o verify the above with asserts in ieee80211_radiotap_{rx,tx} o add missing checks for active taps before calling ieee80211_radiotap_rx END K 10 svn:author V 5 markm K 8 svn:date V 27 2009-05-25T17:06:24.392356Z K 7 svn:log V 71 Euro is missing With this I shall see it fixed Thank you for your time END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-25T19:55:00.399653Z K 7 svn:log V 204 Merge r191988 from HEAD to stable/7: Add forgotten linux to bsd flags argument mapping into the linux_recv(). PR: kern/134276 Submitted by: Thomas Mueller Approved by: kib (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-25T20:07:41.681591Z K 7 svn:log V 325 Fix kdump build when building it by hand. I don't entirely like this approach, but it will only be temporarily, namely until we get rid of COMPAT_43TTY. I do want to cause a compiler error when included, because it's just there for binary compatibility. Reported by: Andrzej Tobola END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-25T20:24:36.249160Z K 7 svn:log V 354 Merge r191989 from HEAD to stable/7: Translate l_timeval arg to native struct timeval in linux_setsockopt()/linux_getsockopt() for SO_RCVTIMEO, SO_SNDTIMEO opts as l_timeval has MD members. Remove bogus __packed attribute from l_timeval struct on __amd64__. PR: kern/134276 Submitted by: Thomas Mueller Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-25T20:35:41.881217Z K 7 svn:log V 127 Merge r191880 from HEAD to stable/7: Change linux struct tms definition to match actual linux one. Approved by: kib (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-25T21:12:49.334075Z K 7 svn:log V 70 tell vfs not to refcount the mountpoint, we already do this ourselves END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-25T21:27:31.043714Z K 7 svn:log V 87 Bump the document date to reflect the 'p' command enhancements. Suggested by: trhodes END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-25T21:29:06.056642Z K 7 svn:log V 96 Bump the document date to reflect the recent address range enhancements. Suggested by: throdes END K 10 svn:author V 5 markm K 8 svn:date V 27 2009-05-25T22:50:11.965543Z K 7 svn:log V 66 There is rubbish here It is time to take it out Now it is cleaner END K 10 svn:author V 5 markm K 8 svn:date V 27 2009-05-25T23:06:46.874548Z K 7 svn:log V 64 I have been here long The duration I know not I tell what I can END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-05-26T00:07:02.214698Z K 7 svn:log V 306 Per the man page: The makekey utility has been deprecated and will be removed in a future release of FreeBSD. Actually removing it was approved back on 10/29/2007 by re (kensmith) but I dropped the ball on actually removing it. It's doubtful that it's become more relevant/useful in the intervening time. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-26T00:11:11.815050Z K 7 svn:log V 127 Move the jbuild-port from p4. The handling of the filemon kernel module needs to be updated now that buildmon isn't being used END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-05-26T00:16:16.863649Z K 7 svn:log V 53 Update the install dir for the filemon kernel module END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T00:23:03.136364Z K 7 svn:log V 158 - make tx type operation dependent rather than vfs state dependent - simplify ZIL replay handing - add dmu_read_flags to allow explicit disabling of prefetch END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-26T01:09:33.625535Z K 7 svn:log V 267 Fix the experimental nfs server's interface to the new krpc so that it handles the case of a non-exported NFSv4 root correctly. Also, delete handling for the case where nd_repstat is already set in nfs_proc(), since that no longer happens. Approved by: kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-26T01:16:09.548043Z K 7 svn:log V 211 Fix the handling of NFSv4 Illegal Operation number to conform to RFC3530 (the operation number in the reply must be set to the value for OP_ILLEGAL). Also cleaned up some indentation. Approved by: kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-26T01:47:37.799601Z K 7 svn:log V 275 Add two sysctl variables to the experimental nfs server, so that the range of versions of NFS handled by the server can be limited. The nfsd daemon must be restarted after these sysctl variables are changed, in order for the change to take effect. Approved by: kib (mentor) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T03:45:58.242090Z K 7 svn:log V 334 - Add polling support - Get rid of arge_fix_chain, use m_defrag like if_vr - Rework interrupt handling routine to avoid race that lead to disabling RX interrupts - Enable full duplex if requested - Properly set station MAC address - Slightly optimize RX loop - Initialize FILTERMATCH and FILTERMASK registers as linux driver does END K 10 svn:author V 6 benjsc K 8 svn:date V 27 2009-05-26T03:56:56.819137Z K 7 svn:log V 117 Free the memory correctly in the error case Submitted by: frtzkatz at yahoo.com Approved by: sam MFC after: 1 month END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T04:33:16.792773Z K 7 svn:log V 121 add the option of having condvars ignoring extra locks held this makes WITNESS much quietery (i.e. more useful) with ZFS END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T04:35:31.185914Z K 7 svn:log V 11 fix assert END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T04:42:31.022614Z K 7 svn:log V 34 add opt_witness.h for last commit END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T04:51:56.503531Z K 7 svn:log V 78 - Provide proper pre_thread/post_ithread functions for GT PCI controller. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T05:30:21.482459Z K 7 svn:log V 155 incorporate Jeffr's patch breaking down the vm_page_queue mutex for operations which don't actually manipulate the page queues in to a hashed set of locks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T05:52:24.130660Z K 7 svn:log V 52 - Provide proper pre_ithread/post_ithread functions END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T05:59:05.343837Z K 7 svn:log V 297 - Provide proper pre_ithread/post_ithread functions for both hard and soft interrupts - Do not handle masked interrupts - Do not write Cause register because most bytes are read-only and writing the same byte to RW fields are pointless. And in case of software interrupt utterly wrong END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T06:01:17.389182Z K 7 svn:log V 37 - Remove now unused NetBSDism intr.h END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T06:02:38.743673Z K 7 svn:log V 62 - Remove erroneus "break" instruction, it was meant for debug END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-05-26T06:20:50.398145Z K 7 svn:log V 179 - Preserve INT_MASK fields in Status register across context switches. They should be modified only by interrupt setup/teardown and pre_ithread/post_ithread functions END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-05-26T06:24:50.904973Z K 7 svn:log V 160 Set PG_WRITEABLE in Book-E pmap_enter[_locked] if it creates a mapping that permits write access. This is similar to r192671. Pointed out and reviewed by: alc END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T07:19:45.881941Z K 7 svn:log V 44 remove assert that doesn't apply to freebsd END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-26T07:29:17.907457Z K 7 svn:log V 50 - Add 'show bio' DDB command. MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-26T07:32:08.421746Z K 7 svn:log V 327 Fix a race that can stall the timer when we remove a timer that has another timer with a <0.05 second delta next to it. This is done by avoiding the possibility of updating the first residual time delta in the timer list to zero. PR: 102747 Submitted by: Sergey Zaharchenko - doublef-ctm at yandex dot ru MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-05-26T07:40:32.969832Z K 7 svn:log V 83 Mention the danger of running programs using ``!''. PR: 112481 MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-26T08:21:59.949447Z K 7 svn:log V 321 MFp4 changes neccessary for NFSv4 ACLs support in ZFS. This is mostly about removing a few #ifdefs and providing compatibility wrappers and VOP implementations to get and set an ACL; ZFS does ACL enforcement all by itself. Note that the VOPs are ifdefed out for now, so this change should be a no-op. Reviewed by: pjd END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-05-26T08:39:44.895006Z K 7 svn:log V 118 simplify vm_pageout_clean by having it always drop the vm page lock - add asserts to help track down a missing unlock END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-05-26T09:19:21.221644Z K 7 svn:log V 28 Add missing socket options. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-26T10:03:44.084646Z K 7 svn:log V 144 - Fix wrong print on BIO_DONE. - Use db_printf instead of printf. While here, apply this to other ddb commands as well. Pointed out by: pjd END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-05-26T11:42:06.510290Z K 7 svn:log V 70 Change license to more bori^Wadul^Wcanonical. Submitted by: rwatson@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-05-26T12:01:37.688262Z K 7 svn:log V 17 Unbreak bktr(4). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-05-26T13:37:05.099204Z K 7 svn:log V 126 Merge r191877 from HEAD to stable/7: Add preliminary KTR(9) support to the linux emulation layer. Approved by: kib (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-26T14:13:12.068646Z K 7 svn:log V 104 MFC: Adjust the way we number CPUs on x86 so that we attempt to "group" all logical CPUs in a package. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-05-26T14:15:06.456983Z K 7 svn:log V 55 - Unbreak 64 bit platforms by casting off_t to intmax. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-26T14:43:12.668999Z K 7 svn:log V 54 Re-remove NETISR2 from GENERIC in the netisr2 branch. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-05-26T14:43:44.164036Z K 7 svn:log V 70 Add a specific NETISR2 config file for side-by-side testing purposes. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-05-26T15:19:04.684806Z K 7 svn:log V 515 Add two new utilities and two new daemons to /usr/src/usr.sbin that are specifically used by the experimental nfsv4 subsystem. nfscbd - The NFSv4 client callback daemon. nfsuserd - The NFSv4 daemon that maps between user and group name and their corresponding uid/gid numbers. nfsdumpstate - A utility that dumps out the NFSv4 Open/Lock state. nfsrevoke - Administratively revokes an NFSv4 client, releasing all NFSv4 Open/Lock state it holds on the server. Approved by: kib (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-05-26T15:30:32.891793Z K 7 svn:log V 93 MFC: Only use the ABI compat shim for vfs.bufspace if the old buffer is smaller than a long. END