ĨB180184 191 493 210 248 160 278 549 149 465 516 131 121 153 392 367 730 138 187 384 177 154 167 124 108 212 225 143 341 150 322 164 355 437 132 122 136 108 337 192 149 149 332 139 154 166 324 546 209 367 140 259 177 368 1319 402 470 1082 302 157 126 156 121 119 148 231 191 169 232 124 274 119 174 239 546 241 393 379 335 339 167 970 382 182 343 453 363 152 653 160 174 170 140 157 166 321 122 253 130 326 218 250 303 228 121 378 265 355 363 538 179 150 217 259 210 257 137 672 154 154 208 180 411 150 305 447 253 200 394 252 380 146 615 158 143 242 188 339 144 166 250 162 182 217 124 332 140 346 154 150 353 220 162 238 390 462 297 214 1178 239 169 303 602 267 347 207 436 177 638 217 625 216 326 296 284 223 201 173 153 332 557 139 359 206 161 162 212 564 359 260 161 649 379 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T14:50:30.937938Z K 7 svn:log V 396 Merge audit_worker.c:1.24 (sys:r179176) from head to stable/7: Don't use LK_DRAIN before calling VOP_FSYNC() in the panic case for audit trail failure -- this doesn't contribute anything, and might arguably be wrong. MFC after: 1 week Requested by: attilio Notice that the previous commit merging r179178 was in fact for audit_worker.c:1.25, but the same description applies. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T15:23:08.726226Z K 7 svn:log V 113 Merge spx_usrreq.c:1.87 (r179332) from head to stable/7: Avoid unnecessary one use of dtom(9) in spx_input(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T15:38:20.315554Z K 7 svn:log V 151 Merge spx_usrreq.c:1.88 (r179408) from head to stable/7: Correct minor comment typos, make white space use before block comments more consistent. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-07-02T15:51:59.218866Z K 7 svn:log V 68 Drag this code kicking and screaming into the twenty-first century. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T16:08:42.669643Z K 7 svn:log V 181 Merge spx_usrreq.c:1.89 (r179410) from head to stable/7: Rather than m_free(dtom(si)) in spx_reass(), return (1) which causes the caller to free the mbuf without using dtom(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T16:22:00.811254Z K 7 svn:log V 452 Merge uipc_syscalls.c:1.272 (r179196) from head to stable/7: When sendto(2) is called with an explicit destination address argument, call mac_socket_check_connect() on that address before proceeding with the send. Otherwise policies instrumenting the connect entry point for the purposes of checking destination addresses will not have the opportunity to check implicit connect requests. Sponsored by: nCircle Network Security, Inc. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2008-07-02T16:22:52.425233Z K 7 svn:log V 54 Record eri@ as current mentee of thompsa@ and myself. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T17:28:41.873444Z K 7 svn:log V 368 Merge ip_dummynet.c:1.116, raw_ip.c:1.185 (r179201) from head to stable/7: Consistently check IPFW and DUMMYNET privileges in the configuration routines for those modules, rather than in the raw socket code. This each privilege check to occur in exactly once place and avoids duplicate checks across layers. Sponsored by: nCircle Network Security, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T17:40:34.123761Z K 7 svn:log V 419 Merge files:1.1309 (r179787) from head to stable/7: When NETATALK is compiled into the kernel, at_rmx.c is required regardless of whether NETATALKDEBUG is enabled, so make building it conditional on NETATALK instead. This problem appears to have been present from the time that the netatalk implementation was imported. PR: 124456 Submitted by: Nathan Whitehorn END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-02T18:37:45.232943Z K 7 svn:log V 37 Pretend that this file isn't binary. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-02T19:57:37.865844Z K 7 svn:log V 27 Attempt to set the charset END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-02T20:03:35.553202Z K 7 svn:log V 59 Add myself as mentee. Approved by: imp (mentor, implicit) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2008-07-02T20:44:33.929752Z K 7 svn:log V 294 Use msleep_spin() instead of unlock/tsleep/lock. This was already commited but with a wrong msleep variant and then backed out. Note that this changes the semantic a little as msleep_spin does not let us to specify priority after wakeup. Approved by: wkoszek, cognet Approved by: kib (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T23:12:40.534048Z K 7 svn:log V 270 Set the IPv6 netisr handler as NETISR_MPSAFE on the basis that, despite there still being some well-known races in mld6 and nd6, running with Giant over the netisr handler provides little or not additional synchronization that might cause mld6 and nd6 to behave better. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-02T23:23:27.536924Z K 7 svn:log V 633 Add soreceive_dgram(9), an optimized socket receive function for use by datagram-only protocols, such as UDP. This version removes use of sblock(), which is not required due to an inability to interlace data improperly with datagrams, as well as avoiding some of the larger loops and state management that don't apply on datagram sockets. This is experimental code, so hook it up only for UDPv4 for testing; if there are problems we may need to revise it or turn it off by default, but it offers *significant* performance improvements for threaded UDP applications such as BIND9, nsd, and memcached using UDP. Tested by: kris, ps END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-02T23:26:20.320271Z K 7 svn:log V 44 Add initial $FreeBSD$ keywords exclude file END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-07-02T23:40:46.382589Z K 7 svn:log V 96 Add Stacey Son to the ranks of src committers. He will be working on DTrace. Approved by: core END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T00:33:08.154607Z K 7 svn:log V 289 Allow $keyword$ checking to be relaxed and be a bit smarter. Instead of checking everything, have an inclusive list of path prefixes to examine. Use svnadmin/conf/exclude to relax checks relative to the above list. Add an extra argument to allow post-commit test tests on an existing rev. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T01:11:16.442557Z K 7 svn:log V 83 Turn off svn:eol-style enforcement. Don't expect a src-style tree under svnadmin/. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T01:19:27.578561Z K 7 svn:log V 60 Enable prefix checking on user/peter/* for testing purposes END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T03:26:30.227458Z K 7 svn:log V 73 Add $FreeBSD$ to the uuencoded test files that didn't have them already. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T03:27:54.194224Z K 7 svn:log V 30 Change mime type to image/png END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T03:36:58.788218Z K 7 svn:log V 14 Add $FreeBSD$ END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T03:47:25.879360Z K 7 svn:log V 117 Set magic property that allows files to bypass keyword expansion. Test commit to make sure it isn't exported to cvs. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T03:50:17.134581Z K 7 svn:log V 130 Set magic fbsd:nokeywords property that allows files to bypass keyword expansion. (file-specific replacement for CVSROOT/exclude) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T04:08:40.637427Z K 7 svn:log V 49 Exclude .cvsignore files from $FreeBSD$ checking END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-03T04:53:14.952402Z K 7 svn:log V 248 Increase the ceiling on the kmem map's size to 3.6GB. Also, define the ceiling as a fraction of the kernel map's size rather than an absolute quantity. Thus, scaling of the kmem map's size will be automatic with changes to the kernel map's size. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-03T06:47:45.899489Z K 7 svn:log V 54 Update copyright date in light of soreceive_dgram(9). END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-03T07:35:34.629784Z K 7 svn:log V 227 Use svn_repos_replay() rather than svn_dir_delta(). This gets access to copyfrom paths in the add_file method. This is one step closer to emulating the old behavior of ignoring $id$ keywords on imports and branch operations. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-07-03T08:35:59.487164Z K 7 svn:log V 69 Change a variable name to not shadow a global Obtained from: vimage END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-03T10:55:13.464555Z K 7 svn:log V 258 Remove GIANT_REQUIRED from IPv6 input, forward, and frag6 code. The frag6 code is believed to be MPSAFE, and leaving aside the IPv6 route cache in forwarding, Giant appears not to adequately synchronize the data structures in the input or forwarding paths. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-03T12:44:36.497108Z K 7 svn:log V 345 Remove a bogusly introduced rtalloc_ign() in rev. 1.335/SVN 178029, generating an RTM_MISS for every IP packet forwarded making user space routing daemons unhappy. PR: kern/123621, kern/124540, kern/122338 Reported by: Paul , Mike Tancsa on net@ Tested by: Paul and Mike Reviewed by: andre MFC after: 3 days END K 10 svn:author V 8 blackend K 8 svn:date V 27 2008-07-03T12:48:13.380236Z K 7 svn:log V 35 Elexol USB MOD3 is also supported. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-07-03T14:09:00.615645Z K 7 svn:log V 30 Add module dependancy on nfs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T14:38:42.951450Z K 7 svn:log V 41 Add Nathan Whitehorn. Approved by: core END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-03T14:51:23.298438Z K 7 svn:log V 16 List my mentees END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-07-03T15:58:30.307544Z K 7 svn:log V 240 Be smarter about disabling interface capabilities. TOE/TSO/TXCSUM will only be disabled if one (or more) of the member interfaces does not support it. Always turn off LRO since we can not bridge a combined frame. Tested by: Stefan Lambrev END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-03T16:48:35.696067Z K 7 svn:log V 97 - fix typos PR: docs/125223 Submitted by: Fabian Keil MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T16:49:33.921101Z K 7 svn:log V 54 Belatedly add myself to the active committer section. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T16:53:19.901185Z K 7 svn:log V 54 Soren was my mentor. I have mentored arun and marius. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-03T17:02:04.476787Z K 7 svn:log V 236 MFC r180071, r180112, r180154: - markup fixes - advise to use rc script to SIGHUP mountd - add some missing words - add information about possiblity of using /prefix network notation [1] PR: docs/124373 [1] Obtained from: NetBSD [1] END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T17:02:43.023836Z K 7 svn:log V 44 Belatedly add myself to the alumni section. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T17:10:18.718431Z K 7 svn:log V 59 Belatedly add myself to the active *cough* doc committers. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-07-03T18:57:00.475490Z K 7 svn:log V 66 Add myself to src committers graph. Approved by: marcel (mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T19:40:59.672679Z K 7 svn:log V 228 Add NO_MAN for the static variant of geom(8). Both the RESCUE and the RELEASE_CRUNCH builds use NO_MAN anyway, so this change is primarily to avoid that developers have to set NO_MAN manually when they build the static variant. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T20:53:15.437491Z K 7 svn:log V 450 Stop building bsdlabel(8) and fdisk(8) on ia64. Both tools are obsoleted by gpart(8). This avoids the following bugs in fdisk: - initializing a disk without MBR bogusly emits the error: fdisk: invalid fdisk partition table found - initializing a disk with or without MBR bogusly emits either: fdisk: Class not found or fdisk: Geom not found: "XXX" - the default geometry for non-ATA and non-SCSI disks is either invalid or sub-optimizal. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-03T21:00:16.628809Z K 7 svn:log V 113 bsdlabel and fdisk are obsoleted on ia64. While here, make sure to remove any remnants of the disklabel manpage. END K 10 svn:author V 6 julian K 8 svn:date V 27 2008-07-03T21:27:40.569788Z K 7 svn:log V 271 Add Marko Zec. Marko has had a perforce account for some time and has been active in the virtualised network side of things for a long time. He is going to be doing more vimage stuff as we prepare to get it into the tree. I am co-mentoring with Silby Approved by: core END K 10 svn:author V 6 cokane K 8 svn:date V 27 2008-07-03T21:45:25.491729Z K 7 svn:log V 45 Belatedly add myself to the committers graph END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-07-03T21:51:30.317413Z K 7 svn:log V 158 Fix some locking and logic bugs pointed out by jhb. These fix driver detach and speed up data transfer by nearly a factor of 2. Approved by: marcel (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-03T22:26:43.702956Z K 7 svn:log V 83 stylify ldd.c, no functional changes. Approved by: bde (mentor) MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-03T22:30:18.801049Z K 7 svn:log V 273 Extract the determination of the kind of (dynamic) executable from the main-loop into a seperate function. Instead of using hardcoded environment variables, define them in a lookup table. For the rest, no functionality changes. Approved by: bde (mentor) MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-03T22:37:51.858984Z K 7 svn:log V 1223 On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them: [/] root@ed-exigent>ldd `which httpd` ldd: /usr/local/sbin/httpd: can't read program header ldd: /usr/local/sbin/httpd: not a dynamic executable But... [/] root@ed-exigent>LD_32_TRACE_LOADED_OBJECTS==1 `which httpd` libm.so.4 => /lib32//libm.so.4 (0x280c8000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x280de000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x280f2000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28110000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x281fd000) libcrypt.so.3 => /lib32//libcrypt.so.3 (0x2821d000) libpthread.so.2 => not found (0x0) libc.so.6 => /lib32//libc.so.6 (0x28235000) libpthread.so.2 => /usr/lib32/libpthread.so.2 (0x2830d000) Added support in ldd(1) for the LD_32_xxx environment variables if the architecture of the machine is >32 bits. If we ever go to 128 bit architectures this excercise will have to be repeated but thanks to earlier commits today it will be relative simple. PR: bin/124906 Submitted by: edwin Approved by: bde (mentor) MFC after: 1 week END K 10 svn:author V 3 das K 8 svn:date V 27 2008-07-03T23:06:06.370796Z K 7 svn:log V 309 Add regression tests for fmin{,f,l} and fmax{,f,l}. I wrote these to test amd64 asm functions that used maxss, maxsd, minss, and minsd, but it turns out that those instructions don't handle NaNs and signed zero in the same way as fmin() and fmax() are required to, so we're stuck with the C versions for now. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2008-07-03T23:26:10.832019Z K 7 svn:log V 374 Use bcopy instead of strlcpy in uipc_bind and unp_connect, since soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the terminating NUL is not part of the address." Since strlcpy has to return "the total length of the string [it] tried to create," it walks off the end of soun->sun_path looking for a \0. This reverts r105332. Reported by: Ryan Stone END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-04T00:21:38.812108Z K 7 svn:log V 985 Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly dispatched without Giant, and add NETISR_FORCEQUEUE, which allows specific netisr handlers to always be dispatched via a queue (deferred). Mark the usb and if_ppp netisr handlers as NETISR_FORCEQUEUE, and explicitly acquire Giant in those handlers. Previously, any netisr handler not marked NETISR_MPSAFE would necessarily run deferred and with Giant acquired. This change removes Giant scaffolding from the netisr infrastructure, but NETISR_FORCEQUEUE allows non-MPSAFE handlers to continue to force deferred dispatch so as to avoid lock order reversals between their acqusition of Giant and any calling context. It is likely we will be able to remove NETISR_FORCEQUEUE once IFF_NEEDSGIANT is removed, as non-MPSAFE usb and if_ppp drivers will no longer be supported. Reviewed by: bz MFC after: 1 month X-MFC note: We can't remove NETISR_MPSAFE from stable/7 for KPI reasons, but the rest can go back. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-04T01:29:12.109544Z K 7 svn:log V 205 MFC revision 179895 and 179896: Add et(4), a port of DragonFly's Agere ET1310 10/100/Gigabit Ethernet device driver, written by sephe@ Obtained from: DragonFly Sponsored by: iXsystems MFC after: 2 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T02:29:27.256709Z K 7 svn:log V 63 Attempt to fix mangled merge in 180142 into a partial checkout END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T02:35:17.745070Z K 7 svn:log V 32 Fix some bizzare merge records. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T02:39:29.055477Z K 7 svn:log V 62 Fix apparent merge into partial checkout problems from 180142 END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T02:39:50.490041Z K 7 svn:log V 27 Fix a mangled merge record END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T02:42:41.786910Z K 7 svn:log V 25 Fix mangled merge record END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T02:51:32.222724Z K 7 svn:log V 54 Collect mergeinfo together from files to a directory. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-04T04:33:33.274828Z K 7 svn:log V 135 Make sunlabel specific to sparc64. This is mostly for backward compatibility reasons. Sun labels, with VTOC8, are handled by gpart(8). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-04T04:39:45.175847Z K 7 svn:log V 96 sunlabel(8) is specific to sparc64. Remove from other platforms. use gpart(8) on all platforms. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-07-04T05:33:58.052500Z K 7 svn:log V 73 port % count will never be greater than LAGG_MAX_PORTS so nuke the test. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-07-04T08:16:10.157044Z K 7 svn:log V 140 Add myself to the mentors list. Also sort the list by mentee name, as stated in comment at the top. Approved by: philip (mentor, implicit) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-07-04T08:23:13.886623Z K 7 svn:log V 30 Put a tired joke back to bed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-04T09:40:52.325816Z K 7 svn:log V 181 The uniqdosname() function takes char[12] as it third argument. Found by: -fstack-protector Reported by: dougb Tested by: dougb, Rainer Hurling MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-04T12:19:56.025558Z K 7 svn:log V 26 Remove Japanese document. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-07-04T14:51:42.904827Z K 7 svn:log V 74 Add manpage for Apple BMAC ethernet driver. Approved by: marcel (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-04T17:36:12.397898Z K 7 svn:log V 146 Eliminate an unused declaration. (In fact, the declaration is bogus because the variable is defined static to pmap.c on i386.) Found by: CScout END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T17:48:34.887603Z K 7 svn:log V 453 Make arl(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after ether_ifattach(). - Use a private timer instead of if_timer/if_watchdog. - Retire arl_unit from the softc and use if_printf() and device_printf() instead. Note that the unpatched driver in 6.x and later does not work with the hardware, so the one person who had volunteered to test the patch wasn't able to test it. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T18:15:36.725786Z K 7 svn:log V 148 Remove the arl(4) driver. It is reported to not work on 6.x or later even though the driver hasn't changed since 4.x (last known working release). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T18:27:14.425465Z K 7 svn:log V 300 Make oltr(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after interface attach. - Retire 'unit' from softc and use if_printf() instead. - Don't frob IFF_UP in the driver. - Use callout_() rather than timeout() and untimeout(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T18:58:53.719947Z K 7 svn:log V 286 Remove the oltr(4) driver. No one responded to calls for testing on current@ and stable@ for the locking patches. The driver can always be revived if someone tests it. This driver also sleeps in its if_init routine, so it likely doesn't really work at all anyway in modern releases. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T19:04:07.733036Z K 7 svn:log V 242 Make cnw(4) MPSAFE: - Add a mutex to the softc and use it to lock the softc and device hardware. - Use a private timer to replace if_watchdog/if_timer. - Use if_printf() rather than if_xname. - Setup interrupt handler after ether_ifattach(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T19:13:15.311264Z K 7 svn:log V 246 Remove the cnw(4) driver. No one responded to calls to test it on current@ and stable@. It also is a driver for an older non-802.11 wireless PC card that is quite slow in comparison to say, wi(4). I know Warner wants this driver axed as well. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-04T19:36:58.589211Z K 7 svn:log V 75 Correct an error in the comments for init_param3(). Discussed with: silby END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T20:53:41.911806Z K 7 svn:log V 877 Make sbni(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after attaching device to network stack. - Use device_set_desc() rather than device_quiet() plus a manual printf that simulates the normal probe printf. - Axe next_sbni_unit and instead just leave room for two sbni devices for each bus attachment. - Don't bzero the already-zero'd softc. - Add a detach method to the PCI driver. - Add a lock to protect the list of available devices used to chain interrupt handlers for dual port ISA cards. - Remove unused watchdog routine. - If if_alloc() fails, make sbni_attach() return an error rather than panic'ing. - Consolidate code to free bus resources into sbni_release_resources(). - Clear IFF_DRV_RUNNING|OACTIVE in stop() routine instead of in callers. - Let ether_ioctl() handle SIOCSIFMTU. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-04T21:01:30.631962Z K 7 svn:log V 287 Enqueue de-capsulated packet instead of performing direct dispatch. It's possible to exhaust and garble stack with a packet that contains a couple of hundreds nested encapsulation levels. Submitted by: Ming Fu Reviewed by: rwatson PR: kern/85320 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T21:06:57.032454Z K 7 svn:log V 90 Remove the sbni(4) driver. No one responded to calls to test it on current@ and stable@. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T21:13:18.697339Z K 7 svn:log V 250 Make sbsh(4) MPSAFE: - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after ether_ifattach(). - Remove unused sbsh_watchdog() routine. - Protect against concurrent attempts to load firmware. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-07-04T21:24:35.068237Z K 7 svn:log V 360 Remove the sbsh(4) driver. No one responded to requests for testing the MPSAFE patches on current@ and stable@. This driver also has a fundamental issue in that it sleeps when sending commands to the card including in the if_init/if_start routines (which can be called from interrupt context). As such, the driver shouldn't be working reliably even on 4.x. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-04T23:40:53.199106Z K 7 svn:log V 267 Fix my previous commit. We actually should pass evaluation args in AcpiEvaluateObject() calls, otherwise, we are not able to bring devices back up (NULL means 0, hence always off). While there add missing WLAN on/off support. MFC after: 3 days Pointy hat to: rpaulo END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T01:45:31.644158Z K 7 svn:log V 55 Don't use the deprecated linux/ext2_fs.h include file. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T01:48:33.872338Z K 7 svn:log V 555 When ARCHIVE_EXTRACT_PERM is requested (e.g., by "tar -p"), always schedule a chmod() fixup for directories. In particular, this fixes sgid handling on systems where the sgid bit is inherited from the parent directory (which means that the actual mode of the dir does not match the mode used in the mkdir() system call. It may be possible to tighten this condition a bit. In working through this, I also found a few other places where it looks like we can avoid a redundant syscall or two. I've commented those here but not yet tried to address them. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T01:50:07.326398Z K 7 svn:log V 63 Remove a couple of capability definitions that are never used. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T01:50:40.896487Z K 7 svn:log V 77 libarchive in FreeBSD-CURRENT is now synched with libarchive-portable 2.5.5. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T02:05:55.912755Z K 7 svn:log V 73 Use %H:%M for strftime() time formatting instead of the non-portable %R. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T02:06:55.920171Z K 7 svn:log V 43 Stop using the deprecated linux/ext2_fs.h. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T02:09:13.051971Z K 7 svn:log V 60 Remove HAVE_STRUCT_STAT_ST_RDEV, as it's not used anywhere. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T02:09:54.267039Z K 7 svn:log V 69 FreeBSD-CURRENT bsdtar is synched up with libarchive-portable 2.5.5. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-07-05T02:21:51.514280Z K 7 svn:log V 223 Revert CVS revision 1.68; it is now possible for entry to be NULL at the end of write_entry. (This was perfectly safe, since archive_entry_free(NULL) is a no-op, but adding the check back makes the style more consistent.) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T05:15:07.061720Z K 7 svn:log V 25 Remove an unused define. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T05:16:23.576081Z K 7 svn:log V 155 In -pl mode, only hardlink regular files. I need to test other implementations, but it's clear that dirs and symlinks, at least, shouldn't be hardlinked. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-05T05:17:33.477603Z K 7 svn:log V 33 bsdcpio is now at version 1.0.0. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-07-05T06:05:34.653888Z K 7 svn:log V 228 Clean up write_entry by eliminating fd except in the #ifdef __linux block where it is used. [1] Don't leak file descriptors in write_entry_backend if archive_write_header returns ARCHIVE_FAILED. Found by: Coverity Prevent [1] END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-07-05T06:12:14.900463Z K 7 svn:log V 126 Add CTF conversion to the objects compiled from generated code. This allows DTrace scripts to access variables like 'ostype'. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-07-05T08:03:08.832524Z K 7 svn:log V 152 Use malloc in write_archive to allocate a 64kB buffer for holding file data instead of using 64kB of stack space in copy_file_data and write_file_data. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2008-07-05T08:10:55.970915Z K 7 svn:log V 205 Move duplicated code from tar_mode_[cru] into archive_write. Fix a bug I introduced 7 minutes ago: clean up properly from archive_write if we exit the argv-handling loop due to -C not having an argument. END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-07-05T08:14:04.614989Z K 7 svn:log V 133 MFC r79910: Add -v (verbose) option to -l command, to show size and backing store of all md devices at one time. Approved by: phk END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-07-05T08:54:58.571694Z K 7 svn:log V 29 Two quotes too good to miss. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-05T10:29:27.595670Z K 7 svn:log V 282 MFC r154990, r180071, r180112, r180154: - use the ".Pa" macro for path names - markup fixes - advise to use rc script to SIGHUP mountd - add some missing words - add information about possiblity of using /prefix network notation [1] PR: docs/124373 [1] Obtained from: NetBSD [1] END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-05T10:47:59.452297Z K 7 svn:log V 169 MFC r180155: - add the -m option to the example commands because they would fail w/o it as the ``man'' user does not have a valid shell by default. PR: docs/121713 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-05T11:01:11.670273Z K 7 svn:log V 259 MFC r162792 [1], r171562 [2], r180155 [3]: - markup fixes [1] - Stop mentioning /usr/X11R6 [2] - add the -m option to the example commands because they would fail w/o it as the ``man'' user does not have a valid shell by default. [3] PR: docs/121713 [3] END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-05T11:08:26.204845Z K 7 svn:log V 267 MFC r180158: - install the example wpa_supplicant.conf file to the share/examples/etc directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-05T13:10:10.469756Z K 7 svn:log V 441 Introduce a new lock, hostname_mtx, and use it to synchronize access to global hostname and domainname variables. Where necessary, copy to or from a stack-local buffer before performing copyin() or copyout(). A few uses, such as in cd9660 and daemon_saver, remain under-synchronized and will require further updates. Correct a bug in which a failed copyin() of domainname would leave domainname potentially corrupted. MFC after: 3 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T13:40:36.878731Z K 7 svn:log V 84 MFC: r170478 Add ofw_bus_if.h as a dependency on sparc64, necessary since r180051. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T13:45:44.029649Z K 7 svn:log V 55 Fix the compiltion of bind when NO_OPENSSL is defined. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-05T15:13:21.077176Z K 7 svn:log V 124 Quiet down rc.d/nfsclient by not printing anything in 'quiet' mode. Instead issue a warning of it fails to set the sysctls. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-05T15:19:58.948280Z K 7 svn:log V 166 There's no need to announce that we're mounting local filesystems when running in quiet mode since if we fail to mount any of them the boot process gets interrupted. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-05T15:27:39.355782Z K 7 svn:log V 117 No need to display the result of enabling the ipfw sysctl if it's successfull. Issue a warning if it fails, however. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T15:28:30.074430Z K 7 svn:log V 161 Revert the addition of "__volatile" to "__asm" done in r180011, since the condition codes where added to the clobber lists in r180073 the former is unnecessary. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T15:30:07.881886Z K 7 svn:log V 42 - Fix spelling and style. - Use __FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T15:44:56.238051Z K 7 svn:log V 576 - Merge macros depending on the flags being preserved between calls into a single "__asm"-statement as GCC doesn't guarantee their consecutive output even when using consecutive "__asm __volatile"- statement for them. Remove the otherwise unnecessary "__volatile". [1] - The inline assembler instructions used here alter the condition codes so add them to the clobber list accordingly. - The inline assembler instructions used here uses output operands before all input operands are consumed so add appropriate modifiers. Pointed out by: bde [1] MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T16:28:08.737043Z K 7 svn:log V 59 MFC: r180073 Add the condition codes to the clobber list. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T16:28:52.940954Z K 7 svn:log V 59 MFC: r180073 Add the condition codes to the clobber list. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-07-05T16:30:46.922120Z K 7 svn:log V 112 MFC: r180010 Given that sun4u uses sparc64/sparc64/in_cksum.c, use the sparc64 here also. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2008-07-05T16:31:58.102489Z K 7 svn:log V 87 Add i386_memio_compare() to compare two resources. It's used by uart(4) in the future. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-05T16:39:24.100687Z K 7 svn:log V 314 Rename several functions in if_lmc with potential name collisions with global symbols, such as raw_input and raw_output, to have lmc_ prefixes. This doesn't affect actual functionality since the functions are static, but will limit the opportunities for current confusion and future difficulty. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-05T18:03:39.840266Z K 7 svn:log V 54 Improve approximation of style(9) in raw socket code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-05T18:55:03.768730Z K 7 svn:log V 208 Rename raw_append() to rip_append(): the raw_ prefix is generally used for functions in the generic raw socket library (raw_cb.c, raw_usrreq.c), and they are not used for IPv4 raw sockets. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-05T19:12:55.020955Z K 7 svn:log V 350 Clarify comments and prototypes in raw_cb.h: - the protosw entries are used directly - the usrreq functions are library routines, generally wrapped by consumers rather than being used directly - the usrreq structure entries are likewise typically wrapped Remove the rather incorrect #if 0'd pr_input_t prototype for raw_input. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-05T19:34:33.078610Z K 7 svn:log V 160 Enable the creation of a kmem map larger than 4GB. Submitted by: Tz-Huan Huang Make several variables related to kmem map auto-sizing static. Found by: CScout END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-07-05T19:56:47.906965Z K 7 svn:log V 107 correct construction of delba action frame; don't shift+mask the initiator argument Submitted by: Marvell END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-07-05T20:11:28.864799Z K 7 svn:log V 300 Make sure we are clearing the ZBUF_FLAG_IMMUTABLE any time a free buffer is reclaimed by the kernel. This fixes a bug resulted in the kernel over writing packet data while user-space was still processing it when zerocopy is enabled. (Or a panic if invariants was enabled). Discussed with: rwatson END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-05T20:44:55.764081Z K 7 svn:log V 159 Increase the kernel map's size to 7GB, making room for a kmem map of size greater than 4GB. (Auto-sizing will set the ceiling on the kmem map size to 4.2GB.) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-05T23:19:37.624923Z K 7 svn:log V 284 Use config_intrhook API to create the dev.cpu.N.temperature sysctl node. Our hook creates the sysctl node before root is mounted, but after cpu is probed. It seems that k8temp can be loaded before the cpu module and, in those cases, dev.cpu.0.temperature was not created. PR: 124939 END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-05T23:54:02.797959Z K 7 svn:log V 51 Add a missing call to config_intrhook_establish(). END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-06T06:17:39.943037Z K 7 svn:log V 522 Merge from NetBSD's pcmciadev file (rev ~1.208 - 1.226) where appropriate (versions not appropriate to merge omitted): o 1.226 imp nop, save for NetBSD string (minor merging the other way) o 1.225 jnemeth Coreage LAPCCTXD o 1.224 martin (remove 3rd and 4th clauses) o 1.223 kiyohara (TDK bluetooth PC Card) o 1.222 kiyohara (Anycom BlueCard) o 1.221 ichiro (NEC Infrontia AX420N) o 1.219 jmcneill (EDIMAX EP-4101) o 1.213 tsutsui (TEAC IDECARDII entry fix) Also, while I'm here, fix some tab problems that have crept in. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-06T06:19:19.231668Z K 7 svn:log V 66 Add two corega cards from NetBSD: FETEHR II PCC TXD and LAPCCTXD. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-06T06:24:02.822946Z K 7 svn:log V 51 Add two corega cards and annotate 8041 V2 chipset. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-06T07:51:29.808438Z K 7 svn:log V 149 Make checking for the availability of core dumps work in the case that $dumpdev is not set to "AUTO". Reported by: Paul B. Mahol END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-06T08:31:29.341422Z K 7 svn:log V 96 Remove the $DUMPDIR variable. It's redundant and the rest of the script uses $dumpdir directly. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2008-07-06T10:21:12.434785Z K 7 svn:log V 246 MFC: r180111 Rev. 1.8 broke matching on lines where the failure mode is at the head of the message, such as: Jun 30 10:49:21 rogue sshd[17553]: Invalid user iceman from 127.0.0.1 PR: conf/124569 Submitted by: Taku END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-06T10:44:34.691941Z K 7 svn:log V 49 - fix build; oltr(4) has been removed in r180259 END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-06T10:57:58.326947Z K 7 svn:log V 71 - avoid future breakage: cnw(4), sbni(4) and sbsh(4) have been removed END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-06T11:08:50.224601Z K 7 svn:log V 154 MFC r179371 and r180221 [1]: - various mdoc a spelling fixes - typo fixes [1] PR: docs/125223 [1] Submitted by: Fabian Keil [1] END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-06T11:31:20.570677Z K 7 svn:log V 67 - remove superfluous word - remove contractions MFC after: 3 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-06T12:13:38.752852Z K 7 svn:log V 88 Add support for VT8237 ISA bridge. PR: kern/120714 MFC after: 2 weeks END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-06T12:17:53.678488Z K 7 svn:log V 121 - Add description about a missing return value PR: docs/75995 Submitted by: Tarc MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-06T16:18:58.893589Z K 7 svn:log V 29 Fix comment: s/before/after. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-07-06T16:24:50.827924Z K 7 svn:log V 236 MFC k8temp (r178151, r178152, r178153, r178392, r178949, r178988, r180312, r180313, r180326): A driver to monitor AMD K8 CPU temperature via builtin sensors. This should now be fairly stable as all known bugs have been corrected. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-07-06T16:39:18.584602Z K 7 svn:log V 43 Preserve ownership if cpio is run as root. END K 10 svn:author V 6 danger K 8 svn:date V 27 2008-07-06T17:03:37.003725Z K 7 svn:log V 250 - This code was intially obtained from NetBSD, but it's missing licence statement. Add the one from the current NetBSD version. - Also bump a date to reflect my content changes I have done in previous revision Approved by: imp MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-07-06T20:29:35.096019Z K 7 svn:log V 61 Document default ACLs and how to use them. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-06T20:57:35.700614Z K 7 svn:log V 55 Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-07-06T21:09:29.771034Z K 7 svn:log V 260 As discussed on IRC and at BSDcan, move the mips32/* directories up a level. The distinction was artificial. Some more movement around the deck charis is likely depending on the fallout from this one. Paths were corrected after the svn mv. Hope that's OK. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-06T22:36:28.467388Z K 7 svn:log V 127 Change create_pagetables() and pmap_init() so that many fewer page table pages have to be preallocated by create_pagetables(). END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-07-06T22:47:10.194225Z K 7 svn:log V 69 Add hard sentence breaks. Pointed out by: rwatson MFC after: 1 week END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-07-07T02:39:39.426011Z K 7 svn:log V 141 correct device name errors and wrong informations that currently malo(4) don't support ad-hoc mode and there's no a man page like malofw(4). END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-07T09:15:29.571640Z K 7 svn:log V 297 The r178914 I erronously put the setting of the KQ_FLUXWAIT flag before KQ_FLUX_WAKEUP(). Since the later macro clears the KQ_FLUXWAIT, the kqueue_scan() thread may be not woken up. Move the setting of KQ_FLUXWAIT after wakeup to correct the issue. Reported and tested by: pho MFC after: 3 days END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-07-07T09:25:49.983772Z K 7 svn:log V 364 Add a new ioctl for changing the read filter (BIOCSETFNR). This is just like BIOCSETF but it doesn't drop all the packets buffered on the discriptor and reset the statistics. Also, when setting the write filter, don't drop packets waiting to be read or reset the statistics. PR: 118486 Submitted by: Matthew Luckie MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-07T09:26:52.080015Z K 7 svn:log V 200 Drop read lock on udbinfo earlier during delivery to the last matching UDP socket for a datagram; the inpcb read lock is sufficient to provide inpcb stability during udp_append(). MFC after: 1 month END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2008-07-07T09:27:02.207257Z K 7 svn:log V 116 Update man page for addition of BIOCSETFNR. Subversion didn't want to commit this at the same time for some reason. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-07T09:30:11.760922Z K 7 svn:log V 1084 The kqueue_register() function assumes that it is called from the top of the syscall code and acquires various event subsystem locks as needed. The handling of the NOTE_TRACK for EVFILT_PROC is currently done by calling the kqueue_register() from filt_proc() filter, causing recursive entrance of the kqueue code. This results in the LORs and recursive acquisition of the locks. Implement the variant of the knote() function designed to only handle the fork() event. It mostly copies the knote() body, but also handles the NOTE_TRACK, removing the handling from the filt_proc(), where it causes problems described above. The function is called from the fork1() instead of knote(). When encountering NOTE_TRACK knote, it marks the knote as influx and drops the knlist and kqueue lock. In this context call to kqueue_register is safe from the problems. An error from the kqueue_register() is reported to the observer as NOTE_TRACKERR fflag. PR: 108201 Reviewed by: jhb, Pramod Srinivasan (previous version) Discussed with: jmg Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2008-07-07T10:04:16.382756Z K 7 svn:log V 146 Apply learning from RAIEC (Redundant Array of Independeng English Courses) kindly provided by four different correspondents since my last commit. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-07T10:07:00.999033Z K 7 svn:log V 77 MFC r180252: The uniqdosname() function takes char[12] as it third argument. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-07T10:11:17.742114Z K 7 svn:log V 206 Drop read lock on udbinfo earlier during delivery to the last matching UDP socket for a datagram; the inpcb read lock is sufficient to provide inpcb stability during udp6_append(). MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-07T10:56:55.734187Z K 7 svn:log V 505 First step towards parallel transmit in UDP: if neither a specific source or a specific destination address is requested as part of a send on a UDP socket, read lock the inpcb rather than write lock it. This will allow fully parallel transmit down to the IP layer when sending simultaneously from multiple threads on a connected UDP socket. Parallel transmit for more complex cases, such as when sendto(2) is invoked with an address and there's already a local binding, will follow. MFC after: 1 month END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-07T11:44:57.079893Z K 7 svn:log V 172 Add missing information for geom_mirror metadata. PR: 124434 Submitted by: Philip M. Golluci MFC after: 3 days Prodded through: bugbusters@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-07T12:14:10.164436Z K 7 svn:log V 250 Add additional udbinfo and inpcb locking assertions to udp_output(); for some code paths, global or inpcb write locks are required, but for other code paths, read locks or no locking at all are sufficient for the data structures. MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-07-07T12:20:34.262785Z K 7 svn:log V 114 Add #include for the strtoimax(). Submitted by: Jilles Tjoelker MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-07T12:27:55.666530Z K 7 svn:log V 339 Allow udp_notify() to accept read, as well as write, locks on the passed inpcb. When directly invoking udp_notify() from udp_ctlinput(), acquire only a read lock; we may still see write locks in udp_notify() as the in_pcbnotifyall() routine is shared with TCP and always uses a write lock on the inpcb being notified. MFC after: 1 month END K 10 svn:author V 5 remko K 8 svn:date V 27 2008-07-07T13:08:30.185320Z K 7 svn:log V 83 Fix some spelling errors (improper review from my side). Submitted by: ed, danger END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-07T16:23:04.830412Z K 7 svn:log V 542 When making release with NOPORTS, we'll checkout only the mininal set of ports required to make the docs. However, we also need ports/sysutils/cdrtools in order to make the ISO images. When a platform doesn't have packages, the release will fail in that case. Add ports/sysutils/cdrtools to RELEASEPORTSMODULE for the DOMINIMALDOCPORTS case to handle the NOPORTS release build. Note that this change doesn't try to handle the NOPORTS with NODOC case. For we have NOPORTSATALL set and it seems wrong to check out a ports module in that case. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-07-07T17:24:55.728194Z K 7 svn:log V 124 reorder RSN/WPA2 ie in beacon and probe response frames to comply with IEEE802.11-2007 spec Submitted by: Chris Zimmermann END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-07T17:25:09.527792Z K 7 svn:log V 532 In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT to vm_page_alloc() instead of VM_ALLOC_SYSTEM. VM_ALLOC_SYSTEM was the logical choice before FreeBSD 7.0 because VM_ALLOC_INTERRUPT could not reclaim a cached page. Simply put, there was no ordering between VM_ALLOC_INTERRUPT and VM_ALLOC_SYSTEM as to which "dug deeper" into the cache and free queues. Now, there is; VM_ALLOC_INTERRUPT dominates VM_ALLOC_SYSTEM. While I'm here, teach pmap_growkernel() to request a prezeroed page. MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-07T17:31:02.786120Z K 7 svn:log V 123 In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT to vm_page_alloc() instead of VM_ALLOC_SYSTEM. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-07-07T17:43:56.139891Z K 7 svn:log V 230 Add inline function ia64_fc_i() to abstract inline assembly. Use the new inline function in ia64_invalidate_icache(). While there, add proper synchronization so that we know the fc.i instructions have taken effect when we return. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-07-07T18:39:47.276226Z K 7 svn:log V 203 MFC rev 179912: Add support for PORT/EPRT FTP commands in lowercase. Use strncasecmp() instead of huge local implementation to reduce code size. Check space presence after command/code. PR: kern/73034 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-07T20:45:55.567776Z K 7 svn:log V 192 Move cpuset_refroot and cpuset_refbase functions up, grouping the cpuset_ref* functions together. Will make it easier to read and add code without forward declarations. No functional changes. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-07T20:53:49.426759Z K 7 svn:log V 131 MFp4 144659: Plug a memory leak with jail services. PR: 125257 Submitted by: Mateusz Guzik MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-07T21:32:02.876450Z K 7 svn:log V 109 Add a `show cpusets' DDB command to print numbered root and assigned CPU affinity sets. Reviewed by: brooks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-07-07T22:55:11.925778Z K 7 svn:log V 77 Add HWPMC_HOOKS to GENERIC kernels, this makes hwpmc.ko work out of the box. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-07-08T03:08:32.773743Z K 7 svn:log V 57 posix_spawn() is supported, set _POSIX_SPAWN to 200212L. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-07-08T03:21:05.670884Z K 7 svn:log V 234 Enable the -n option of pkg_create(1). The changes to make the option work are already in place, but I missed the patch hunk that adds it to the getopt() option-handling loop. Pointy hat: keramida Approved by: flz MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-08T04:00:22.889400Z K 7 svn:log V 464 Rev 180333, ``Change create_pagetables() and pmap_init() so that many fewer page table pages have to be preallocated ...'', violates an assumption made by minidumpsys(): kernel_vm_end is the highest virtual address that has ever been used by the kernel. Now, however, the kernel code, data, and bss may reside at addresses beyond kernel_vm_end. This revision modifies the upper bound on minidumpsys()'s two page table traversals to account for this possibility. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2008-07-08T04:15:07.219645Z K 7 svn:log V 43 remove a useless example. Pointed by: imp END K 10 svn:author V 6 philip K 8 svn:date V 27 2008-07-08T09:54:19.148098Z K 7 svn:log V 263 MFC r180140: Set bridge MAC addresses to the MAC address of their first interface unless locally configured. This is more in line with the behaviour of other popular bridging implementations and makes bridges more predictable after reboots for example. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-08T10:15:23.088692Z K 7 svn:log V 109 Use soreceive_dgram() and sosend_dgram() with UDPv6, as we do with UDPv4. Tested by: ps MFC after: 3 months END K 10 svn:author V 4 sson K 8 svn:date V 27 2008-07-08T15:36:44.370470Z K 7 svn:log V 68 Added myself to the src committers graph. Approved by: jb (mentor) END K 10 svn:author V 4 sson K 8 svn:date V 27 2008-07-08T15:43:54.940669Z K 7 svn:log V 69 Added my birthday to the FreeBSD calendar. Approved by: jb (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-07-08T17:22:59.743318Z K 7 svn:log V 115 Provide some initial chicken-scratching annotations of locking for struct inpcb. Prodded by: bz MFC after: 3 days END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-07-08T17:34:50.753825Z K 7 svn:log V 470 - Simplify the procedure of retrieving XML-data from the kernel. - Fix a number of potential memory leaks in libgeom related to doing realloc without freeing old pointer if things go wrong. - Fix a number of places in libgeom where malloc and calloc return values were not checked. - Check malloc return value and provide sufficient warning messages when XML parsing fails. PR: kern/83464 Submitted by: Dan Lukes Approved by: kib (mentor) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-08T18:21:44.017451Z K 7 svn:log V 264 Queue decapsulated packed instead of performing direct dispatch. Some execution pathes might hit stack limit under certain circumstances (e.g. ng_mppc). PR: kern/125314 Reported by: Illya Klymov END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-07-08T18:41:36.052072Z K 7 svn:log V 168 Change the parameters to in6_selectsrc(): - pass in the inp instead of both in6p_moptions and laddr. - pass in cred for upcoming prison checks. Reviewed by: rwatson END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-07-08T20:19:43.046870Z K 7 svn:log V 67 Back out r180370. It was not discussed with subsystem maintainers. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-07-08T22:59:17.810319Z K 7 svn:log V 556 Eliminate pmap_growkernel()'s dependence on create_pagetables() preallocating page directory pages from VM_MIN_KERNEL_ADDRESS through the end of the kernel's bss. Specifically, the dependence was in pmap_growkernel()'s one- time initialization of kernel_vm_end, not in its main body. (I could not, however, resist the urge to optimize the main body.) Reduce the number of preallocated page directory pages to just those needed to support NKPT page table pages. (In fact, this allows me to revert a couple of my earlier changes to create_pagetables().) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2008-07-08T23:51:38.013999Z K 7 svn:log V 284 Improve the output of kldload(8) to show which module can't be loaded. Was: kldload: Unsupported file type Is now: kldload: /boot/modules/test.ko: Unsupported file type PR: kern/121276 Submitted by: Edwin Groothuis Approved by: bde (mentor) MFC after: 1 week END