ƒµy149177 167 267 345 183 311 454 220 493 322 185 319 302 364 164 151 291 116 310 179 216 289 253 168 157 186 398 791 415 165 145 335 213 218 124 334 254 432 610 231 247 399 399 700 221 277 546 181 112 203 442 298 293 391 212 253 117 500 199 634 1875 285 1515 193 191 421 319 188 1040 437 740 239 179 178 458 168 1434 223 279 261 244 126 892 402 516 235 289 185 227 214 368 148 120 421 923 297 289 279 164 321 484 176 444 211 519 492 456 163 167 147 284 303 275 267 332 138 122 264 183 166 148 123 530 251 312 210 151 208 159 215 140 270 263 219 336 187 194 184 356 335 233 404 789 274 179 366 170 337 521 198 242 214 147 372 327 348 348 512 204 192 192 208 420 367 236 596 256 443 1076 K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-17T08:19:52.000000Z K 7 svn:log V 174 Handle device drivers with D_NEEDGIANT in a way which does not penalize the 'good' drivers: Allocate a shadow cdevsw and populate it with wrapper functions which grab Giant END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-17T08:48:42.000000Z K 7 svn:log V 248 In the ufsdirhash_build() failure case for corrupted directories or unreadable blocks, make sure to destroy the mutex we created. Also fix an unrelated typo in a comment. Found by: Peter Holm's stress tests Reviewed by: dwmalone MFC after: 3 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-08-17T11:21:15.000000Z K 7 svn:log V 91 Document the fact that word-boundary matching does not work properly in multibyte locales. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-08-17T11:37:38.000000Z K 7 svn:log V 218 Fix a boundary condition error in slow() and fast() in multibyte locales: we must allow the character beginning at "p" to be converted to a wide character for the purposes of EOL processing and word-boundary matching. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-17T13:02:47.000000Z K 7 svn:log V 356 Add a small paragraph that describes how the current environment settings can be displayed, near the end of the DESCRIPTION section, immediately after the paragraph that describes how they can be set. Add a reference to printenv(1) too (and the ``printenv'' csh builtin). Submitted by: Gary W. Swearingen PR: docs/85008 END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-17T13:32:18.000000Z K 7 svn:log V 124 Correct birthdate for Meriwether Lewis. He was born before the declaration of independence, not after the first world war. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-08-17T13:32:29.000000Z K 7 svn:log V 395 MFC v1.125: > Log: > 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. Approved by: re (hrs) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-17T13:53:11.000000Z K 7 svn:log V 224 MFC revision 1.149: Change the default partition sizes to provide more space in /, /var, and /tmp, and if the device is large enough, provide extra space to /var sufficient to store a crash dump. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-17T14:08:50.000000Z K 7 svn:log V 93 We don't need to clear allocated memory. This will speed-up things a bit. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T14:08:52.000000Z K 7 svn:log V 226 Catch up to ic_curchan changes by making the same change here that was made in ipw(4) in the earlier ic_curchan mega commit. Submitted by: Øyvind Kolbu oyvind at kolbu dot ws Tested by: Stefan Ehmann shoesoft at gmx dot net END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-17T14:34:52.000000Z K 7 svn:log V 209 Even if crypto_dispatch() return an error, request is not canceled and our callback will still be called, just to tell us that requested failed... Reported by: Mike Tancsa MFC after: 3 days END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-08-17T14:35:20.000000Z K 7 svn:log V 268 MFC: (1.26) Fixing a regression introduced in rev1.25 by honouring the errno. This should keep 'ugidfw list' to stop complaining about "Data error in security.mac.bsdextended.rules.N: Unknown error: 0" if there is a "hole" within the rule set. Approved by: re (hrs) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T14:37:39.000000Z K 7 svn:log V 72 Use device_printf() and if_printf() and remove ste_unit from the softc. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-17T14:50:18.000000Z K 7 svn:log V 59 Use the bio field instead of the driver field as intended. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-17T15:00:33.000000Z K 7 svn:log V 198 Add support for working around controllers that cannot do DMA in 48bit mode. The workaround use PIO mode above ~137GB to allow using the disk. Add the Acer chips with rev < 0xc4 as first candidate. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-17T15:12:34.000000Z K 7 svn:log V 24 We should now return 0. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-17T15:25:57.000000Z K 7 svn:log V 217 Always run dedicated kernel thread (even when we have hardware support). There is no performance impact, but allows to allocate memory with M_WAITOK flag. As a side effect this simplify code a bit. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-17T15:27:23.000000Z K 7 svn:log V 87 Update manual page (now dedicated kernel thread is always started). MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-17T15:46:18.000000Z K 7 svn:log V 118 Repeatability is Considered Good when building this library, too. (And I think this is the last one which needs it.) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-17T15:56:04.000000Z K 7 svn:log V 191 Remove the dates from these files. They serve no purpose and result in these files spuriously changing each time they are built. Also, add $FreeBSD$ tags, because cvs is unhappy otherwise. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-17T16:24:57.000000Z K 7 svn:log V 159 Remove a few items from the hardware list. This support is already covered in the manual pages for each bridge device driver. Approved by: brueffer (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-17T16:36:07.000000Z K 7 svn:log V 75 Be more specific about supported chipsets. Approved by: brueffer (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-17T16:45:54.000000Z K 7 svn:log V 64 Bump .Dd before someone notice. Approved by: brueffer (mentor) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-17T16:46:55.000000Z K 7 svn:log V 94 - fix race condition using sx lock. - use TAILQ_FOREACH() for readability. Suggested by: jhb END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-17T17:01:25.000000Z K 7 svn:log V 305 don't raise cpu speed over the value when passive cooling is in effect. since CPU speed is restored by degrees, we cannot use the facility of saving cpu speed by CPUFREQ_set() effectively. so, we need to save the value when passive cooling is in effect. Repoeted by: Kevin Oberman END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T17:36:47.000000Z K 7 svn:log V 698 Fix locking in el(4) and mark mpsafe. - Add locked variants of el_init and el_start. - Don't initialize the mutex and lock it during el_probe(). - Do initialize the mutex during attach. (el_probe() did destroy the mutex to cleanup, so this meant the driver was always using a destroyed mutex when it was running.) - Setup the interrupt handler after ether_ifattach(). - Fix locking in el_detach() and el_ioctl(). Note: Since I couldn't actually find anyone with this hardware, I'm going ahead and committing these changes so they won't be lost. I'll remove the driver in a week (real purpose of the MFC after below) unless someone pipes up to test this. MFC after: 1 week Tested by: gcc(1) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T17:44:32.000000Z K 7 svn:log V 322 Add callout_drain()'s to foo_detach() after calling foo_stop() to make sure that if softclock is running on another CPU and is blocked on our driver lock, we will wait until it has acquired the lock, seen that it was cancelled, dropped the lock, and awakened us so that we can safely destroy the mutex. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T17:44:58.000000Z K 7 svn:log V 73 Use callout_init_mtx() to simplify the stats callout. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T17:45:19.000000Z K 7 svn:log V 53 Remove the unused TULIP_CSR_{READ,WRITE}BYTE macros. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-17T17:46:51.000000Z K 7 svn:log V 242 - Use htole32() instead of using bswap32() conditional on #if BYTE_ORDER. - Don't set IFF_ALLMULTI in our ifnet's if_flags if we end up allowing all multicast due to limits in the MAC receive filters in hardware. Requested by: rwatson (2) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-17T18:43:07.000000Z K 7 svn:log V 115 Typo: s/adverisement/advertisement/. Submitted by: Fredrik Lindberg PR: docs/85050 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-17T18:53:06.000000Z K 7 svn:log V 122 Remove an unnecessicary bzero that was zeroing the softc's struct ifnet pointer. Submitted by: brueffer Reviewed by: dfr END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-17T19:44:15.000000Z K 7 svn:log V 28 Document umask's -S option. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-18T00:28:25.000000Z K 7 svn:log V 237 Rename variables: r_gdt -> saved_gdt r_idt -> saved_idt r_ldt -> saved_ldt in order to prevent clashes with variables with same names defined in . This fixes compilation of this file with GCC 4.0. Reviewed by: njl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-18T00:30:22.000000Z K 7 svn:log V 161 Add VIA/ACE "PadLock" support as a crypto(9) driver. HW donated by: Mike Tancsa Most of the code obtained from: OpenBSD MFC after: 3 days END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-18T00:42:45.000000Z K 7 svn:log V 335 Add the ability to specify the boot2 serial console speed in /boot.config or on the "boot:" prompt line via a "-S" flag, e.g. "-h -S19200". This adds about 50 bytes to the size of boot2 and required a few other small changes to limit the size impact. This changes only affects boot2; there are further loader changes to follow. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-18T01:39:43.000000Z K 7 svn:log V 513 Add a "comconsole_speed" loader variable that can be used to change the serial console speed (i386 and amd64 only). If the previous stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE) then the default speed is determined from the current serial port speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED at compile time. This makes it possible to set the serial port speed once in /boot.config and the setting will propagate to boot2, loader and the kernel serial console. END K 10 svn:author V 3 ken K 8 svn:date V 27 2005-08-18T04:46:26.000000Z K 7 svn:log V 138 MFC, rev 1.28: Remove a reference to compute_stats(), since it is no longer documented at least. Submitted by: osa Approved by: re (hrs) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-18T08:18:02.000000Z K 7 svn:log V 150 While revision 1.26 fixed the code to really subtract 3600 due to daylight-saving, this was actually wrong because mktime() already does that for us. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-08-18T09:01:48.000000Z K 7 svn:log V 306 MFC: IPv6 stealth forwarding Revision Changes Path 1.39 +3 -1 src/sys/netinet6/in6.h 1.35 +8 -0 src/sys/netinet6/in6_proto.c 1.30 +8 -0 src/sys/netinet6/ip6_forward.c 1.34 +3 -0 src/sys/netinet6/ip6_var.h PR: kern/54625 Approved by: re(kensmith) END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-08-18T09:39:35.000000Z K 7 svn:log V 306 MFC: IPv6 stealth forwarding Revision Changes Path 1.39 +3 -1 src/sys/netinet6/in6.h 1.35 +8 -0 src/sys/netinet6/in6_proto.c 1.30 +8 -0 src/sys/netinet6/ip6_forward.c 1.34 +3 -0 src/sys/netinet6/ip6_var.h PR: kern/54625 Approved by: re(kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-18T10:12:42.000000Z K 7 svn:log V 603 o Make rt_check() return a locked rtentry. o Make rt_check() function more strict: - rt0 passed to rt_check() must not be NULL, assert this. - rt returned by rt_check() must be valid locked rtentry, if no error occured. o Modify callers, so that they never pass NULL rt0 to rt_check(). o Modify callers, so that they unlock rtentry. Revisions merged: net/if_atmsubr.c - 1.39, 1.41 net/if_fwsubr.c - 1.13, 1.15 net/if_iso88025subr.c - 1.69, 1.71 net/route.c - 1.110, 1.111 netinet6/nd6.c - 1.51-1.53 netinet/if_ether.c intentionally not touched by this merge. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-18T10:14:22.000000Z K 7 svn:log V 124 MFC 1.139, that closes several races in ARP code. See original commit log for more information. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-18T10:15:25.000000Z K 7 svn:log V 180 MFC 1.126: To prevent a race between RTM_DELETE message and arptimer() deleting stale entry, we need to lock rtentry before unlocking radix head. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-18T10:34:30.000000Z K 7 svn:log V 449 In order to support CARP interfaces kernel was taught to handle more than one interface in one subnet. However, some userland apps rely on the believe that this configuration is impossible. Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch is on, then kernel will refuse to add an additional interface to already connected subnet unless the interface is CARP. Default value is off. PR: bin/82306 In collaboration with: mlaier END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-08-18T11:03:53.000000Z K 7 svn:log V 86 MFC: r1.8 > Remove unnecessary and alarming printf. Approved by: re (Ken Smith) END K 10 svn:author V 3 des K 8 svn:date V 27 2005-08-18T11:04:49.000000Z K 7 svn:log V 20 Whitespace cleanup. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-08-18T11:11:27.000000Z K 7 svn:log V 110 added a missing unlock (just do the same thing as in netinet/raw_ip.c) Obtained from: KAME MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2005-08-18T11:11:40.000000Z K 7 svn:log V 349 Use larger buffers to read lines from the vendor list. Trim trailing whitespace and comments before parsing, and skip empty lines. Skip subvendor / subdevice entries (which start with two tab characters). Change the scanf() format string to match any amount and type of whitespace between the device ID and the description text. MFC after: 3 weeks END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-08-18T11:32:06.000000Z K 7 svn:log V 202 MFC: r1.141 >restore the ability to mount cd9660 filesystems as root by inverting >some of the options test, specifically the joliet and rockridge tests. > ... Approved by: re (Ken Smith) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2005-08-18T11:41:18.000000Z K 7 svn:log V 199 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 3 pjd K 8 svn:date V 27 2005-08-18T11:58:03.000000Z K 7 svn:log V 298 Fix bogus check. It was possible to panic the kernel by giving 0 length. This is actually a local DoS, as every user can use /dev/crypto if there is crypto hardware in the system and cryptodev.ko is loaded (or compiled into the kernel). Reported by: Mike Tancsa MFC after: 1 day END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-18T12:20:28.000000Z K 7 svn:log V 119 For the record: Previous commit fixes... Security: Local DoS on systems with crypto HW and with /dev/crypto available END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-18T13:04:13.000000Z K 7 svn:log V 155 Add ELSA MicroLink 56k USB to the list of supported umodem devices. PR: docs/85079 Submitted by: Rene Ladan MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-18T14:28:20.000000Z K 7 svn:log V 25 Don't break local style. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-08-18T14:29:01.000000Z K 7 svn:log V 403 In re_shutdown() mark interface as down since otherwise we will panic if interrupt comes in later on, which can happen in some uncommon cases. Another possible fix is to call re_detach() instead of re_stop(), like ve(4) does, but I am not sure if the latter is really RTTD, so that stick with this one-liner for now. PR: kern/80005 Approved by: silence on -arch, no reply from selected network gurus END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-18T14:36:47.000000Z K 7 svn:log V 106 Add aliases for atomic operations on 64-bit integers just like other 64-bit platforms. MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-18T14:50:08.000000Z K 7 svn:log V 541 Define the target for opt_compat.h only if KERNBUILDDIR is not defined, so that the module will get the compatibility options from the current kernel configuration if built with the latter, not with the world. [Some other modules seem in need of fixing WRT this, too.] Add more compatibility options found in GENERIC to the default opt_compat.h. While not all of them are used in the procfs code, we can't tell for sure if the system .h files don't need them either, so let's stay on the safe side. Submitted by: kensmith Reviewed by: ru END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-18T15:01:27.000000Z K 7 svn:log V 1776 MFC spelling fixes of several manpages. Approved by: re (kensmith) The merged revisions/files are: Revision Path 1.10 src/lib/libarchive/archive_entry.3 1.21 src/lib/libarchive/archive_read.3 1.8 src/lib/libautofs/libautofs.3 1.10 src/lib/libc/net/inet6_rth_space.3 1.8 src/lib/libc/posix1e/acl_get_entry.3 1.15 src/lib/libc/posix1e/mac.3 1.7 src/lib/libc/posix1e/mac_prepare.3 1.37 src/lib/libc/stdtime/strftime.3 1.16 src/lib/libc/sys/kse.2 1.8 src/lib/libc/sys/uuidgen.2 1.4 src/share/man/man4/man4.i386/acpi_ibm.4 1.6 src/share/man/man4/man4.i386/acpi_panasonic.4 1.40 src/share/man/man4/man4.i386/ep.4 1.6 src/share/man/man4/man4.i386/pbio.4 1.5 src/share/man/man4/man4.i386/snc.4 1.2 src/share/man/man4/man4.sparc64/openprom.4 1.4 src/share/man/man4/man4.sparc64/snd_audiocs.4 1.11 src/share/man/man4/witness.4 1.3 src/share/man/man5/devfs.conf.5 1.51 src/share/man/man9/ifnet.9 1.7 src/share/man/man9/printf.9 1.12 src/usr.bin/file2c/file2c.1 1.27 src/usr.bin/indent/indent.1 1.17 src/usr.bin/lockf/lockf.1 1.90 src/usr.bin/make/make.1 1.45 src/usr.bin/systat/systat.1 1.19 src/usr.bin/truss/truss.1 1.33 src/usr.bin/xinstall/install.1 1.11 src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 1.4 src/usr.sbin/bluetooth/sdpd/sdpd.8 1.9 src/usr.sbin/bsnmpd/modules/snmp_netgraph/snmp_netgraph.3 1.36 src/usr.sbin/i4b/isdnd/isdnd.rc.5 1.53 src/usr.sbin/mtree/mtree.8 1.8 src/usr.sbin/ndiscvt/ndiscvt.8 1.13 src/usr.sbin/ntp/doc/ntpdc.8 1.26 src/usr.sbin/pppd/pppd.8 1.40 src/usr.sbin/syslogd/syslog.conf.5 1.5 src/usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5 END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-18T15:05:28.000000Z K 7 svn:log V 187 Change the modem description of the previous commit to something that is more likely to match the product name, as seen by the user on product listings. Suggested by: blackend, brueffer END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-18T15:22:11.000000Z K 7 svn:log V 1416 Merge spelling fixes from CURRENT. The revisions MFC'ed are: Revision Path 1.9 src/lib/libarchive/archive_entry.3 1.20 src/lib/libarchive/archive_read.3 1.9 src/lib/libc/net/inet6_rth_space.3 1.7 src/lib/libc/posix1e/acl_get_entry.3 1.14 src/lib/libc/posix1e/mac.3 1.6 src/lib/libc/posix1e/mac_prepare.3 1.36 src/lib/libc/stdtime/strftime.3 1.15 src/lib/libc/sys/kse.2 1.7 src/lib/libc/sys/uuidgen.2 1.5 src/share/man/man4/man4.i386/acpi_panasonic.4 1.39 src/share/man/man4/man4.i386/ep.4 1.4 src/share/man/man4/man4.i386/snc.4 1.3 src/share/man/man4/man4.sparc64/snd_audiocs.4 1.10 src/share/man/man4/witness.4 1.2 src/share/man/man5/devfs.conf.5 1.50 src/share/man/man9/ifnet.9 1.6 src/share/man/man9/printf.9 1.11 src/usr.bin/file2c/file2c.1 1.26 src/usr.bin/indent/indent.1 1.16 src/usr.bin/lockf/lockf.1 1.89 src/usr.bin/make/make.1 1.44 src/usr.bin/systat/systat.1 1.18 src/usr.bin/truss/truss.1 1.32 src/usr.bin/xinstall/install.1 1.10 src/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8 1.3 src/usr.sbin/bluetooth/sdpd/sdpd.8 1.35 src/usr.sbin/i4b/isdnd/isdnd.rc.5 1.52 src/usr.sbin/mtree/mtree.8 1.7 src/usr.sbin/ndiscvt/ndiscvt.8 1.12 src/usr.sbin/ntp/doc/ntpdc.8 1.25 src/usr.sbin/pppd/pppd.8 1.39 src/usr.sbin/syslogd/syslog.conf.5 END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-18T16:08:56.000000Z K 7 svn:log V 100 don't forget to update curr_priority. even when frequency is not changed, priority may be changed. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-18T16:41:25.000000Z K 7 svn:log V 99 - don't forget to save freqency when priority is raised. - nuke redundant variable initialization. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-18T17:09:16.000000Z K 7 svn:log V 328 Fixup locking for sf(4) and mark MPSAFE: - Add locked variants of start, init, and ifmedia_upd. - Use callout_* instead of timeout/untimeout. - Don't recurse on the driver lock. - Fixup locking in ioctl. - Lock the driver lock in the ifmedia handlers rather than across ifmedia_ioctl(). Tested by: brueffer MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-18T18:34:23.000000Z K 7 svn:log V 222 Merge if.c:1.237 from HEAD to RELENG_6: Rename equal() macro to sa_equal(), which matches the definitions of sa_equal() in other files, and makes it more clear what equal() is comparing. Approved by: re (kensmith) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-08-18T18:36:39.000000Z K 7 svn:log V 92 (forced) Previous commit was related to kern/85005, not a kern/80005. Pointed out by: jhb END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-18T18:36:40.000000Z K 7 svn:log V 944 When we started calling if_findindex() from if_alloc() with an empty struct ifnet most of if_findindex() become a complex no-op. Remove it and replace it with a corrected version of the four line for loop it devolved to plus some error handling. This should probably be replaced with subr_unit at some point. Switch from checking ifaddr_byindex to ifnet_byindex when looking for empty indexes. Since we're doing this from if_alloc/if_free, we can only be sure that ifnet_byindex will be correct. This fixes panics when loading the ef(4) module. The panics were caused by the fact that if_alloc was called four time before if_attach was called and thus ifaddr_byindex was not set and the same unit was allocated again. This in turn caused the first if_attach to fail because the ifp was not the one in ifnet_byindex(ifp->if_index). Reported by: "Wojciech A. Koszek" PR: kern/84987 MFC After: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-18T18:36:53.000000Z K 7 svn:log V 340 Merge if.c:1.238 from HEAD to RELENG_6: In multicast routines: Compare pointers with NULL rather than treating them as booleans. Compare pointers with NULL rather than 0 to make it more clear they are pointers. Assign pointers value of NULL rather than 0 to make it more clear they are pointers. Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-08-18T18:39:31.000000Z K 7 svn:log V 645 Update the vendor branch with a patch to this file that was researched by glebius, and incorporated by ISC into the next version of BIND. Unfortunately, it looks like their release will come after the release of FreeBSD 6, so we will bring this in now. The patch addresses a problem with high-load resolvers which hit memory barriers. Without this patch, running the resolving name server out of memory would lead to "unpredictable results." Of course, the canonical answer to this problem is to put more memory into the system, however that is not always possible, and the code should be able to handle this situation gracefully in any case. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-08-18T18:39:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r149245, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-18T18:39:32.000000Z K 7 svn:log V 83 This commit was manufactured by cvs2svn to create tag 'bind9-vendor-BIND_9_3_1_p1'. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-18T19:05:46.000000Z K 7 svn:log V 85 New release notes: snd_t4dwave(4) manual page added. Approved by: brueffer (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-18T19:10:07.000000Z K 7 svn:log V 365 Fixup locking and mark MPSAFE: - Add locked versions of start and init. The SRM_MEDIA code in dc_init() stayed in dc_init() instead of moving to dc_init_locked() to make the locking saner. - Use callout_init_mtx(). - Fixup locking in detach and ioctl. - Lock the driver in the ifmedia callouts. - Don't recurse on the driver lock. - De-spl. MFC after: 3 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-18T19:12:14.000000Z K 7 svn:log V 75 Be more specific about supported chipsets. Approved by: brueffer (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-18T19:24:30.000000Z K 7 svn:log V 1340 Various fixups to locking: - Remove a lot of superfluous locking during attach. There is no need to lock access to the driver until some other thread has a way of getting to it. For ethernet drivers the other ways include registering an interrupt handler via bus_setup_intr(), calling ether_ifattach() to hook into the network stack, and kicking off a callout-driven timer via callout_reset(). - Use callout_* rather than timeout/untimeout. - Break out of xl_rxeof() if IFF_DRV_RUNNING is clear after ifp->if_input returns to handle the case where the interface was stopped while we were passing a packet up the stack. Don't call xl_rxeof() in xl_rxeof_task() unless IFF_DRV_RUNNING is set. With these fixes in place, any outstanding task will gracefully terminate as soon as it gets a chance to run after the interface has been stopped via xl_stop(). As a result, taskqueue_drain() is no longer required in xl_stop(). The task is still drained in detach() however to make sure that detach() can safely destroy the driver mutex at the end of the function. - Lock the driver lock in the ifmedia callouts and don't lock across ifmedia_ioctl() in xl_ioctl(). Note: glebius came up with most of (3) as well independently. I took a rather roundabout way of arriving at the same conclusion. MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-18T19:39:27.000000Z K 7 svn:log V 127 Refer to the OpenBSD dhclient instead of the ISC dhclient. Reported by: Bob Johnson PR: 84963 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-18T20:17:00.000000Z K 7 svn:log V 182 Mark the callouts as MPSAFE as if_bridge has been giant-free since day 1. Use the SMP friendly callout_init_mtx() while we are here. Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-18T21:04:12.000000Z K 7 svn:log V 164 Add a new switch -h for interface stats mode, which prints all interface statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-18T22:30:52.000000Z K 7 svn:log V 150 Add missing braces around bpf_filter which were missed when I merged the bpfstat code. Pointed out by: iedowse Pointy hat to: csjp MFC after: 3 days END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-19T00:05:58.000000Z K 7 svn:log V 31 Correct typos found by ispell. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-19T00:07:06.000000Z K 7 svn:log V 795 Merge Makefile:1.12, vmstat.c:1.87 from HEAD to RELENG_6: Teach vmstat -m and vmstat -z to use libmemstat(3). Certain statistics from -z are now a bit different due to changes in the way statistics are now measured. Reproduce with some amount of accuracy the slightly obscure layouts adopted by the two kernel sysctls. In the future, we might want to normalize them. GC dosysctl(), which is now no longer used. Merge vmstat.c:1.88 from HEAD to RELENG_6: Minor syntax tweaks: - Remove some extra blank lines. - Remove comments that don't contribute to understanding. - Remove additional blank lines in output added to maximize compatibility with older vmstat output, but that is actually somewhat gratuitous. Submitted by: bde Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-19T01:49:15.000000Z K 7 svn:log V 304 Pad the strings sccs[], version[], and osrelease[] up to a minimum of 128 bytes, 256 bytes, and 32 bytes respectively. This makes it much easier to identify when two kernels are identical apart from a version number bump (as often happens on security branches). Discussed on: freebsd-arch, in May 2005 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-19T02:43:07.000000Z K 7 svn:log V 419 MFC: if_bridge.c, r1.17; bridgestp.c, r1.5 > Ensure that we are holding the lock when initialising the bridge interface. We > could initialise while unlocked if the bridge is not up when setting the inet > address, ether_ioctl() would call bridge_init. > > Change it so bridge_init is always called unlocked and then locks before > calling bstp_initialization(). Approved by: re (kensmith), mlaier (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-19T02:49:55.000000Z K 7 svn:log V 137 MFC: Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS in order to make this library build repeatably. Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-19T02:53:00.000000Z K 7 svn:log V 191 MFC: Remove dates, since they serve no purpose and result in files spuriosuly changing each time they are built. Also add $FreeBSD$ tags, because cvs wants them. Approved by: re (kensmith) END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-19T03:23:07.000000Z K 7 svn:log V 90 MFC: correct date, fix typos, add 07/07 london bombing entry. Approved by: re (kensmith) END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-19T03:30:44.000000Z K 7 svn:log V 131 MFC: Catch up with last few months of changes on HEAD. Correct typos, correct dates, add entries for Pope John Paul II, etc. END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-19T03:38:59.000000Z K 7 svn:log V 118 MFC: Sync with HEAD: fix typos, correct dates, add new freebsd committer birthdays, add a few new history dates. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-19T03:56:45.000000Z K 7 svn:log V 270 Forced commit to note that the preceeding commit also makes it possible to override the BRANCH specified in newvers.sh via a BRANCH_OVERRIDE environment variable. This is useful for my FreeBSD Update builds, and might possibly be useful for someone else at some point. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-19T04:02:34.000000Z K 7 svn:log V 53 MFC 1.3: Fix backtraces. Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-19T04:05:30.000000Z K 7 svn:log V 25 MFC 1.3: Fix backtraces. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-19T04:12:41.000000Z K 7 svn:log V 323 MFC: Pad the strings sccs[], version[], and osrelease[], and add a BRANCH_OVERRIDE environment variable (which, if set, overrides the BRANCH specified here). These make my FreeBSD Update build code simpler by making it easier to recognize when two kernels are identical modulo version numbers. Approved by: re (kensmith) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-19T04:50:08.000000Z K 7 svn:log V 829 Synch with HEAD: MFC revision 1.167 date: 2005/08/08 21:06:42; author: csjp; state: Exp; lines: +2 -0 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. MFC revision 1.166 date: 2005/08/08 18:54:35; author: csjp; state: Exp; lines: +6 -1 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. Approved by: re (kensmith) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-19T04:52:02.000000Z K 7 svn:log V 203 MFC revision 1.157 date: 2005/08/18 22:30:52; author: csjp; state: Exp; lines: +4 -2 Add missing braces around bpf_filter which were missed when I merged the bpfstat code. Approved by: re (kensmith) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2005-08-19T05:03:08.000000Z K 7 svn:log V 193 MFC 1.48: The divide by zero panic must have been due to a bogus period value. I suppose the BT adapter driver should be fixed, but more importantly we should protect against dividing by zero. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-19T07:25:40.000000Z K 7 svn:log V 186 Correct a performance bug in revision 1.462. The effect of the bug is to execute the outer loop in procedures such as pmap_protect() many more times than necessary. Reviewed by: tegge END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-19T08:37:16.000000Z K 7 svn:log V 68 Remove parameter names, the identifiers were in the user namespace. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-08-19T08:48:04.000000Z K 7 svn:log V 229 MFC: geom_vinum.c rev. 1.17 geom_vinum_drive.c rev. 1.19 geom_vinum_plex.c rev. 1.16 geom_vinum_rm.c rev. 1.7 geom_vinum_var.h rev. 1.9, 1.10 geom_vinum_volume.c rev. 1.9 Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-19T09:29:25.000000Z K 7 svn:log V 387 MFC: Implement a new feature for ping(8) - sweeping pings. In a sweeping ping ICMP payload of packets being sent is increased with given step. Sweeping pings are useful for testing problematic channels, MTU issues or traffic policing functions in networks. PR: bin/82625 Submitted by: Chris Hellberg (with some cleanups) Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T11:03:49.000000Z K 7 svn:log V 84 Sync code with the error report: calloc(number, 1) is equivalent to malloc(number). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T11:09:11.000000Z K 7 svn:log V 351 MFC: usr.sbin/jls/jls.c 1.4,1.5 Not sure why, but SYSCTL_OUT() can sometimes keep returning ENOMEM in sysctl_jail_list(). Because of this, jls(8) could enter into an endless loop. The strange thing is, that we can call jls(8) while the other one is in loop and it will succeed - SYSCTL_OUT() will not return ENOMEM there. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-19T11:51:41.000000Z K 7 svn:log V 114 Move up code for testing KEF_HOLD to avoid ke_cpu being changed unexpectly for PRI_ITHD and PRI_REALTIME threads. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T12:04:19.000000Z K 7 svn:log V 426 MFC: sys/opencrypto/cryptodev.c 1.26 Fix bogus check. It was possible to panic the kernel by giving 0 length. This is actually a local DoS, as every user can use /dev/crypto if there is crypto hardware in the system and cryptodev.ko is loaded (or compiled into the kernel). Reported by: Mike Tancsa Security: Local DoS on systems with crypto HW and with /dev/crypto available Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T12:06:40.000000Z K 7 svn:log V 399 MFC: sys/opencrypto/cryptodev.c 1.26 Fix bogus check. It was possible to panic the kernel by giving 0 length. This is actually a local DoS, as every user can use /dev/crypto if there is crypto hardware in the system and cryptodev.ko is loaded (or compiled into the kernel). Reported by: Mike Tancsa Security: Local DoS on systems with crypto HW and with /dev/crypto available END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-19T12:17:47.000000Z K 7 svn:log V 359 Update man page to reflect the fact that VOP_LISTEXTATTR does not return a list of ASCII NUL terminated strings. Instead, a list of attribute names is returned, where each list entry consists of one byte for the name length, followed by the name, without a terminating ASCII NUL. This in similar to change 1.17 to extattr_get_file.2 Reviewed by: rwatson, ru END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-08-19T12:40:32.000000Z K 7 svn:log V 70 MFC: revision 1.54 (Implement g_ctl api). Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-08-19T12:43:55.000000Z K 7 svn:log V 74 MFC: Attempt g_ctl for metadata modification. Approved by: re (kensmith) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-19T13:35:34.000000Z K 7 svn:log V 51 Fix a LOR between sched_lock and sleep queue lock. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-19T14:52:21.000000Z K 7 svn:log V 187 MFC: Axe ppp_for_tty(). Use tty->t_lsc pointer to store sc. This also eliminates recursive use of ppp_softc_list_mtx. PR: kern/84686 Reviewed by: phk Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-19T15:08:43.000000Z K 7 svn:log V 206 MFC: Add a new switch -h for interface stats mode, which prints all interface statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-19T15:24:12.000000Z K 7 svn:log V 178 MFC: Add a new switch -h for interface stats mode, which prints all interface statistics in human readable form. In collaboration with: vsevolod Reviewed by: cperciva END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-19T15:54:42.000000Z K 7 svn:log V 169 MFC: rev. 1.27 Clarify how the 'channel' argument should look like and add an example on how to obtain information on devices on an ata channel. Approved by: re (hrs) END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-19T16:23:01.000000Z K 7 svn:log V 236 Move the "yiddish cooking has killed more jews than Hitler" quote back to the offensive file. The other Hitler quotes/references stay in the unoffensive file, as they offer more historical perspective than this one. Approved by: core END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-08-19T17:29:43.000000Z K 7 svn:log V 44 -- storage engineer on the virtues of FC-AL END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-08-19T17:35:42.000000Z K 7 svn:log V 28 MFC beachhead and FCAL joke END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-19T17:38:52.000000Z K 7 svn:log V 171 MFC 1.36: create sysctl tree dynamically. it is required to share net.inet6.ip6.fw with upcoming ipfw2 improvement for IPv6. Requested by: bz Approved by: re (kensmith) END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-19T18:38:55.000000Z K 7 svn:log V 89 MFC: Make ichsmb unloadable Approved by: re (kensmith) Sponsored by: Sophos/ActiveState END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-19T18:38:56.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-19T18:50:16.000000Z K 7 svn:log V 54 MFC: Fix up ichsmb. Sponsored by: Sophos/ActiveState END K 10 svn:author V 5 brian K 8 svn:date V 27 2005-08-19T18:54:25.000000Z K 7 svn:log V 29 Connect ichsmb to the build. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T20:45:42.000000Z K 7 svn:log V 437 MFC: sys/opencrypto/cryptodev.c 1.26 Fix bogus check. It was possible to panic the kernel by giving 0 length. This is actually a local DoS, as every user can use /dev/crypto if there is crypto hardware in the system and cryptodev.ko is loaded (or compiled into the kernel). Reported by: Mike Tancsa Tested by: Mike Tancsa Security: Local DoS on systems with crypto HW and with /dev/crypto available END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-19T21:31:42.000000Z K 7 svn:log V 154 - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution. - Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST. OK'ed by: deischen END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-08-19T22:09:16.000000Z K 7 svn:log V 217 MFC 1.1.1.3, a patch to aid in out of memory conditions. Take this opportunity to note that glebius indicated that the initial work in this area was done by Igor Sysoev Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T22:10:19.000000Z K 7 svn:log V 117 Avoid code duplication and implement bitcount32() function in systm.h only. Reviewed by: cperciva MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-08-19T22:10:48.000000Z K 7 svn:log V 57 MFC 1.1.1.3, a patch to aid in out of memory conditions. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T22:13:09.000000Z K 7 svn:log V 115 Move function for calculating number of bits into more central place. I want to use it so more. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T22:16:26.000000Z K 7 svn:log V 67 - Add a missing period. - Fix number of spaces. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-19T22:19:25.000000Z K 7 svn:log V 122 Allow to change number of iterations for PKCS#5v2. It can only be used when there is only one key set. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-08-19T22:30:13.000000Z K 7 svn:log V 44 Add missing brackets. Noticed by: stefanf@ END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-08-20T01:39:08.000000Z K 7 svn:log V 172 MFC: Make links for hoststat(8) and purgestat(8) man pages. Revision Changes Path 1.52 +2 -0 src/usr.sbin/sendmail/Makefile Approved by: re (hrs) END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-20T04:27:15.000000Z K 7 svn:log V 166 MFC 1.22: in the ufsdirhash_build() failure case for corrupted directories or unreadable blocks, make sure to destroy the mutex we created. Approved by: re (scottl) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-20T04:30:35.000000Z K 7 svn:log V 123 MFC revs 1.257 and 1.216. - interface startup doc updates - s/ISC dhclient/OpenBSD dhclient/ Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-20T04:32:54.000000Z K 7 svn:log V 240 MFC rev 1.244, removal of if_findindex and correction of two if_alloc calls before an if_attach. Partial MFC of 1.243. The change it was a response to has not been MFCd, but the comment is relevent without it. Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-20T04:34:11.000000Z K 7 svn:log V 92 MFC rev 1.81, use if_free_type to avoid leaking struct arpcoms. Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-20T04:35:29.000000Z K 7 svn:log V 99 MFC rev 1.9, remove an incorrect and unnecessicary bzero of the softc. Approved by: re (kensmith) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-20T06:07:55.000000Z K 7 svn:log V 92 MFC Eliminate inconsistency in the setting of the B_DONE flag. Approved by: re (kensmith) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-20T07:59:13.000000Z K 7 svn:log V 259 Include and ourselves, don't assume they are included through . gen/sem.c: Prerequisite for <_semaphore.h> net/getprotoent.c: USHRT_MAX net/getservent.c: USHRT_MAX stdio/ungetwc.c: MB_LEN_MAX stdio/vfwscanf.c: MB_LEN_MAX END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-20T08:05:01.000000Z K 7 svn:log V 242 MFC rev. 1.29-1.31: Make the procfs module buildable again in the MODULES_WITH_WORLD case. This means defining a target for default opt_compat.h, but only if we are not building the modules along with the kernel. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-08-20T08:34:21.000000Z K 7 svn:log V 141 Bail if interface is misspelled instead of falling out into the "all interfaces" mode. (Only works with -w, but still better than nothing.) END K 10 svn:author V 5 remko K 8 svn:date V 27 2005-08-20T08:36:56.000000Z K 7 svn:log V 309 MFC: Document the fact that accept(2) may return EINVAL when addrlen is negative (in addition to returning EINVAL when called on a descriptor that is not a socket). Submitted by: Arne H Juul PR: docs/80587 PR: docs/54995, docs/80587 Prodded by: rionda END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-20T08:36:57.000000Z K 7 svn:log V 697 MFC: rev. 1.108, 1.109 src/sys/netinet/ip_fw2.c rev. 1.101 src/sys/netinet/ip_fw.h rev. 1.77 src/sbin/ipfw/ipfw2.c rev. 1.176 src/sbin/ipfw/ipfw.8 * Add dynamic sysctl for net.inet6.ip6.fw. * Correct handling of IPv6 Extension Headers. * Add unreach6 code. * Add logging for IPv6. * Fix build without INET6 and IPFIREWALL compiled into kernel.[1] Submitted by: sysctl handling derived from patch from ume needed for ip6fw Obtained from: is_icmp6_query and send_reject6 derived from similar functions of netinet6,ip6fw Reviewed by: ume, gnn; silence on ipfw@ Spotted and tested by: Michal Mertl [1] Approved by: re (kensmith) END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-08-20T09:10:31.000000Z K 7 svn:log V 179 Remove reference to raid(4), the RAIDframe manual page, which was deleted a while ago. PR: docs/85142 Submitted by: Jeremy Chadwick MFC after: 3 days END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-08-20T09:27:08.000000Z K 7 svn:log V 82 Fix the "unexpected operator" bug some people are seeing. First noticed by: kris END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-20T09:41:49.000000Z K 7 svn:log V 269 - Correctly parse output, when logging amount is limited in the rule itself, not in verbose_limit sysctl. [1] - Do check rules, even if verbose_limit is set 0. Rules may have their own log limits. PR: conf/77929 Submitted by: Andriy Gapon [1] Reviewed by: matteo END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-08-20T10:17:03.000000Z K 7 svn:log V 74 Do not place paragraph information post-macro unless required by mdoc(7). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-20T10:23:19.000000Z K 7 svn:log V 240 MFC 1.27: When doing ARP load balancing source IP is taken in network byte order, so residue of division for all hosts on net is the same, and thus only one VHID answers. Change source IP in host byte order. Reviewed by: mlaier END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-20T10:43:03.000000Z K 7 svn:log V 428 Add a __packed keyword to g_eli_metadata struct definition, so sizeof(struct g_eli_metadata) will return the exact number of bytes needed for storing it on the disk. Without this change GELI was unusable on amd64 (and probably other 64-bit archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes and geli(8) was failing on assertion. Reported by: Michael Reifenberger MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-20T12:13:51.000000Z K 7 svn:log V 105 Properly un-giant-trick the cdevsw in fini_cdevsw() Tripped over by: Huang wen hui END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-20T12:20:48.000000Z K 7 svn:log V 149 MFC 1.34, 1.35: - avoid exclusive sleep mutex witness warning using sx lock. - use TAILQ_FOREACH() for readability. Approved by: re (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-20T12:32:33.000000Z K 7 svn:log V 121 MFC 1.34, 1.35: - avoid exclusive sleep mutex witness warning using sx lock. - use TAILQ_FOREACH() for readability. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-20T13:11:17.000000Z K 7 svn:log V 51 Remove a stale occurrence of 'alpha' in a comment. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T13:24:28.000000Z K 7 svn:log V 275 Merge mdoc.local:1.50 from HEAD to RELENG_6: Hook up libmemstat(3) to the library list in mdoc.local. This will cause the library description (specifically, -lmemstat) to render properly in the libmemstat.3 man page. Submitted by: ru Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T13:31:05.000000Z K 7 svn:log V 230 Merge uma_dbg.c:1.21, uma_dbg.h:1.9 from HEAD to RELENG_6: Improve canonicalization of copyrights. Order copyrights by order of assertion (jeff, bmilekic, rwatson). Suggested ages ago by: bde Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T13:34:13.000000Z K 7 svn:log V 251 Merge tcp_subr.c:1.229, tcp_syncache.c:1.75, tcp_timer.c:1.75 from HEAD to RELENG_6: Remove no-op spl's and most comment references to spls, as TCP locking is believed to be basically done (modulo any remaining bugs). Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T13:34:59.000000Z K 7 svn:log V 251 Merge in_pcb.c:1.166 from HEAD to RELENG_6: Remove no-op spl references in in_pcb.c, since in_pcb locking has been basically complete for several years now. Update one spl comment to reference the locking strategy. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T13:38:22.000000Z K 7 svn:log V 415 Merge if_var.h:1.99 from HEAD to RELENG_6: Allocate one of the spare ifnet integer fields to hold if_drv_flags, which in the future will hold IFF_OACTIVE and IFF_RUNNING, and have its access synchronized by the device driver rather than the protocol stack. This will avoid potential races in the management of flags in if_flags. Discussed with: various (scottl, jhb, ...) Approved by: re (kensmith) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-08-20T14:28:37.000000Z K 7 svn:log V 108 Don't automatically start scanning in if_init() if IEEE80211_ROAMING_MANUAL flag is set. MFC after: 1 week END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-08-20T14:34:54.000000Z K 7 svn:log V 97 Export adapter's internal statistics sysctl even if IWI_DEBUG is not defined. MFC after: 1 week END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-08-20T14:41:16.000000Z K 7 svn:log V 97 Export adapter's internal statistics sysctl even if IPW_DEBUG is not defined. MFC after: 1 week END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-08-20T15:03:41.000000Z K 7 svn:log V 112 Remove IEEE80211_C_WPA from capabilities flags. WPA support is not fully implemented in ipw. MFC after: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-20T16:44:41.000000Z K 7 svn:log V 323 Move MINSIGSTKSZ from to and rename it to __MINSIGSTKSZ. Define MINSIGSTKSZ in . This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN in (soon ) without having to include the whole header. Discussed with: bde END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-08-20T16:49:03.000000Z K 7 svn:log V 271 Add some necessary bits for upcoming 802.11e support: o management of multiple tx rings (up to 4) o setting of WME IE in association requests Some features are still missing though, like the possibility to override the default cwmin/cwmax/asfn values of each tx queues. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-20T17:05:47.000000Z K 7 svn:log V 143 Back-out the change from revision 1.14 and allow for '/' in labels again. Convinced by: green, Gavin Atkinson, dougb, gordon MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T17:12:47.000000Z K 7 svn:log V 499 Silence "busy" warnings when unmounting devfs at system shutdown. This is a workaround for non-symetric teardown of the file systems at shutdown with respect to the mount order at boot. The proper long term fix is to properly detach devfs from the root mount before unmounting each, and should be implemented, but since the problem is non-harmful, this temporary band-aid will prevent false positive bug reports and unnecessary error output for 6.0-RELEASE. MFC after: 3 days Tested by: pav, pjd END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-20T18:37:34.000000Z K 7 svn:log V 163 Introduce pmap_pml4e_to_pdpe() and pmap_pdpe_to_pde() and use them to avoid recomputation of the pml4e and pdpe in pmap_copy(), pmap_protect(), and pmap_remove(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T21:25:21.000000Z K 7 svn:log V 346 Merge libmemstat.3:1.10 from HEAD to RELENG_6: The "Mbuf" zone was renamed "mbuf" to improve consistency, but the code example in libmemstat.3 was not updated to take this rename into account. Update the example. PR: 84946 Submitted by: Wojciech A. Koszek Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-20T21:32:08.000000Z K 7 svn:log V 979 Merge ip_output.c:1.244 from HEAD to RELENG_6: Add helper function ip_findmoptions(), which accepts an inpcb, and attempts to atomically return either an existing set of IP multicast options for the PCB, or a newlly allocated set with default values. The inpcb is returned locked. This function may sleep. Call ip_moptions() to acquire a reference to a PCB's socket options, and perform the update of the options while holding the PCB lock. Release the lock before returning. Remove garbage collection of multicast options when values return to the default, as this complicates locking substantially. Most applications allocate a socket either to be multicast, or not, and don't tend to keep around sockets that have previously been used for multicast, then used for unicast. This closes a number of race conditions involving multiple threads or processes modifying the IP multicast state of a socket simultaenously. Approved by: re (scottl) END