ƒ³1148712 184 244 137 368 176 133 139 144 131 144 149 227 156 146 135 129 275 645 153 142 136 163 296 447 127 127 152 587 112 172 118 334 258 126 252 242 176 353 427 208 303 146 301 216 299 119 201 285 529 161 164 276 167 189 177 207 210 549 526 498 1116 160 208 255 380 157 639 130 146 138 141 571 187 164 165 162 163 172 494 208 189 181 151 151 130 131 224 222 151 161 494 1156 205 266 478 149 2597 103 419 179 296 135 345 399 226 138 268 200 239 165 343 220 209 137 146 147 179 156 166 290 388 219 144 303 447 191 292 198 504 232 135 109 807 210 212 1476 226 113 287 290 114 180 163 120 120 284 227 558 142 116 164 220 2421 531 479 164 215 551 241 245 1175 471 367 486 192 335 162 163 379 435 213 329 216 167 242 1433 593 116 161 105 159 138 277 463 153 K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-05T00:36:59.000000Z K 7 svn:log V 149 MFC: Fix a comparison that broke ``set console=vidconsole'' and even the loader.conf line ``console="vidconsole"''. Approved by: re (kensmith) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2005-08-05T01:04:36.000000Z K 7 svn:log V 40 Call usage() instead of being insolent. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-05T04:56:14.000000Z K 7 svn:log V 275 When the MAC address is reported all zeros, then error is necessarily 0. This means that we 'succeed' the attach, even after we've freed the internal data bits. This leads to a panic when you eject the card with this problem. Set error = ENXIO in the mac read zeros case. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T07:09:53.000000Z K 7 svn:log V 84 rc.conf(5) update - gbde_swap_enable variable has been removed. Reminded by: dougb END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T07:17:23.000000Z K 7 svn:log V 37 Declare iftraceinit() at file scope. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T07:28:26.000000Z K 7 svn:log V 43 Use char * when doing pointer arithmetics. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T07:33:50.000000Z K 7 svn:log V 48 Use the C99 syntax for designated initialisers. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T07:39:39.000000Z K 7 svn:log V 35 Garbage collect useless variables. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T08:07:02.000000Z K 7 svn:log V 48 Don't throw away the adjusted `runtimer' value. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T08:18:00.000000Z K 7 svn:log V 53 Prefer {u,}intmax_t over the deprecated {u_,}quad_t. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2005-08-05T08:19:12.000000Z K 7 svn:log V 132 Recognize D-Link DGE-528(T) Gigabit as an re(4) device. Submitted by: Andrus Nomm PR: 76780 MFC After: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T09:07:42.000000Z K 7 svn:log V 60 Include where needed. Add $FreeBSD$ where missing. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T09:52:25.000000Z K 7 svn:log V 54 Remove the map3270 file, tn3270 was retired long ago. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T09:55:04.000000Z K 7 svn:log V 43 Don't install ${LIB}_pic.a if NO_TOOLCHAIN END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-05T09:58:49.000000Z K 7 svn:log V 33 Use socklen_t where appropriate. END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-08-05T11:14:25.000000Z K 7 svn:log V 182 MFC version 1.18 Interpret correctly the glob(3) return value. Previously, interactive commands specifying a non-existent file or directory used to display an "out of memory error". END K 10 svn:author V 3 gnn K 8 svn:date V 27 2005-08-05T12:21:14.000000Z K 7 svn:log V 552 Fix for PR 82974. We were not checking that the route looked up in the case of an RTM_CHANGE was specific, i.e. that it matched completely. This led to a route change of a non-existent route changing the default route as the radix code would simply back track to that point and hand that route back to the routing socket code. PR: 82974 Reviewed by: Tai-hwa Liang Ben Kaduk Bjoern A. Zeeb Obtained from: OpenBSD with modifications. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-05T13:05:45.000000Z K 7 svn:log V 61 Make IOCATARAIDSTATUS IOWR so status can be gotten correctly END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-05T13:08:02.000000Z K 7 svn:log V 50 Fix status to report status from the given array. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-05T13:14:00.000000Z K 7 svn:log V 44 Add support for the ITE IT8211F controller. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2005-08-05T13:21:11.000000Z K 7 svn:log V 69 Mention D-Link DGE-528(T) Gigabit Ethernet. Reminded by: sem, simon END K 10 svn:author V 3 gnn K 8 svn:date V 27 2005-08-05T13:30:10.000000Z K 7 svn:log V 203 MFC Fix for PR 83885. Make sure that there actually is a next packet before setting nextrecord to that field. PR: 83885 Submitted by: hirose@comm.yamaha.co.jp Obtained from: Patch suggested in the PR END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-08-05T13:39:08.000000Z K 7 svn:log V 349 The /stand directory now disappears out from under sysinstall while it is running during installations. The vsystem() function does get used after this happens (e.g. if you manually configure the network interface and ask it to enable the interface) so it needs to be a little smarter about whether it uses /stand/sh or /bin/sh. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-05T14:07:39.000000Z K 7 svn:log V 30 Document ITE IT8211F support. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T14:59:50.000000Z K 7 svn:log V 35 Introduce NO_LOCALES build option. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-05T15:08:17.000000Z K 7 svn:log V 60 Allow the array number to be read back on atacontrol create END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T16:03:16.000000Z K 7 svn:log V 494 Fix up the locking in pcn(4) and mark it MPSAFE. - Add locked versions of the init() and start() methods. - Use callout_*() rather than timeout(). - Make the driver lock non-recursive. - Push down locking in detach() and ioctl(). - Fix the tick routine to bail if the interface has been stopped and use callout_drain() in detach() after the call to stop(). - Lock the driver lock in the ifmedia handlers. Tested by: Ketrien I. Saihr-Kesenchedra ketrien at error404.nls.net MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T16:04:54.000000Z K 7 svn:log V 20 Respect NO_EXAMPLES END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T16:08:53.000000Z K 7 svn:log V 80 let NO_MAN control man let NO_TOOLCHAIN control rcs let NO_INFO control texinfo END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T16:09:34.000000Z K 7 svn:log V 26 Let NO_MAN control catman END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-08-05T17:00:58.000000Z K 7 svn:log V 241 When summing capacities, skip info from batteries that weren't present. Previously, we used all info (including -1 or "not present") which would keep the system from reaching 100% when charging. Reported by: Eric Anderson MFC after: 2 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-05T18:12:17.000000Z K 7 svn:log V 166 MFC rev. 1.104 Deal with failed malloc calls[1]. While there also check for failed device_add_child calls. Found by: Coventry Analysis tool[1]. Submitted by: sam[1] END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T18:45:49.000000Z K 7 svn:log V 34 Make IPX support depend on NO_IPX END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T19:02:56.000000Z K 7 svn:log V 159 MFC: Close a race where the last thread in a process could be harvested via wait() before it has finished dying. Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T19:07:19.000000Z K 7 svn:log V 149 MFC: Various and sundry cleanups to remove old code and fix cruftiness. Also, add locking and mark the driver as MPSAFE. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T19:08:25.000000Z K 7 svn:log V 84 MFC: Add support for the hw.apic.enable_extint tunable. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T19:39:25.000000Z K 7 svn:log V 260 MFC: pw_user.c 1.58 Change /home symbolic link, so it will point to usr/home instead of /usr/home. Previous symlink was confusing: # cd /jails/virtual_system_1/home # realpath . /usr/home ...and slower. OK'ed by: rwatson, phk Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T19:43:29.000000Z K 7 svn:log V 334 MFC: g_raid3.c 1.41 g_raid3.h 1.12 Use root_mount KPI for RAID3 to delay root file system mount. Actually, one cannot setup root file system on RAID3 device, but when other file system exist in /etc/fstab which are placed on RAID3 device, boot process will be interrupted when these devices are missing. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T19:44:00.000000Z K 7 svn:log V 115 MFC: Convert the atomic pointer operations to operate on uintptr_t rather than void *. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T19:46:13.000000Z K 7 svn:log V 210 MFC: Add extra constraints to inform the compiler that the memory being modified is an input and output rather than just the register holding the pointer being the input and output. Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-05T19:50:05.000000Z K 7 svn:log V 55 MFC rev. 1.220 Correct 32 vs 64 bit signedness issues. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T19:58:14.000000Z K 7 svn:log V 208 MFC: Introduce GEOM_ELI class which provides GEOM providers encryption. For features list and usage see manual page: geli(8). Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T20:02:46.000000Z K 7 svn:log V 123 MFC: Connect GEOM_ELI class to the build. Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T20:04:38.000000Z K 7 svn:log V 206 MFC: Add regression tests (121 in total) for GEOM_ELI class. To use them, run: # prove /usr/src/tools/regression/geom_eli Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-05T20:13:09.000000Z K 7 svn:log V 27 Don't include -lipx twice. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-05T20:21:46.000000Z K 7 svn:log V 108 MFC: Include a SYSUNINIT to destroy the mutex in MTX_SYSINIT. Approved by: re (kensmith) MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T20:24:37.000000Z K 7 svn:log V 192 MFC: sbin/geom/class/Makefile 1.9 Don't try to compile geli(8) when NO_CRYPT knob if defined. Reported by: Alexander Polakov Committed to HEAD by: ru Approved by: re (kensmith (implicit)) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-05T20:33:21.000000Z K 7 svn:log V 432 MFC: if_bridge.c, r1.14 > We check that all the member interfaces have the same MTU on attach to the > bridge but the interface can still be changed afterwards. > > This falls under the 'dont do that' category but log an warning when INVARIANTS > is defined. > > Approved by: mlaier (mentor) > > Revision Changes Path > 1.14 +8 -0 src/sys/net/if_bridge.c Approved by: re (kensmith), mlaier (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T21:23:08.000000Z K 7 svn:log V 69 gbde_swap has been repo-copied to encswap. Repo-copy made by: markm END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-05T21:35:22.000000Z K 7 svn:log V 72 MFC: 1.23: acm and ack are specified per-ac Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-05T21:36:01.000000Z K 7 svn:log V 183 MFC: 1.99: Wireless suport fixups: add a bunch of stuff that's been in the code but not documented (e.g. wme, mac acl) and correct some information, etc. Approved by: re (kensmith) END K 10 svn:author V 5 remko K 8 svn:date V 27 2005-08-05T21:43:16.000000Z K 7 svn:log V 73 Add FreeBSD-SA-05:18.zlib and FreeBSD-SA-05:19.zlib to the errata page's END K 10 svn:author V 5 remko K 8 svn:date V 27 2005-08-05T21:46:12.000000Z K 7 svn:log V 95 Ofcourse FreeBSD-SA-05:19.zlib should have been FreeBSD-SA-05:19.ipsec Pointed out by: simon END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-05T23:38:51.000000Z K 7 svn:log V 85 Teach rc.d/encswap script how to use geli(8) for swap encryption. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-05T23:48:58.000000Z K 7 svn:log V 115 - clean ${LIB32TMP} in _worldtmp - clean ${OBJTREE}/lib32 in _cleanobj - ensure that ${WORLDTMP} exists in build32 END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-06T00:33:42.000000Z K 7 svn:log V 112 The kernel is usually at /boot/kernel/kernel nowadays. PR: i386/81756 Submitted by: trasz END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-06T01:42:04.000000Z K 7 svn:log V 451 Holding a vnode doesn't prevent v_mount from disappearing (when the vnode is inactivated), possibly leading to a NULL dereference when checking if the mount wants knotes to be activated in the VOP hooks. So, we add a new vnode flag VV_NOKNOTE that is only set in getnewvnode(), if necessary, and check it when activating knotes. Since the flags are not erased when a vnode is being held, we can safely read them. Reviewed by: kris@ MFC after: 3 days END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-08-06T01:52:35.000000Z K 7 svn:log V 430 MFC: pf.c, 1.35 pfvar.h, 1.12 Prevent a race condition. As pf_send_tcp() - called for expired synproxy states - has to drop the lock when calling back to ip_output(), the state purge timeout might run and gc the state. This results in a rb-tree inconsistency. With this change we flag expiring states while holding the lock and back off if the flag is already set. Reported by: glebius Approved by: re (kensmith) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-08-06T01:54:11.000000Z K 7 svn:log V 402 MFC: pf.c, 1.35 pfvar.h, 1.12 Prevent a race condition. As pf_send_tcp() - called for expired synproxy states - has to drop the lock when calling back to ip_output(), the state purge timeout might run and gc the state. This results in a rb-tree inconsistency. With this change we flag expiring states while holding the lock and back off if the flag is already set. Reported by: glebius END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-06T01:59:06.000000Z K 7 svn:log V 1017 Add bsdiff and bspatch to the base system. These are tools for constructing and applying binary patches; in particular, they perform well (in the sense of constructing small patches) for executable code. Both portsnap (coming to the base system Real Soon Now) and FreeBSD Update (coming to the base system a bit later) use bspatch. This is the same code as the bsdiff-4.2 which has been in the ports tree (misc/bsdiff) for the past year, with the following exceptions: 1. The license is now the traditional 2-clause BSD; 2. Instead of forking and execing bzip2, the code now uses libbz2; and 3. Some minor changes have been made to fit this code into the base system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate directories, etc.) This code is rather ugly and has lots of style bugs (mostly because I wrote it before I had ever heard of style(9)). Some day I'll come back and clean it up. Discussed on: freebsd-arch MFC before: 5.5-RELEASE Tested by: Several million users (earlier version). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-06T02:06:43.000000Z K 7 svn:log V 63 Mention that I'd like to review commits to bsdiff and bspatch. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-06T02:37:21.000000Z K 7 svn:log V 110 Include ../Makefile.inc, since without it programs get installed in the wrong place. Pointy hat to: cperciva END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-06T03:03:10.000000Z K 7 svn:log V 158 MFC Revision 1.155: If a thread was removed from system run queue, kseq_assign shouldn't add it again. Approved by: re (kensmith) Tested by: delphij END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-06T03:06:25.000000Z K 7 svn:log V 283 MFC Revision 1.117: In adjustrunqueue(), add code to handle thread migrating case for ULE scheduler. In original code, local run queue of threaded ksegrp is corrupted if adjustrunqueue() is called while thread is migrating. Approved by: re (kensmith) Tested by: delphij END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-08-06T03:48:18.000000Z K 7 svn:log V 63 MFC the removal of threading from BIND. Original work by: des END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-06T04:56:49.000000Z K 7 svn:log V 546 Fix handling of frames sent prior to a station being authorized when operating in ap mode. Previously we allocated a node from the station table, sent the frame (using the node), then released the reference that "held the frame in the table". But while the frame was in flight the node might be reclaimed which could lead to problems. The solution is to add an ieee80211_tmp_node routine that crafts a node that does exist in a table and so isn't ever reclaimed; it exists only so long as the associated frame is in flight. MFC after: 5 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-06T04:57:27.000000Z K 7 svn:log V 38 fix debug msg typo MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-06T06:46:29.000000Z K 7 svn:log V 54 Add myself as a maintainer of GELI and GZERO classes. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-06T06:56:39.000000Z K 7 svn:log V 46 Put hesinfo(1) under buildoption "YES_HESIOD" END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-06T06:57:25.000000Z K 7 svn:log V 49 Put hesiod.conf(5) under build option YES_HESIOD END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-06T07:20:18.000000Z K 7 svn:log V 477 Change the data type of the upper shared memory limits from a signed integer to an unsigned long. This lifts variables like the maximum number of pages available for shared memory from 2^31 to 2^32 on 32 bit architectures, and from 2^31 to 2^64 on 64 bit architectures. It should be noted that this changes breaks ABI on 64 bit architectures because the size of the shmmax, shmmin, shmmni, shmseg and shmall members of the shminfo structure has changed. Silence on: current@ END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-06T07:26:42.000000Z K 7 svn:log V 90 MFC: rev. 1.11 Mention that the softc is zeroed after allocation. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-06T07:27:23.000000Z K 7 svn:log V 67 MFC: rev. 1.11 Mention that the softc is zeroed after allocation. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-06T07:41:36.000000Z K 7 svn:log V 73 Old habits die hard: Make that .if defined(YES_HESIOD) not .if !defined END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-06T10:31:27.000000Z K 7 svn:log V 66 Make ULE as default scheduler, allow it to be tested more widely. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-06T13:03:03.000000Z K 7 svn:log V 66 More tcpdump 8->1 cleanup. Approved by: mlaier MFC after: 3 days END K 10 svn:author V 3 hmp K 8 svn:date V 27 2005-08-06T13:05:45.000000Z K 7 svn:log V 80 Give credit to Vinod Kashyap and Paul Saab for their work on the twe(4) driver. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-06T13:54:03.000000Z K 7 svn:log V 397 Teach libmemstat(3) how to extract malloc(9) statistics using kvm(3), so that libmemstat can be used to view full memory statistics from kernel core dumps and /dev/mem. This is provided via a new query function, memstat_kvm_malloc(), which is also automatically invoked by memstat_kvm_all(). A kvm handle must be passed in. This will allow malloc(9)-specific code to be removed from vmstat(8). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-06T13:56:21.000000Z K 7 svn:log V 111 Use libmemstat(3)'s kvm support for malloc(9) rather than hand-extracting this information from the core dump. END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-08-06T14:41:55.000000Z K 7 svn:log V 94 MFC: Rev. 1.2 - Reword a sentence - Grammar fixes - s/CAVEAT/CAVEATS/ Approved by: re (hrs) END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-08-06T14:45:18.000000Z K 7 svn:log V 86 MFC Rev. 1.38 - Fix spelling of 'multiplexer' - Grammar fixes Approved by: re (hrs) END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-08-06T14:47:16.000000Z K 7 svn:log V 56 MFC Rev. 1.13 s/Lefler/Leffler/ Approved by: re (hrs) END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-08-06T14:53:25.000000Z K 7 svn:log V 56 MFC Rev. 1.13 s/Lefler/Leffler/ Approved by: brueffer END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-06T16:52:30.000000Z K 7 svn:log V 38 Respect the YES_HESIOD build variable END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-06T16:53:55.000000Z K 7 svn:log V 39 Respect the YES_HESIOD build variable. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-08-06T18:13:30.000000Z K 7 svn:log V 129 Fix locations of some links. Word smithing. PR: conf/81923 Submitted by: Gavin Atkinson END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-08-06T18:32:25.000000Z K 7 svn:log V 127 Add if_ath_load (default NO) in Networking Drivers section. PR: conf/80870 Submitted by: Hasan Cana END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-06T18:42:01.000000Z K 7 svn:log V 59 destroy lock _before_ free'ing the structure it resides in END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-06T18:47:12.000000Z K 7 svn:log V 69 sigh, sizeof the correct variable so we can match ifname's > 4 bytes END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-06T19:07:07.000000Z K 7 svn:log V 398 o As mentioned in the previous commit: make the KVM error buffer static. o Register a function with atexit(3) to close the KVM object if we have one open. o Show the unread portion of the kernel's message buffer before presenting the prompt. It's bound to provide some useful info. o Don't call kgdb_target() twice. It results in having all threads listed twice. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-06T19:22:27.000000Z K 7 svn:log V 1059 o Remove the obscure tid command, because it does what the thread command does, but worse. o Remove the obscure proc command, because it does what the thread command does, but not unambigously. o Move the PID to the extra thread info, where it makes sense and where it doesn't confuse users. The extra thread info holds some process information, to which the PID belongs. o Implement the to_find_new_threads target method by having it call the target beneath us if we're not using KVM. This makes sure that new threads are found when using the remote target. o Fix various core dump scenarios: - Implement the to_files_info target method. Previously the 'info target' command would cause a NULL pointer dereference. - Don't assume there's a current thread. We're not initialized in all cases. This prevents a NULL pointer dereference. - When we're not ussing KVM, have the to_xfer_memory target method call the target beneath us. This avoids calling into KVM with a NULL pointer. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-06T19:24:22.000000Z K 7 svn:log V 109 Add hints for uart(4). These are the same as for sio(4) and make it easier to switch from sio(4) to uart(4). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-06T19:54:31.000000Z K 7 svn:log V 170 For ia64_ptc_{e,g,ga,l}(), use instruction serialization. We typically don't know what the TLB described and need to assume that it affects the fetching of instructions. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-06T19:59:23.000000Z K 7 svn:log V 382 Reduce the default MAXCPU from 16 to 4. This is in preparation of allocating a VHPT per CPU. Since we don't yet know how many CPUs are actually in the system at the time we need to allocate the VHPTs, we allocate for MAXCPU processors. This can result in a lot of wasted space for 2-way machines. So, for now, limit MAXCPU to something smaller until we have something more dynamic. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-06T20:23:13.000000Z K 7 svn:log V 57 Control rcs inclusion with NO_RCS insted of NO_TOOLCHAIN END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-06T20:28:19.000000Z K 7 svn:log V 2500 Improve SMP support: o Allocate a VHPT per CPU. The VHPT is a hash table that the CPU uses to look up translations it can't find in the TLB. As such, the VHPT serves as a level 1 cache (the TLB being a level 0 cache) and best results are obtained when it's not shared between CPUs. The collision chain (i.e. the hash bucket) is shared between CPUs, as all buckets together constitute our collection of PTEs. To achieve this, the collision chain does not point to the first PTE in the list anymore, but to a hash bucket head structure. The head structure contains the pointer to the first PTE in the list, as well as a mutex to lock the bucket. Thus, each bucket is locked independently of each other. With at least 1024 buckets in the VHPT, this provides for sufficiently finei-grained locking to make the ssolution scalable to large SMP machines. o Add synchronisation to the lazy FP context switching. We do this with a seperate per-thread lock. On SMP machines the lazy high FP context switching without synchronisation caused inconsistent state, which resulted in a panic. Since the use of the high FP registers is not common, it's possible that races exist. The ia64 package build has proven to be a good stress test, so this will get plenty of exercise in the near future. o Don't use the local ID of the processor we want to send the IPI to as the argument to ipi_send(). use the struct pcpu pointer instead. The reason for this is that IPI delivery is unreliable. It has been observed that sending an IPI to a CPU causes it to receive a stray external interrupt. As such, we need a way to make the delivery reliable. The intended solution is to queue requests in the target CPU's per-CPU structure and use a single IPI to inform the CPU that there's a new entry in the queue. If that IPI gets lost, the CPU can check it's queue at any convenient time (such as for each clock interrupt). This also allows us to send requests to a CPU without interrupting it, if such would be beneficial. With these changes SMP is almost working. There are still some random process crashes and the machine can hang due to having the IPI lost that deals with the high FP context switch. The overhead of introducing the hash bucket head structure results in a performance degradation of about 1% for UP (extra pointer indirection). This is surprisingly small and is offset by gaining reasonably/good scalable SMP support. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-06T21:11:57.000000Z K 7 svn:log V 12 Fresh dust. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-06T22:26:51.000000Z K 7 svn:log V 325 MFC revision 1.61 to RELENG_6 date: 2005/07/30 20:00:13; author: csjp; state: Exp; lines: +16 -4 Introduce kdevtoname, which when given the kernel address of a cdev structure, returns the device name associated with it through the __si_namebuf member. This un-breaks the processing of devices. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-06T23:05:48.000000Z K 7 svn:log V 83 Revert last change, I will turn ULE on as default after 6.0-R. Noticed by: scottl END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-08-07T02:20:35.000000Z K 7 svn:log V 200 Export a routine, kobj_machdep_init(), that allows platforms to use the kobj subsystem as soon at mutex_init() has been called instead of having to wait for the SI_SUB_LOCK sysinit. Reviewed by: dfr END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-07T02:23:32.000000Z K 7 svn:log V 43 sync with HEAD Approved by: re (kensmith) END K 10 svn:author V 7 roberto K 8 svn:date V 27 2005-08-07T05:56:54.000000Z K 7 svn:log V 248 MFC of revision 1.10: The check for invalid characters introduced in 1.9 incorrectly flags NIS entries as invalid. Submitted by: Bob Willcox PR: bin/82325 (but I used the patch from Bob). Approved by: re (kensmith) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-07T08:35:39.000000Z K 7 svn:log V 302 Revert the replacement of realloc() with reallocf() (el.h:1.2, map.c:1.5 and tokenizer.c:1.3). Contrary to the commit log there were no memory leaks, but the change introduced a bug because the free'd pointer was not zeroed and calling the appropriate _end() function would call free() a second time. END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-08-07T08:46:56.000000Z K 7 svn:log V 131 Tell nls_setlocale() the very locale name from command line option, rather than using optarg variable which would be allways NULL. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-07T09:11:38.000000Z K 7 svn:log V 42 Fix a comment. Submitted by: Liam J. Foy END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-08-07T09:41:53.000000Z K 7 svn:log V 173 Add if_arl_load, if_axe_load, if_aue_load, if_cs_load, if_cue_load, if_hme_load, if_nve_load, if_rue_load, if_udav_load to Networking Drivers section. Submitted by: matteo END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-08-07T10:30:56.000000Z K 7 svn:log V 105 MFC 1.2: Correctly use a size_t so 64-bit hosts can mount SMB FS's when using character set conversions. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-07T11:16:08.000000Z K 7 svn:log V 146 MFC: Allow the array number to be read back on atacontrol create Make IOCATARAIDSTATUS IOWR so status can be gotten correctly Approved by: re@ END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-07T11:16:58.000000Z K 7 svn:log V 73 MFC: Fix status to report status from the given array Approved by: re@ END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-07T11:20:28.000000Z K 7 svn:log V 250 MFC: Remove stale struct ata_channel declaration Add support for the ITE IT8211F controller Dont limit all transfers to DEV_BSIZE (stale dbug code) Hide the loaded/unloaded message behind bootverbose Approved by: re@ END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-07T11:48:44.000000Z K 7 svn:log V 122 It's actually 11 minutes when the machine is assumed to be down and removed from the output. Obtained from: DragonFlyBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-07T13:21:00.000000Z K 7 svn:log V 113 The system tick _compare_ register of USIII CPUs and up is ASR25, not ASR24 (which is the system tick register). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-07T13:37:25.000000Z K 7 svn:log V 42 Recognize the SAB82532 in USIII machines. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-08-07T13:46:28.000000Z K 7 svn:log V 49 Add the recently removed old paper about pascal. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-08-07T13:47:25.000000Z K 7 svn:log V 50 Remove cat-pages without corresponding man-pages. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-07T15:49:53.000000Z K 7 svn:log V 82 MFC: rev. 1.5 Remove Xref to non-existant usb(3) manpage. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-07T15:50:59.000000Z K 7 svn:log V 59 MFC: rev. 1.5 Remove Xref to non-existant usb(3) manpage. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-07T16:02:17.000000Z K 7 svn:log V 69 MFC: rev. 1.54 Document ITE IT8211F support. Approved by: re (hrs) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-08-07T18:49:50.000000Z K 7 svn:log V 196 MFC r1.71. Correct the description of the TAPE environment variable. Based on: PR: docs/84200 Submitted by: Gary W. Swearingen Approved by: re (hrs) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2005-08-07T20:34:03.000000Z K 7 svn:log V 292 (atapi_cam_reinit_bus): Guard against the case where atapi_softc_mutex is not initialized yet (case of the bus being reinitialized during the boot process). Note that this change is a fix for RELENG_5 only, not relevant to HEAD. PR: kern/84567 Tested by: Chris Jones END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-07T20:53:29.000000Z K 7 svn:log V 121 Add some more info about jail startup and shutdown. Submitted by: Jeremie Le Hen MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-07T20:53:33.000000Z K 7 svn:log V 48 The libedit update made a const cast necessary. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-07T20:55:59.000000Z K 7 svn:log V 206 Sync libedit with recent NetBSD developments. Including improvements to the vi-mode, removal of clause 3, cleanups and the export of the tokenization functions. Not included: config.h, filecomplete.{c,h} END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-07T22:00:47.000000Z K 7 svn:log V 354 When support for 2MB/4MB pages was added in revision 1.148 an error was made in pmap_protect(): The pmap's resident count should not be reduced unless mappings are removed. The errant change to the pmap's resident count could result in a later pmap_remove() failing to remove any mappings if the errant change has set the pmap's resident count to zero. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-07T22:38:41.000000Z K 7 svn:log V 99 Allow to give more than one jail's name, eg.: # /etc/rc.d/jail start www mail MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-07T23:10:32.000000Z K 7 svn:log V 199 We don't need to skip /var/run/log socket, as syslogd is always started after rc.d/cleanvar. And if we wanted to skip /var/run/log we still needed to skip /var/run/logpriv, which wasn't implemented. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-07T23:16:22.000000Z K 7 svn:log V 105 Other changes to this driver preclude its use on 4.x, so remove 4.x compat code elsewhere in the driver. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-07T23:19:02.000000Z K 7 svn:log V 411 Skip jails which are already running and inform why. We're checking for /var/run/jail_.id file and if it exists, we don't start the jail. It should be also safe in case of reboot(8), because rc.d/cleanvar script is going to remove /var/run/jail_* files. It helps to avoid potential mess when the same jail is started twice, because of an administrator mistake (been there, done that). MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-07T23:51:53.000000Z K 7 svn:log V 136 The presence of a on __FreeBSD_version flagged some code that hasn't been in the right spot since the FreeBSD 3.x days, if not earlier. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-07T23:53:00.000000Z K 7 svn:log V 40 Remove a stale __FreeBSD_version check. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-08T00:50:25.000000Z K 7 svn:log V 17 describe m_align END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-08T03:30:57.000000Z K 7 svn:log V 714 Cleanup beacon/listen interval handling: o separate configured beacon interval from listen interval; this avoids potential use of one value for the other (e.g. setting powersavesleep to 0 clobbers the beacon interval used in hostap or ibss mode) o bounds check the beacon interval received in probe response and beacon frames and drop frames with bogus settings; not clear if we should instead clamp the value as any alteration would result in mismatched sta+ap configuration and probably be more confusing (don't want to log to the console but perhaps ok with rate limiting) o while here up max beacon interval to reflect WiFi standard Noticed by: Martin MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-08T05:43:57.000000Z K 7 svn:log V 117 Fix typo so QUEUE_MACRO_DEBUG works again. PR: 84654 Submitted by: Antoine.Pelisse@xloling.org (apelisse@gmail.com) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-08T05:49:29.000000Z K 7 svn:log V 119 use ieee80211_iterate_nodes to retrieve station data; the previous code walked the list w/o locking MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-08-08T07:02:12.000000Z K 7 svn:log V 1379 MFC machdep.c r1.90 trap.c r1.55 trap_subr.S r1.15 Temporary band-aid to fix hang when a process exec's Altivec instructions. trap_subr.S: declare a stub for the a-unavailable trap that does an absolute jump to the vector-assist trap. This is due to the fact that the vec-unavail trap doesn't start at a 256-byte boundary, so the trick of masking the bottom 8 bits of the link register to identify the interrupt doesn't work, so let the vec-assist case handle Altivec-disabled for the time being. Note that this will be fixed in the future with a much smaller vector code-stub (< 16 bytes) that will allow use of strange vector offsets that are also present in 4xx processors, and also allow smaller differences in vector codepaths on the G5. trap.c: Treat altivec-unavailable/assist process traps as SIGILL. Not quite correct, since altivec-assist should really be a panic, but it is fine for the moment due to the above measure. machdep.c Install the stub code for the altivec-unavailable trap, and the standard trap code at the altivec-assist. Approved by: re (Ken Smith) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-08T07:03:50.000000Z K 7 svn:log V 129 Don't forget to copy the sentinel into the `help' array. It's expected to be there. Submitted by: Björn König PR: 82381 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-08T07:08:35.000000Z K 7 svn:log V 17 Fix a few typos. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-08T09:46:09.000000Z K 7 svn:log V 194 Back-out previous commit - we need to skip logging socket when we start a jail and external syslogd is listening in jail's chroot. Pointed out by: csjp While here, skip also "logpriv" socket. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-08T12:16:21.000000Z K 7 svn:log V 194 Complete the removal of __FreeBSD_version checks from the amr driver. The driver had advanced enough over the years that direct sharing of code with FreeBSD 4.x was in no way possible anymore. END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-08T12:16:53.000000Z K 7 svn:log V 20 Remove a bogus word END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-08T12:19:19.000000Z K 7 svn:log V 85 Retire the FreeBSD 4.x compat code and __FreeBSD_version checks from the aac driver. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-08T12:23:27.000000Z K 7 svn:log V 68 Retire the last of the FreeBSD 4.x compat code from the mly driver. END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-08-08T12:50:20.000000Z K 7 svn:log V 28 MFC 1.19 to 1.22 PR: 22612 END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-08-08T12:50:57.000000Z K 7 svn:log V 28 MFC 1.12 to 1.13 PR: 22612 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-08T14:20:10.000000Z K 7 svn:log V 187 Try best to keep a preempted thread at front of run queue, this seems improved performance a bit for some workloads, but still seeing interactive lagging unless cpu idling race is fixed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-08T15:33:53.000000Z K 7 svn:log V 134 MFC: Fix a bug in pmap_protect() in the PAE case where it could look up the wrong vm_page_t associated with a pte. Requested by: alc END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-08T16:09:33.000000Z K 7 svn:log V 461 Insert a series of place-holder function pointers in mac_policy.h for entry points that will be inserted over the life-time of the 6.x branch, including for: - New struct file labeling (void * already added to struct file), events, access control checks. - Additional struct mount access control checks, internalization/ externalization. - mac_check_cap() - System call enter/exit check and event. - Socket and vnode ioctl entry points. MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-08T17:17:56.000000Z K 7 svn:log V 46 Include before #undef'ing key_clear. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-08T18:24:04.000000Z K 7 svn:log V 19 Remove stray comma END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-08T18:31:13.000000Z K 7 svn:log V 72 Add strcasecmp() and strncasecmp() to libkern and connect to the build. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-08-08T18:38:30.000000Z K 7 svn:log V 122 While I find the Hitler quotes extremely questionable, I'm enough of a pedant to properly spell the monster's first name. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-08T18:46:36.000000Z K 7 svn:log V 2327 Split crypto tx+rx key indices and add a key index -> node mapping table: Crypto changes: o change driver/net80211 key_alloc api to return tx+rx key indices; a driver can leave the rx key index set to IEEE80211_KEYIX_NONE or set it to be the same as the tx key index (the former disables use of the key index in building the keyix->node mapping table and is the default setup for naive drivers by null_key_alloc) o add cs_max_keyid to crypto state to specify the max h/w key index a driver will return; this is used to allocate the key index mapping table and to bounds check table loookups o while here introduce ieee80211_keyix (finally) for the type of a h/w key index o change crypto notifiers for rx failures to pass the rx key index up as appropriate (michael failure, replay, etc.) Node table changes: o optionally allocate a h/w key index to node mapping table for the station table using the max key index setting supplied by drivers (note the scan table does not get a map) o defer node table allocation to lateattach so the driver has a chance to set the max key id to size the key index map o while here also defer the aid bitmap allocation o add new ieee80211_find_rxnode_withkey api to find a sta/node entry on frame receive with an optional h/w key index to use in checking mapping table; also updates the map if it does a hash lookup and the found node has a rx key index set in the unicast key; note this work is separated from the old ieee80211_find_rxnode call so drivers do not need to be aware of the new mechanism o move some node table manipulation under the node table lock to close a race on node delete o add ieee80211_node_delucastkey to do the dirty work of deleting unicast key state for a node (deletes any key and handles key map references) Ath driver: o nuke private sc_keyixmap mechansim in favor of net80211 support o update key alloc api These changes close several race conditions for the ath driver operating in ap mode. Other drivers should see no change. Station mode operation for ath no longer uses the key index map but performance tests show no noticeable change and this will be fixed when the scan table is eliminated with the new scanning support. Tested by: Michal Mertl, avatar, others Reviewed by: avatar, others MFC after: 2 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-08T18:54:35.000000Z K 7 svn:log V 437 Check to see if we wired the user-supplied buffers in SYSCTL_OUT, if the buffer has not been wired and we are holding any non-sleep-able locks, drop a witness warning. If the buffer has not been wired, it is possible that the writing of the data can sleep, especially if the page is not in memory. This can result in a number of different locking issues, including dead locks. MFC after: 1 week Discussed with: rwatson Reviewed by: jhb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-08T19:38:00.000000Z K 7 svn:log V 386 Ha! This is a very interesting bug. I copied strcasecmp() from userland to the kernel and it didn't worked! I started to debug the problem and I find out that this line: while (tolower(*us1) == tolower(*us2++)) { was adding _3_ bytes to 'us2' pointer. Am I loosing my minds here?!... No, in-kernel tolower() is a macro which uses its argument three times. Bad tolower(9), no cookie. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-08-08T19:39:58.000000Z K 7 svn:log V 73 Add support for HP branded 2610SA MFC after: 3 days Approved by: scottl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-08T19:40:38.000000Z K 7 svn:log V 122 Be case-insensitive when dealing with algorithm names. PR: kern/84659 Submitted by: Benjamin Lutz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-08T19:55:32.000000Z K 7 svn:log V 454 Merge the dev_clone and dev_clone_cred event handlers into a single event handler, dev_clone, which accepts a credential argument. Implementors of the event can ignore it if they're not interested, and most do. This avoids having multiple event handler types and fall-back/precedence logic in devfs. This changes the kernel API for /dev cloning, and may affect third party packages containg cloning kernel modules. Requested by: phk MFC after: 3 days END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-08-08T19:58:26.000000Z K 7 svn:log V 143 Move the Hitler quotes and some references to him to the "offensive" file. I did not bother to sort them all. If you have a script, feel free. END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-08-08T20:08:44.000000Z K 7 svn:log V 149 reorder a couple of cases of void __inline to __inline void to silence warnings from compilig with -W Submitted by: sandvine inc MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-08T20:10:06.000000Z K 7 svn:log V 1076 Add portsnap to the base system. This is a secure, easy to use, fast, lightweight, and generally good way for users to keep their ports trees up to date. This is version 0.9.4 from the ports tree (sysutils/portsnap) with the following changes: 1. The experimental pipelined http code is enabled. No seatbelts in -CURRENT. (^_^) 2. The working directory has moved from /usr/local/portsnap to /var/db/portsnap (as discussed on -arch two days ago). 3. Portsnap now fetches a list of mirrors (distributed as DNS SRV records) and selects one randomly. This should help to avoid the uneven loading which plagues the cvsup mirror network. 4. The license is now 2-clause BSD instead of 3-clause BSD. 5. Various incidental changes to make portsnap fit into the base system's build mechanics. X-MFC-After: 6.0-RELEASE X-MFC-Before: 5.5-RELEASE X-MFC-To: RELENG_6, RELENG_5, ports discussed on: -arch and several other places "yes please" from: simon, remko, flz, Diane Bruce thinks this is a great idea: bsdimp Hopes he didn't forget any files: cperciva END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-08T21:03:54.000000Z K 7 svn:log V 378 - Use callout_init_mtx() to close a small race between callout_stop() and the timeout routine. - Fix locking in detach. - Add locking in shutdown. - Don't mess with the PCI command register in resume, the PCI bus driver already does this for us. - Add locking to the non-serial ifmedia routines. - Fix locking in ioctl. - Remove spls and support for 4.x. MFC after: 1 week END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-08T21:06:42.000000Z K 7 svn:log V 273 Drop in a WITNESS_WARN into SYSCTL_IN to make sure that we are not holding any non-sleep-able-locks locks when copyin is called. This gets executed un-conditionally since we have no function to wire the buffer in this direction. Pointed out by: truckman MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-08T22:21:55.000000Z K 7 svn:log V 389 Use m_copypacket() which is an optimization of the common case m_copym(m, 0, M_COPYALL, how). This is required for strict alignment architectures where we align the IP header in the input path but m_copym() will create an unaligned copy in bridge_broadcast(). m_copypacket() preserves alignment of the first mbuf. Noticed by: Petri Simolin Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-08T22:44:10.000000Z K 7 svn:log V 95 Use atomic operations on runningbufspace. PR: kern/84318 Submitted by: ade MFC after: 3 days END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-08T23:37:06.000000Z K 7 svn:log V 237 MFC 1.35: # Some grammar, spelling, and mdoc(7) fixes. No content changes. # # PR: 75581 # Submitted by: Nobuyuki Koganemaru n-kogane@syd.odn.ne.jp (original version) PR: docs/84679 Submitted by: Chris Jones END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-08-09T01:25:32.000000Z K 7 svn:log V 67 MFC: (1.7) Fixing compilation bustage. Approved by: re (kensmith) END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-08-09T01:27:31.000000Z K 7 svn:log V 68 MFC: (1.10) Fixing compilation bustage. Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-09T02:50:14.000000Z K 7 svn:log V 281 Add a missing EOL when printing "Latest snapshot on server is older than what we already have" message. [1] When operating with the undocumented --debug option, replace "xargs phttpget" with "xargs -t phttpget", since that might conceivably help debugging. Noticed by: simon [1] END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-09T03:32:29.000000Z K 7 svn:log V 337 When parsing the HTTP_PROXY environment variable, strip a trailing / from the port number (if any exists). This unbreaks env HTTP_PROXY="http://localhost:3128/" portsnap fetch While I'm here, list both the host and the port in the error message output if getaddrinfo() fails, since either of them could be responsible for the failure. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-09T08:33:27.000000Z K 7 svn:log V 115 Replace INT_MAX with OFF_MAX. I used INT_MAX originally (in ports) because OFF_MAX wasn't defined on FreeBSD 4.x. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-09T08:37:28.000000Z K 7 svn:log V 232 - Use 'error' variable to store error value, instead of 'i'. - Push 'i' into the only block where it is used. - Remove redundant check for rt being NULL. If rt_check() hasn't returned an error, then rt is valid. Reviewed by: gnn END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-09T08:39:56.000000Z K 7 svn:log V 119 In preparation for fixing races in ARP (and probably in other L2/L3 mappings) make rt_check() return a locked rtentry. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-09T09:27:11.000000Z K 7 svn:log V 75 Update to latest version of this tool. Takes about a week for a full run. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-09T09:49:01.000000Z K 7 svn:log V 144 Check that malloc() succeeds in makelist. Submitted by: Roman Divacky (who did a very complete review of both make_index.c and phttpget.c) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-09T10:16:17.000000Z K 7 svn:log V 1335 Rename IFF_RUNNING to IFF_DRV_RUNNING, IFF_OACTIVE to IFF_DRV_OACTIVE, and move both flags from ifnet.if_flags to ifnet.if_drv_flags, making and documenting the locking of these flags the responsibility of the device driver, not the network stack. The flags for these two fields will be mutually exclusive so that they can be exposed to user space as though they were stored in the same variable. Provide #defines to provide the old names #ifndef _KERNEL, so that user applications (such as ifconfig) can use the old flag names. Using the old names in a device driver will result in a compile error in order to help device driver writers adopt the new model. When exposing the interface flags to user space, via interface ioctls or routing sockets, or the two fields together. Since the driver flags cannot currently be set for user space, no new logic is currently required to handle this case. Add some assertions that general purpose network stack routines, such as if_setflags(), are not improperly used on driver-owned flags. With this change, a large number of very minor network stack races are closed, subject to correct device driver locking. Most were likely never triggered. Driver sweep to follow; many thanks to pjd and bz for the line-by-line review they gave this patch. Reviewed by: pjd, bz MFC after: 7 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-09T10:20:02.000000Z K 7 svn:log V 496 Propagate rename of IFF_OACTIVE and IFF_RUNNING to IFF_DRV_OACTIVE and IFF_DRV_RUNNING, as well as the move from ifnet.if_flags to ifnet.if_drv_flags. Device drivers are now responsible for synchronizing access to these flags, as they are in if_drv_flags. This helps prevent races between the network stack and device driver in maintaining the interface flags field. Many __FreeBSD__ and __FreeBSD_version checks maintained and continued; some less so. Reviewed by: pjd, bz MFC after: 7 days END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-09T10:30:25.000000Z K 7 svn:log V 22 Fix a couple of typos END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-09T11:14:21.000000Z K 7 svn:log V 67 Mention how to ensure that a device hasn't already been identified END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-09T11:55:18.000000Z K 7 svn:log V 11 Fix a typo END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-08-09T11:59:02.000000Z K 7 svn:log V 64 Wrap the new world order in __FreeBSD__ to ease future imports. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-09T12:24:11.000000Z K 7 svn:log V 46 corrected the fourth argument to ni6_addrs(). END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-09T12:38:17.000000Z K 7 svn:log V 182 MFC: Mention that console= can set multiple consoles. Relate boot_ options to their kernel command line flags and make it clear how kenv(1) is used. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-09T12:56:20.000000Z K 7 svn:log V 366 For each interface flag, indicate whether or not it is owned by the device driver, owned by the network stack, or initialized by the device driver before attach and read-only from then on. Not all device drivers and network stack components currently follow these rules, especially with respect to IFF_UP, and a few exceptions with IFF_ALLMULTI. MFC after: 7 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-09T13:25:34.000000Z K 7 svn:log V 56 Sort the list of supported hardware. MFC after: 3 days END