ƒ°w150726 165 347 128 280 633 129 1040 121 1861 140 249 265 136 349 184 303 1672 145 222 304 201 493 241 310 195 107 285 283 136 202 201 248 120 472 443 314 549 122 201 197 122 237 169 205 202 117 226 176 217 155 330 274 189 189 117 381 330 304 150 248 226 165 164 224 2196 539 313 181 190 283 141 343 162 1446 336 215 2272 240 132 370 298 448 209 275 415 322 269 428 249 389 145 221 285 242 423 208 134 171 770 251 634 213 801 154 302 216 362 687 527 254 565 525 266 164 194 403 441 658 661 330 289 339 124 128 480 203 328 462 223 753 152 139 126 143 134 255 317 134 215 180 372 481 257 200 177 146 163 327 112 116 148 126 194 166 342 732 181 351 209 200 423 238 447 212 299 181 K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T19:12:44.000000Z K 7 svn:log V 254 Remove the hack to clear the owepreempt flag after running a fast interrupt handler from Alpha. Instead, expand the scheduler pinning in the interrupt handling code so that curthread is pinned while executing fast interrupt handlers. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-29T19:13:52.000000Z K 7 svn:log V 36 Trim a couple of unneeded includes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-29T19:59:03.000000Z K 7 svn:log V 187 o Add a bunch of o2micro controller IDs o Add SMC34C90 to list as well, since I've found enough more data about it since my original research to know it is appropriate for this driver. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-09-29T20:40:29.000000Z K 7 svn:log V 538 Handle the case where the -P flag is specified for a read-only file earlier, and more gracefully. Previously, this combination would be ignored early in the code where permissions are tested and fail later with a very unhelpful "permission denied" error. Instead, test for this flag in the same block that generates the "override?" messages for read-only files, but instead of trying to guess what the user has in mind, generate an error and exit. Update the man page to reflect this new behavior. Not objected to by: freebsd-hackers@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-29T20:41:04.000000Z K 7 svn:log V 37 Fix bad compile. Pointy hat to: imp END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-09-29T20:57:07.000000Z K 7 svn:log V 943 Merge if.c:1.247, in.c:1.88, in.h:1.92 from HEAD to RELENG_6: Take a first cut at cleaning up ifnet removal and multicast socket panics, which occur when stale ifnet pointers are left in struct moptions hung off of inpcbs: - Add in_ifdetach(), which matches in6_ifdetach(), and allows the protocol to perform early tear-down on the interface early in if_detach(). - Annotate that if_detach() needs careful consideration. - Remove calls to in_pcbpurgeif0() in the handling of SIOCDIFADDR -- this is not the place to detect interface removal! This also removes what is basically a nasty (and now unnecessary) hack. - Invoke in_pcbpurgeif0() from in_ifdetach(), in both raw and UDP IPv4 sockets. It is now possible to run the msocket_ifnet_remove regression test using HEAD without panicking. Reported by: Gavin Atkinson Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-29T21:32:57.000000Z K 7 svn:log V 29 Don't build pccardd anymore. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-09-29T21:50:26.000000Z K 7 svn:log V 1762 After a rmdir()ed directory has been truncated, force an update of the directory's inode after queuing the dirrem that will decrement the parent directory's link count. This will force the update of the parent directory's actual link to actually be scheduled. Without this change the parent directory's actual link count would not be updated until ufs_inactive() cleared the inode of the newly removed directory, which might be deferred indefinitely. ufs_inactive() will not be called as long as any process holds a reference to the removed directory, and ufs_inactive() will not clear the inode if the link count is non-zero, which could be the result of an earlier system crash. If a background fsck is run before the update of the parent directory's actual link count has been performed, or at least scheduled by putting the dirrem on the leaf directory's inodedep id_bufwait list, fsck will corrupt the file system by decrementing the parent directory's effective link count, which was previously correct because it already took the removal of the leaf directory into account, and setting the actual link count to the same value as the effective link count after the dangling, removed, leaf directory has been removed. This happens because fsck acts based on the actual link count, which will be too high when fsck creates the file system snapshot that it references. This change has the fortunate side effect of more quickly cleaning up the large number dirrem structures that linger for an extended time after the removal of a large directory tree. It also fixes a potential problem with the shutdown of the syncer thread timing out if the system is rebooted immediately after removing a large directory tree. Submitted by: tegge MFC after: 3 days END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-09-29T22:41:20.000000Z K 7 svn:log V 47 Use mkuzip(8) instead of create_compressed_fs. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-09-29T22:45:16.000000Z K 7 svn:log V 155 - Fix "end_blk out of range" panic when INVARIANTS. - Do not allow rw access. Submitted by: Dario Freni MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-09-29T23:38:24.000000Z K 7 svn:log V 172 Deprecate the useless argument to -vlandev. Submitted by: Fredrik Lindberg (implementation) Reviewed by: brooks MFC after: 5 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-09-29T23:39:37.000000Z K 7 svn:log V 44 Forgot to touch .Dd in the previous commit. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-29T23:48:04.000000Z K 7 svn:log V 255 MFC privilege separation enhancements for bpf(4) Introduce BIOCLOCK and BIOCSETWF Revision(s) 1.158 +81 -23 src/sys/net/bpf.c 1.40 +2 -0 src/sys/net/bpf.h 1.31 +4 -1 src/sys/net/bpfdesc.h Approved by: re (scottl) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-09-29T23:50:29.000000Z K 7 svn:log V 91 MFC src/contrib/pf/pflogd/pflogd.c rev 1.9 Implement BIOCLOCK Approved by: re (kensmith) END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-09-29T23:53:29.000000Z K 7 svn:log V 210 For the sake of consistency and easier typing, introduce "-tunnel" as an alias for "deletetunnel". The latter is overly long and prone to typos, but keep it for POLA since it costs nothing. MFC after: 5 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-09-30T01:30:01.000000Z K 7 svn:log V 1573 Un-staticize runningbufwakeup() and staticize updateproc. Add a new private thread flag to indicate that the thread should not sleep if runningbufspace is too large. Set this flag on the bufdaemon and syncer threads so that they skip the waitrunningbufspace() call in bufwrite() rather than than checking the proc pointer vs. the known proc pointers for these two threads. A way of preventing these threads from being starved for I/O but still placing limits on their outstanding I/O would be desirable. Set this flag in ffs_copyonwrite() to prevent bufwrite() calls from blocking on the runningbufspace check while holding snaplk. This prevents snaplk from being held for an arbitrarily long period of time if runningbufspace is high and greatly reduces the contention for snaplk. The disadvantage is that ffs_copyonwrite() can start a large amount of I/O if there are a large number of snapshots, which could cause a deadlock in other parts of the code. Call runningbufwakeup() in ffs_copyonwrite() to decrement runningbufspace before attempting to grab snaplk so that I/O requests waiting on snaplk are not counted in runningbufspace as being in-progress. Increment runningbufspace again before actually launching the original I/O request. Prior to the above two changes, the system could deadlock if enough I/O requests were blocked by snaplk to prevent runningbufspace from falling below lorunningspace and one of the bawrite() calls in ffs_copyonwrite() blocked in waitrunningbufspace() while holding snaplk. See END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-09-30T02:12:15.000000Z K 7 svn:log V 51 Give .Dd a tummy rub, forgotten on my last commit. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-09-30T06:09:41.000000Z K 7 svn:log V 125 Fox a LOR of sleep and sched_lock by using a timeout wait when process reaches maximum number of threads. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-30T06:10:59.000000Z K 7 svn:log V 207 MFC 1.197 (by ssouhlal): Don't unbusy the devfs mount in vfs_mountroot_try() as it gets accessed and unbusied in devfs_fixup(), which assumes that the devfs mount is still locked. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-30T06:14:44.000000Z K 7 svn:log V 104 MFC 1.293 (by ssouhlal): ffs_mountfs() needs devvp to be locked, so lock it. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-09-30T06:26:42.000000Z K 7 svn:log V 396 MFC sys/fs/hpfs/hpfs_vfsops.c:1.54-1.56, sys/fs/msdosfs/msdosfs_vfsops.c:1.145, sys/fs/ntfs/ntfs_vfsops.c:1.79-1.80, sys/fs/udf/udf_vfsops.c:1.34-1.35, sys/gnu/fs/ext2fs/ext2_vfsops.c:1.152-1.153, sys/gnu/fs/reiserfs/reiserfs_vfsops.c:1.2-1.3 (by ssouhlal): *_mountfs() (if the filesystem mounts from a device) needs devvp to be locked, so lock it. Approved by: re (scottl) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-30T08:30:20.000000Z K 7 svn:log V 148 Report any errors we might see when disabling the watchdog. Complain about extra arguments so people don't get surprised if they type "watchdog 0" END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-09-30T11:48:44.000000Z K 7 svn:log V 212 MFC revision 1.890: > date: 2005/09/28 12:39:00; author: kensmith; state: Exp; lines: +17 -6 > Add SHA256 checksums to the release build. > > Requested by: cperciva (so) > Reviewed/improved by: ru END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-09-30T13:09:01.000000Z K 7 svn:log V 101 MFC: Call gctl_free() to free resource allocated with gctl_get_handle(). Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-09-30T13:17:54.000000Z K 7 svn:log V 14 Use 'PC Card' END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-09-30T13:24:14.000000Z K 7 svn:log V 191 MFi386: revision 1.33. > Cause all flags passed by boot2 to set the respective loader(8) > boot_* variable. The end effect is that all flags from boot2 > are now passed to the kernel. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-09-30T13:25:30.000000Z K 7 svn:log V 190 Enable BWX for the Alcor2 chipset treating it like the Pyxis. This is not an MFC as the code in 5.x and beyond is rather different. Submitted by: Paul V. Bolotoff walter at alasir dot com END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-09-30T13:27:36.000000Z K 7 svn:log V 43 Use hw.machine_arch instead of hw.machine. END K 10 svn:author V 3 des K 8 svn:date V 27 2005-09-30T14:02:29.000000Z K 7 svn:log V 109 MFC: don't take unprotected keys into account for authentication. PR: bin/81231 Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-30T14:45:10.000000Z K 7 svn:log V 108 Add macros which follow the miidevs design pattern to make it easier to construct tables for mii_phy_match. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-30T14:51:44.000000Z K 7 svn:log V 155 Add a more generic version of the mii_phy_match routine (mii_phy_match_gen) which can be used for phy that want to piggy back other data with their table. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-30T14:54:17.000000Z K 7 svn:log V 28 ciphy wasn't included here. END K 10 svn:author V 5 garys K 8 svn:date V 27 2005-09-30T17:31:39.000000Z K 7 svn:log V 377 A minor overhaul: added comments, split cmds in 2, changed synopsis. Split commands into two groups: one with optional count and one with required argument. Changed synopsis line accordingly. Added some hopefully-helpful comments based on experiments, knowing that not all hardware works the same. PR: docs/84101 Approved by: keramida MFC after: 3 days END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-09-30T17:32:08.000000Z K 7 svn:log V 348 Move some devstat collection to below where large IO operations are chopped up. This make iostat report operations passed down to the device driver instead of operations passed down to GEOM disk. The transfer size limit imposed by the device driver is no longer hidden, improving the correlation between iostat output and device driver workload. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-09-30T18:07:41.000000Z K 7 svn:log V 216 Un-staticize waitrunningbufspace() and call it before returning from ffs_copyonwrite() if any async writes were launched. Restore the threads previous TDP_NORUNNINGBUF state before returning from ffs_copyonwrite(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-09-30T18:21:05.000000Z K 7 svn:log V 456 The NWFS code in RELENG_6 is broken due to a typo in sys/fs/nwfs/nwfs_vfsop= s.c, introduced with the conversion to nmount with revision 1.38. This causes mount_nwfs to fail with the error message: mount_nwfs: mount error: /mnt/netware: syserr = No such file or directo= ry This is caused by a typo on line 178, which specifies "nwfw_args" rather than "nwfs_args". Submitted by: Antony Mawer Fat fingers: phk PR: 86757 MFC: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-30T19:35:44.000000Z K 7 svn:log V 30 Not sporttings on other cards END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-09-30T19:39:27.000000Z K 7 svn:log V 108 Use ansi function definitions in preference to K&R to reduce diffs with NetBSD (and cause it looks cooler). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-09-30T23:41:10.000000Z K 7 svn:log V 100 Allow the root user to be aware of other credentials by virtue of privilege. Submitted by: rwatson END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T04:37:08.000000Z K 7 svn:log V 30 Import GNU cpio 2.6 (trimmed) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T04:37:08.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r150765, 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-10-01T04:37:09.000000Z K 7 svn:log V 73 This commit was manufactured by cvs2svn to create tag 'cpio-vendor-v2_6'. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T04:47:43.000000Z K 7 svn:log V 112 Remove files no longer present in GNU cpio distribution. Most of these were actually moved into subdirectories. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T04:56:09.000000Z K 7 svn:log V 109 Rename isnumber() to cpio_isnumber() to avoid clashing with the library function of the same name. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T04:57:01.000000Z K 7 svn:log V 25 Update for GNU cpio 2.6. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T05:36:39.000000Z K 7 svn:log V 133 Merge from old copyin.c rev 1.5, copypass.c rev 1.2: Create fifos using mkfifo() instead of attempting to create them using mknod(). END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T05:42:44.000000Z K 7 svn:log V 84 Merge from old tar.c rev 1.2: Recognize and skip 'x' and 'g' pax extension entries. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T05:49:29.000000Z K 7 svn:log V 124 Merge from old main.c rev 1.2: Don't set the umask until after we have processed the arguments and opened the archive file. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T05:52:40.000000Z K 7 svn:log V 63 Merge from old util.c rev 1.2: say "volume" instead of "tape". END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T05:54:39.000000Z K 7 svn:log V 237 Merge from old copypass.c rev 1.3: If we must yell at the user than a file cannot be linked into place when requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T06:09:55.000000Z K 7 svn:log V 181 Merge from old copyout.c rev 1.2: Output a zero rdev except for bdevs, cdevs, fifos and sockets. Don't output a file if the major, minor or totality of its rdev would be truncated. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T06:35:58.000000Z K 7 svn:log V 97 Define HAVE_MKFIFO and HAVE_SETLOCALE here since the configure script apparently fails to do it. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T06:37:41.000000Z K 7 svn:log V 97 Merge long_format() time formatting code and fixes for printf() format errors from old copyin.c. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-10-01T06:41:34.000000Z K 7 svn:log V 25 Update for GNU cpio 2.6. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-01T08:33:56.000000Z K 7 svn:log V 283 Copy new process argument list in do_execve() before grabbing PROC_LOCK to avoid touching pageable memory while holding a mutex. Simplify argument list replacement logic. PR: kern/84935 Submitted by: "Antoine Pelisse" apelisse AT gmail.com (in a different form) MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-10-01T15:48:02.000000Z K 7 svn:log V 234 MFC r1.5: The 'intr_bufferfull' driver statistic actually counts the number of times sampling was stopped due to a space shortage; change its description in the output of `pmcstat -s` to match reality. Approved by: re (scottl) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-10-01T15:52:13.000000Z K 7 svn:log V 208 MFC r1.11-1.12: - Correct a typo. - Note the requirement for 'device apic' on i386 systems. - Consistently use 'x86' when referring to behaviour common to the i386 and amd64. Approved by: re (hrs) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-10-01T15:56:44.000000Z K 7 svn:log V 56 MFC: IP_MINTTL socket option. Approved by: re (scottl) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-01T16:26:25.000000Z K 7 svn:log V 155 MFC: add product ID for Linux Ethernet/RNDIS gadget on pxa210/25x/26x. sys/dev/usb/if_cdce.c: 1.11 sys/dev/usb/usbdevs: 1.234 Approved by: re (scottl) END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-01T16:32:27.000000Z K 7 svn:log V 133 MFC: add product ID for Linux Ethernet/RNDIS gadget on pxa210/25x/26x. sys/dev/usb/if_cdce.c: 1.11 sys/dev/usb/usbdevs: 1.234 END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-01T17:39:50.000000Z K 7 svn:log V 73 MFC: one character fix in mount option name. Approved by: re@ (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-01T18:17:29.000000Z K 7 svn:log V 73 Re-add FreeBSD 5.4 which got mistakenly nuked in rev. 1.41.2.5, add 7.0. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-10-01T18:43:16.000000Z K 7 svn:log V 130 MFC bpf.c v1.159 Make stats a bit more accurate by refreshing the PID after each descriptor operation. Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-01T18:56:19.000000Z K 7 svn:log V 2098 Big polling(4) cleanup. o Axe poll in trap. o Axe IFF_POLLING flag from if_flags. o Rework revision 1.21 (Giant removal), in such a way that poll_mtx is not dropped during call to polling handler. This fixes problem with idle polling. o Make registration and deregistration from polling in a functional way, insted of next tick/interrupt. o Obsolete kern.polling.enable. Polling is turned on/off with ifconfig. Detailed kern_poll.c changes: - Remove polling handler flags, introduced in 1.21. The are not needed now. - Forget and do not check if_flags, if_capenable and if_drv_flags. - Call all registered polling handlers unconditionally. - Do not drop poll_mtx, when entering polling handlers. - In ether_poll() NET_LOCK_GIANT prior to locking poll_mtx. - In netisr_poll() axe the block, where polling code asks drivers to unregister. - In netisr_poll() and ether_poll() do polling always, if any handlers are present. - In ether_poll_[de]register() remove a lot of error hiding code. Assert that arguments are correct, instead. - In ether_poll_[de]register() use standard return values in case of error or success. - Introduce poll_switch() that is a sysctl handler for kern.polling.enable. poll_switch() goes through interface list and enabled/disables polling. A message that kern.polling.enable is deprecated is printed. Detailed driver changes: - On attach driver announces IFCAP_POLLING in if_capabilities, but not in if_capenable. - On detach driver calls ether_poll_deregister() if polling is enabled. - In polling handler driver obtains its lock and checks IFF_DRV_RUNNING flag. If there is no, then unlocks and returns. - In ioctl handler driver checks for IFCAP_POLLING flag requested to be set or cleared. Driver first calls ether_poll_[de]register(), then obtains driver lock and [dis/en]ables interrupts. - In interrupt handler driver checks IFCAP_POLLING flag in if_capenable. If present, then returns.This is important to protect from spurious interrupts. Reviewed by: ru, sam, jhb END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-01T19:04:22.000000Z K 7 svn:log V 442 - Catch up with the fact that HZ is 1000 now by default. - Remove description of poll in trap feature. - Tell that polling should be turned on and off with ifconfig. - Move description of kern.polling.enable to the end and say that this a deprecated way of turning polling on. - Remove note that idle poll has some problems in CURRENT. I failed to find them, while Sam and Luigi failed to remember what the problem actually were there. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-01T19:10:48.000000Z K 7 svn:log V 215 Correct previous commit to fix the sense of the TDP_NORUNNINGBUF check in ffs_copyonwrite() that is a precondition for calling waitrunningbufspace(). Pointed out by: tegge Pointy hat to: truckman MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-01T19:14:34.000000Z K 7 svn:log V 85 Now ifconfig is the one right way to turn polling on. Thus, remove the "if" clauses. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-10-01T19:21:03.000000Z K 7 svn:log V 98 Make sure the clone lists are sorted in the right order. Explosion triggered by: pjd MFC: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-01T20:15:41.000000Z K 7 svn:log V 186 Second attempt at a work-around for fifo-related socket panics during make -j with high levels of parallelism: acquire Giant in fifo I/O routines. Discussed with: ups MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-01T20:53:51.000000Z K 7 svn:log V 45 Note that kern.polling.enable is deprecated. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-01T20:58:03.000000Z K 7 svn:log V 250 Fix the usage of rc_usage. The rc_usage function takes a list of possible keywords, not all them in a single argument. This also fixes the issue of extra delimiter characters appearing on the help line from rc.d scripts not setting $extra_commands. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-10-02T03:55:07.000000Z K 7 svn:log V 67 Honouring ic->ic_dtim_period. Submitted by: sam MFC after: 3 days END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-10-02T04:29:08.000000Z K 7 svn:log V 1349 Fixing WEP bustage in hostap mode since 5.2-RELEASE. - WEP TX fix: The original code called software crypto, ieee80211_crypto_encap(), which never worked since IEEE80211_KEY_SWCRYPT was never flagged due to ieee80211_crypto_newkey() assumes that wi always supports hardware based crypto regardless of operational mode(by virtue of IEEE80211_C_WEP). This fix works around that issue by adding wi_key_alloc() to force the use of s/w crypto. Also if anyone ever decides to cleanup ioctl handling where key changes wouldn't cause a call to wi_init() every time, we'll need wi_key_alloc() to DTRT. In addition to that, this fix also adds code to wi_write_wep() to force existing keys to be switched between h/w and s/w crypto such that an operation mode change(sta <-> hostap) will flag IEEE80211_KEY_SWCRYPT properly. - WEP RX fix: Clear IEEE80211_F_DROPUNENC even in hostap mode. Quote from Sam: "This is really gross but I don't see an easy way around it. By doing it we lose the ability to independently drop unencode frames (and support mixed wep/!wep use). We should really be setting the EXCLUDE_UNENCRYPTED flag written in wi_write_wep based on IEEE80211_F_DROPUNENC but with our clearing it we can't depend on it being set properly." Reported by: Holm Tiffe Submitted by: sam MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-10-02T05:47:04.000000Z K 7 svn:log V 238 MFC revision 1.890: > date: 2005/09/28 12:39:00; author: kensmith; state: Exp; lines: +17 -6 > Add SHA256 checksums to the release build. > > Requested by: cperciva (so) > Reviewed/improved by: ru Approved by: re (scottl) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-02T07:03:00.000000Z K 7 svn:log V 120 o Remove unfinished code and make it possible to override bsdextended_script from rc.conf(5): Not objected by: trhodes END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-02T08:25:33.000000Z K 7 svn:log V 2173 MFC ffs_softdep.c 1.185 Original commit message: truckman 2005-09-29 21:50:26 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_softdep.c Log: After a rmdir()ed directory has been truncated, force an update of the directory's inode after queuing the dirrem that will decrement the parent directory's link count. This will force the update of the parent directory's actual link to actually be scheduled. Without this change the parent directory's actual link count would not be updated until ufs_inactive() cleared the inode of the newly removed directory, which might be deferred indefinitely. ufs_inactive() will not be called as long as any process holds a reference to the removed directory, and ufs_inactive() will not clear the inode if the link count is non-zero, which could be the result of an earlier system crash. If a background fsck is run before the update of the parent directory's actual link count has been performed, or at least scheduled by putting the dirrem on the leaf directory's inodedep id_bufwait list, fsck will corrupt the file system by decrementing the parent directory's effective link count, which was previously correct because it already took the removal of the leaf directory into account, and setting the actual link count to the same value as the effective link count after the dangling, removed, leaf directory has been removed. This happens because fsck acts based on the actual link count, which will be too high when fsck creates the file system snapshot that it references. This change has the fortunate side effect of more quickly cleaning up the large number dirrem structures that linger for an extended time after the removal of a large directory tree. It also fixes a potential problem with the shutdown of the syncer thread timing out if the system is rebooted immediately after removing a large directory tree. Submitted by: tegge MFC after: 3 days Revision Changes Path 1.185 +2 -0 src/sys/ufs/ffs/ffs_softdep.c Submitted by: tegge Approved by: re (scottl) END K 10 svn:author V 2 bp K 8 svn:date V 27 2005-10-02T08:32:49.000000Z K 7 svn:log V 148 Allow user to override default port numbers used by communication protocols. This is very useful for tunneled SMB connections. MFC after: 4 weeks END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-02T08:39:41.000000Z K 7 svn:log V 40 Add firewall-related xrefs to SEE ALSO. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-02T08:43:57.000000Z K 7 svn:log V 275 o Teach sysctl_drop() how to deal with the sockets in TIME_WAIT state. This is a special case because tcp_twstart() destroys a tcp control block via tcp_discardcb() so we cannot call tcp_drop(struct *tcpcb) on such connections. Use tcp_twclose() instead. MFC after: 5 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T09:53:00.000000Z K 7 svn:log V 201 Complete removal of mac_create_root_mount/mpo_create_root_mount MAC interfaces. Obtained from: TrustedBSD Project Submitted by: Chris Vance MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T09:58:54.000000Z K 7 svn:log V 351 Merge kern_lock.c:1.94 from HEAD to RELENG_6: In lockstatus(), don't lock and unlock the interlock when testing the sleep lock status while kdb_active, or we risk contending with the mutex on another CPU, resulting in a panic when using "show lockedvnods" while in DDB. Reviewed by: jhb Reported by: kris Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:03:51.000000Z K 7 svn:log V 112 Include kdb.h so that kdb_active is declared regardless of KDB being included in the kernel. MFC after: 0 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:06:15.000000Z K 7 svn:log V 178 Merge subr_kdb.c:1.13 from HEAD to RELENG_6: If KDB_STOP_NMI is compiled into the kernel, default debug.kdb.stop_cpus_with_nmi to 1 rather than 0. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:06:49.000000Z K 7 svn:log V 318 Merge subr_pcpu.c:1.7 from HEAD to RELENG_6: Add "show allpcpu" to DDB, which prints the current CPU id followed by the per-cpu data for all CPUs. This is easier to ask users to do than "figure out how many CPUs you have, now run show pcpu, then run it once for each CPU you have". Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:07:21.000000Z K 7 svn:log V 225 Merge fifo_vnops.c:1.130 from HEAD to RELENG_6: Assert v_fifoinfo is non-NULL in fifo_close() in order to catch non-conforming cases sooner. Reported by: Peter Holm Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:08:29.000000Z K 7 svn:log V 172 Merge kern_lock.c:1.95 from HEAD to RELENG_6: Include kdb.h so that kdb_active is declared regardless of KDB being included in the kernel. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:11:31.000000Z K 7 svn:log V 331 Merge kern_lock.c:1.94, 1.95 from HEAD to RELENG_5: In lockstatus(), don't lock and unlock the interlock when testing the sleep lock status while kdb_active, or we risk contending with the mutex on another CPU, resulting in a panic when using "show lockedvnods" while in DDB. Reviewed by: jhb Reported by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:20:04.000000Z K 7 svn:log V 152 Merge subr_kdb.c:1.13 from HEAD to RELENG_5: If KDB_STOP_NMI is compiled into the kernel, default debug.kdb.stop_cpus_with_nmi to 1 rather than 0. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T10:21:33.000000Z K 7 svn:log V 292 Merge subr_pcpu.c:1.7 from HEAD to RELENG_5: Add "show allpcpu" to DDB, which prints the current CPU id followed by the per-cpu data for all CPUs. This is easier to ask users to do than "figure out how many CPUs you have, now run show pcpu, then run it once for each CPU you have". END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-02T10:57:33.000000Z K 7 svn:log V 49 Two fixes for the last commit. Submitted by: ru END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-10-02T11:22:28.000000Z K 7 svn:log V 127 MFC g_uzip.c rev. 1.5: - Fix "end_blk out of range" panic when INVARIANTS. - Do not allow rw access. Approved by: re (scott) END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2005-10-02T11:23:40.000000Z K 7 svn:log V 191 MFC g_uzip.c rev. 1.5: - Fix "end_blk out of range" panic when INVARIANTS. EROFS check was not MFC'ed because UFS mount tries to access the device in rw mode even if ro mount is requested. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-10-02T11:31:45.000000Z K 7 svn:log V 147 o Restore kerneldumpheader.architectureversion bytes swopping mangled in rev. 1.72. PR: bin/86805 Submitted by: Gavin Atkinson MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-02T11:41:12.000000Z K 7 svn:log V 326 Add a DDB "traceall" function, which stack traces all known process threads. This is quite useful if generating a debug log for post-mortem by another developer, in which case the person at the console may not know which threads are of interest. The output of this can be quite long. Discussed with: kris MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-02T12:55:34.000000Z K 7 svn:log V 116 Document that -q option is also applicable to the "change" command. PR: docs/85095 Submitted by: Rostislav Krasny END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-02T12:58:24.000000Z K 7 svn:log V 43 MFC: 1.46: -q also affects "route change". END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-10-02T13:44:05.000000Z K 7 svn:log V 80 MFC: 1.46: Document that -q also affects "route change". Approved by: re (hrs) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-02T14:32:06.000000Z K 7 svn:log V 676 MFC rev 1.55-1.58: * Document existing support for: - ALI M5229 - ALI M5281 - ALI M5287 - ALI M5289 - CMD 646U2 - Highpoint HPT372N - Intel 6300ESB - Intel ICH7 - Nvidia nForce2 MCP - Nvidia nForce3 MCP - Nvidia nForce3 Pro - Nvidia nForce4 - Promise PDC20571 - Promise PDC20575 - Promise PDC20579 - Promise PDC20580 - Promise PDC20621 - Promise PDC20622 - Promise PDC40518 - Promise PDC40519 - Promise PDC40718 - Promise PDC40719 - SIS 180 - SIS 181 - SIS 182 - SIS 965 - VIA VT6410 - VIA VT6420 - VIA VT6421 * Add two missing dots. * Remove HPT366 duplicate. Approved by: re (hrs) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:31:03.000000Z K 7 svn:log V 153 Soft volume implementation for audio devices without pcm mixer controller. Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:37:40.000000Z K 7 svn:log V 536 sys/dev/sound/pcm/ac97.c: * Added codec id for CMI9761. * feeder_volume *whitelist* through ac97_fix_volume() sys/dev/sound/pcm/ac97.h: * Added AC97_F_SOFTVOL definition. sys/dev/sound/pcm/channel.c: * Slight changes for chn_setvolume() to conform with OSS. * FEEDER_VOLUME is now part of feeder building process. sys/dev/sound/pcm/mixer.c: * General spl* cleanup. It doesn't serve any purpose anymore. * Main hook for feeder_volume. Submitted by: Ariff Abdullah Tested by: multimedia@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:39:07.000000Z K 7 svn:log V 115 General spl* cleanup. It doesn't serve any purpose anymore. Submitted by: Ariff Abdullah END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:43:57.000000Z K 7 svn:log V 703 sys/dev/sound/pcm/sndstat.c: * General spl* cleanup. It doesn't serve any purpose anymore. * Nuke sndstat_busy(). Addition of sndstat_acquire() / sndstat_release() for sndstat exclusive access. [1] sys/dev/sound/pcm/sound.c: * Remove duplicate SLIST_INIT() * Use sndstat_acquire() / release() to lock / release the entire sndstat during pcm_unregister(). This should fix LOR #159 [1] sys/dev/sound/pcm/sound.h: * Definition of SD_F_SOFTVOL (part of feeder volume) * Nuke sndstat_busy(). Addition of sndstat_acquire() / sndstat_release() for exclusive sndstat access. [1] Submitted by: Ariff Abdullah LOR: 159 [1] Discussed with: yongari [1] END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-10-02T15:45:47.000000Z K 7 svn:log V 60 MFC IP_DONTFRAG IP socket option. Approved by: re (scottl) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:50:22.000000Z K 7 svn:log V 204 The cmi9739_patch function which is referenced by ac97.c (rev. 1.56) now... Submitted by: Ariff Abdullah Pointy hat to: netchild (for not committing it with rev. 1.56 of ac97.c) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:51:19.000000Z K 7 svn:log V 118 Emulate pcm mixer controller for any uaudio device without it. Submitted by: Ariff Abdullah END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-02T15:54:26.000000Z K 7 svn:log V 269 Use rc.subr(8) appropriately: - utilize default methods instead of rolling local ones; - avoid to specify BEFORE conditions we don't really need (pflog will be REQUIRE'd by pf); - omit extra decoration from warning messages, warn() will decorate them sufficiently. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2005-10-02T15:56:36.000000Z K 7 svn:log V 589 * Fixed rate operation for es1370 chip to solve conflicting sampling rate between playback and recording. This can be disabled / enabled via kernel hints (hint.pcm..fixed_rate=0/4000-48000) or sysctl hw.snd.pcm.fixed_rate=0/4000-48000). Default to 48khz fixed rate. [1] * Basic cleanup. *_es1371x_* -> *_es137x_*. * Some locking fixes. [2] Submitted by: Ariff Abdullah Discussed with: yongari [2] See also: http://lists.freebsd.org/pipermail/freebsd-multimedia/2005-September/002758.html [1] Reported by: Jos Backus [1] END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-02T16:14:41.000000Z K 7 svn:log V 434 New release notes: acpi_thermal(4) passive cooling support, ichsmb(4) unloading bug fixed, smbios(4) support on amd64, hw.apic.enable_extint added, sound(4) improvements, MPSAFE: the bottom half of NFS, snd_als4000(4), snd_cmi(4), snd_via8233(4), snd_via82c686(4), and natm(4), GEOM_ZERO class added, umass(4) PLAY_* commands support, moused(8) -H flag, shared library version bump, and pkg_version(1) -o and -O flags. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-02T16:38:12.000000Z K 7 svn:log V 156 MFC revision 1.639: Don't let the upper bits of %dr6/%dr7 get set. Submitted by: Nate Eldredge Approved by: re@ (scottl) Security: Local denial of service END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-02T18:59:02.000000Z K 7 svn:log V 472 Add an rc.d script to start pfsync at the right moment of the system boot, and hook it up in the system. The separate script is needed because in the presence of various interface lists in rc.conf ($network_interfaces, $cloned_interfaces, $sppp_interfaces, $gif_interfaces, more to come) it is hard to start them orderly, so that pfsync is brought up after its syncdev, which is required for the proper startup of pfsync. Discussed with: mlaier on -pf MFC after: 5 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-02T19:12:42.000000Z K 7 svn:log V 432 Record dependency on the newly introduced pfsync. Start before routing for better system protection. (pf used to start late during system boot, after many a network daemon have started already, which sucked from security POV.) Remark: For maximum security, pf should start before netif, but it would create a dependency loop because pfsync has to start after netif, yet before pf. Discussed with: mlaier on -pf MFC after: 5 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-02T19:15:56.000000Z K 7 svn:log V 169 Do not packet filter in the bridge_start() routine, locally generated packets are already filtered by the higher layers. Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-10-02T19:15:57.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-02T19:17:49.000000Z K 7 svn:log V 101 Use available rc.subr features. Reduce code duplication. Follow the current style of rc.d scripting. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-02T20:11:34.000000Z K 7 svn:log V 310 Add KPnS (known problems and solutions) entries: - /dev/ttyv* not found on FreeBSD/sparc64 when there is no framebuffer[1]. - KLDs do not work on FreeBSD/sparc64 with >4GB RAM[2]. - kgdb is broken for debugging panics on FreeBSD/sparc64[2]. Thanks to: marius[1], kris[2] Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-02T21:02:37.000000Z K 7 svn:log V 348 New release notes: gre(4) IPv6 over GRE support, ipfw IPv6 support, new sysctl net.inet6.ip6.stealth added, g_label now supports Ext2FS and ReiserFS, bsdiff(1) and bspatch(1) added, ping(8) "sweeping ping" support, wcsdup() function added, rc.d/gbde_swap renamed to rc.d/encswap, rc.d/geli and rc.d/geli2 added, and portsnap(8) imported. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-02T22:57:31.000000Z K 7 svn:log V 562 - Call db_setup_paging() for traceall. - Make it so one can't call db_setup_paging() if it has already been called before. traceall needs this, or else the db_setup_paging() call from db_trace_thread() will reset the printed line number, and override its argument. This is not perfect for traceall, because even if one presses 'q' while in the middle of printing a backtrace it will finish printing the backtrace before exiting, as db_trace_thread() won't be notified it should stop, but it is hard to do better without reworking the pager interface a lot more. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2005-10-02T23:27:56.000000Z K 7 svn:log V 563 Always wire the sysctl output buffer in sysctl_kern_proc() before calling sysctl_out_proc(). -- fix from jhb Move the code in fill_kinfo_thread() that gathers data from struct proc into the new function fill_kinfo_proc_only(). Change all callers of fill_kinfo_thread() to call both fill_kinfo_proc_only() and fill_kinfo() thread. When gathering data from a multi-threaded process, fill_kinfo_proc_only() only needs to be called once. Grab sched_lock before accessing the process thread list or calling fill_kinfo_thread(). PR: kern/84684 MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-03T01:47:43.000000Z K 7 svn:log V 237 Log a message about entering or leaving permanently promiscuous mode, as it is done for usual promiscuous mode already. This info is important because promiscuous mode in the hands of a malicious party can jeopardize the whole network. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-03T02:14:51.000000Z K 7 svn:log V 196 Clean up consistency checks in if_setflag(): . use KASSERT for all checks so that the source of an error can be detected; . use __func__ instead of spelling function name each time; . fix a typo. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-10-03T02:24:21.000000Z K 7 svn:log V 246 Improve handling flags that must be propagated to the parent interface, such as IFF_PROMISC and IFF_ALLMULTI. In addition, vlan(4) gains ability to migrate from one parent to another w/o losing its own flags. PR: kern/81978 MFC after: 2 weeks END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-10-03T06:57:29.000000Z K 7 svn:log V 32 make saved cpu level stackable. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-10-03T07:02:14.000000Z K 7 svn:log V 35 MFC rev 1.63: Fix spelling errors. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-03T07:05:34.000000Z K 7 svn:log V 384 Reintroduce the lmc T1/E1/T3 WAN driver. This version is locked, supports interface polling, compiles on 64-bit platforms, and compiles on NetBSD, OpenBSD, BSD/OS, and Linux. Woo! Thanks to David Boggs for providing this driver. Altq, sppp, netgraph, and bpf are required for this driver to operate. Userland tools and man pages will be committed next. Submitted by: David Boggs END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-10-03T07:09:41.000000Z K 7 svn:log V 107 Add the lmcconfig tool for controlling the lmc driver. Add man pages and glue. Submitted by: David Boggs END K 10 svn:author V 6 peadar K 8 svn:date V 27 2005-10-03T09:30:12.000000Z K 7 svn:log V 232 MFC revision 1.494: Close a race in biodone(), whereby the bio_done field of the passed bio may have been freed and reassigned by the wakeup before being tested after releasing the bdonelock. Approved by: re (scottl@) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-03T11:09:39.000000Z K 7 svn:log V 365 Acquire Giant conditionally in in_addmulti() and in_delmulti() based on whether the interface being accessed is IFF_NEEDSGIANT or not. This avoids lock order reversals when calling into the interface ioctl handler, which could potentially lead to deadlock. The long term solution is to eliminate non-MPSAFE network drivers. Discussed with: jhb MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-10-03T11:34:29.000000Z K 7 svn:log V 126 Unlock Giant symmetrically with respect to lock acquire order as that's generally nicer. Spotted by: johan MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-03T12:49:54.000000Z K 7 svn:log V 655 If sufficiently bad things happen during a call to kern_execve(), it is possible for do_execve() to call exit1() rather than returning. As a result, the sequence "allocate memory; call kern_execve; free memory" can end up leaking memory. This commit documents this astonishing behaviour and adds a call to exec_free_args() before the exit1() call in do_execve(). Since all the users of kern_execve() in the tree use exec_free_args() to free the command-line arguments after kern_execve() returns, this should be safe, and it fixes the memory leak which can otherwise occur. Submitted by: Peter Holm MFC after: 3 days Security: Local denial of service END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:05:03.000000Z K 7 svn:log V 57 Kernel dump for arm, ripped from the ia64/amd64 version. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:05:38.000000Z K 7 svn:log V 44 Implement savectx(). Obtained from: NetBSD END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:06:00.000000Z K 7 svn:log V 31 Define KERNELDUMP_ARM_VERSION. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:06:44.000000Z K 7 svn:log V 48 asm versions of in_cksum_hdr() and in_pseudo(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:07:09.000000Z K 7 svn:log V 39 Only save the registers that are used. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:07:57.000000Z K 7 svn:log V 159 *blush* Don't try to dereference map if it's NULL. While I'm there, increase the minimum value to write-back/invalidate the whole dcache in bus_dmamap_sync(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:09:36.000000Z K 7 svn:log V 221 Import a small ELF trampoline, in which the kernel is embedded, and that is able to load the kernel into memory, symbol table included. This is needed to be able to access the symbol table from DDB without a boot loader. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:09:58.000000Z K 7 svn:log V 39 Makefile magic for the ELF trampoline. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:10:55.000000Z K 7 svn:log V 119 Export the virtual and physical address in which the kernel was loaded, needed for userland when reading kernel dumps. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:12:10.000000Z K 7 svn:log V 85 Add a new API to let platform-specific ports provide functions for big copy/zeroing. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:13:50.000000Z K 7 svn:log V 276 - Provide the kernel l1pt physical address, for userland. - Use the new API for pmap_copy_page() and pmap_zero_page(). - Just write-back the pages in pmap_qenter(), and invalidate it in pmap_qremove(). - Nuke the cache flushing in pmap_enter_quick(), it's not needed anymore. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-10-03T14:15:26.000000Z K 7 svn:log V 384 o Move a lot of parameter checking from netisr_poll() to dedicated sysctl handlers. Protect manipulations with poll_mtx. The affected sysctls are: - kern.polling.burst_max - kern.polling.each_burst - kern.polling.user_frac - kern.polling.reg_frac o Use CTLFLAG_RD on MIBs that supposed to be read-only. o u_int32t -> uint32_t o Remove unneeded locking from poll_switch(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:15:50.000000Z K 7 svn:log V 161 Provide a dump_avail[] variable, which contains the page ranges to be dumped. For iq31244_machdep.c, attempt to recognize hints provided by the elf trampoline. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:16:41.000000Z K 7 svn:log V 104 If a thread already tries to allocate a new memory range, wait for it instead of trying to do the same. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:17:16.000000Z K 7 svn:log V 82 Make sure the interrupt is masked before processing it, or bad things can happen. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:17:45.000000Z K 7 svn:log V 51 Export the variables needed for the copy/zero API. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:18:21.000000Z K 7 svn:log V 68 Make mem.c know about the pages allocated with ARM_USE_SMALL_ALLOC. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:19:55.000000Z K 7 svn:log V 231 Import dummy drivers for the i80321 DMA controller and AAU. The DMA controller driver only knows how to do memory to memory copies, and the AAU driver how to zero a chunk of memory. Use them to process big (>=1KB) copying/zeroing. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:20:44.000000Z K 7 svn:log V 17 Add dma and aau. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:21:14.000000Z K 7 svn:log V 21 libkvm bits for arm. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:21:49.000000Z K 7 svn:log V 53 Add an asm version of strlen() for arm (how useful). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:22:15.000000Z K 7 svn:log V 31 Compile fdisk for arm as well. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-10-03T14:43:27.000000Z K 7 svn:log V 99 Fix a long line in copyright notice. Pointed out by: Gavin Atkinson gavin.atkinson ury york ac uk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-03T15:47:15.000000Z K 7 svn:log V 74 - Use PCIR_BAR(). - Remove unused TXP_PCI_INTLINE and TXP_DEVNAME macros. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-03T15:52:34.000000Z K 7 svn:log V 249 - Use if_printf() and device_printf() and axe lge_unit from the softc. - Don't bzero the softc first thing in attach. - Cleanup error handling in attach() to avoid lots of duplication. - Don't initialize the callout handle twice. MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-10-03T17:24:20.000000Z K 7 svn:log V 639 New release notes: /boot.config -S option, comconsole_speed loader tunable, debug.mpsafevfs=1 on ia64 by default, snd_via8233(4) supported on amd64, IPv6 pMTU discovery for multicast packets disabled by default, new sysctl: net.inet6.ip6.mcast_pmtu, net.inet.icmp.reply_from_interface, and net.inet.icmp.quotelen, IP_MINTTL socket option, ata(4) DMA workaround, cmp(1) -h option, new functions: pidfile(3), and memmem(3), netstat(1) -h option, pkill(1) -F and -L option, powerd(8) -P option, removable_interfaces rc.conf variable removed, ifconfig_, and sysinstall(8) default partition size calculation changed. END K 10 svn:author V 8 blackend K 8 svn:date V 27 2005-10-03T17:24:51.000000Z K 7 svn:log V 84 - s/cd0c/cd0 - Bump revision date to match many content changes since last revision END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-10-03T18:20:44.000000Z K 7 svn:log V 255 Use more rc.subr bits to clean up pccard_ether and implement new features. Both the presence of a NOAUTO keyword and an interface being up can be ignored is the forcestart option is used. Additionally, a restart option has been added. Reviewed by: ume END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-10-03T18:34:17.000000Z K 7 svn:log V 116 Use the constants for the syscall names from syscall.h rather than hardcoding the numbers for the SYSVIPC syscalls. END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-10-03T20:08:00.000000Z K 7 svn:log V 107 MFC revision 1.9: Fix the "fpudna: fpcurthread == curthread XXX times" problem. Approved by: re (scottl@) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-03T21:27:39.000000Z K 7 svn:log V 326 MFC m_copyup function, uipc_mbuf.c r1.147 This can be used to help make our ip stack less alignment restrictive, and help performance on some ethernet cards which currently copy the entire packet a couple bytes to get the packet aligned properly... Required for if_bridge support. Approved by: mlaier (mentor) OKed by: jmg END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-03T21:39:21.000000Z K 7 svn:log V 140 MFC revision 1.11: Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on certain corrupt files. Approved by: re (scottl) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-03T21:40:42.000000Z K 7 svn:log V 350 MFC if_bridge code; bridgestp.c r1.6, if_bridge.c r1.23, if_bridgevar.h r1.4 Add if_bridge, which provides more advanced Ethernet bridging and 802.1d spanning tree support. Based on Jason Wright's bridge driver from OpenBSD, and modified by Jason R. Thorpe in NetBSD. Conversion to old-ifconfig taken from green@ Approved by: mlaier (mentor) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-10-03T21:41:45.000000Z K 7 svn:log V 114 MFC revision 1.11: Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on certain corrupt files. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-03T21:51:32.000000Z K 7 svn:log V 202 MFC if_bridge support code Add network hooks and support code for if_bridge, including ipv6 and dummynet support. Use the if_spare1 pointer from struct ifnet to keep ABI. Approved by: mlaier (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-10-03T21:55:15.000000Z K 7 svn:log V 85 MFC if_bridge support Connect if_bridge to the build. Approved by: mlaier (mentor) END