ƒ³'149000 177 155 188 150 132 246 126 224 199 156 323 160 194 139 271 144 150 152 121 156 244 499 219 517 264 135 129 205 414 335 193 231 289 263 226 134 456 622 180 3413 165 182 601 155 230 128 834 149 450 259 177 390 459 240 148 146 118 158 130 249 477 222 611 137 229 480 491 559 269 240 261 233 234 206 173 339 386 630 1076 354 347 363 749 115 273 183 436 439 198 224 169 655 200 161 164 417 227 130 146 157 175 119 178 246 137 406 449 170 156 194 214 289 2179 334 367 507 184 154 1111 154 173 128 198 317 223 188 538 519 344 273 500 255 210 514 351 242 440 1049 156 200 449 145 402 111 339 228 164 139 114 121 247 114 654 299 287 292 341 144 222 157 148 161 157 162 161 164 175 162 144 178 287 307 1123 328 224 187 163 170 K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-12T22:28:25.000000Z K 7 svn:log V 58 MFC: rev. 1.42 Remove stray comma Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-12T22:29:42.000000Z K 7 svn:log V 91 MFC: rev. 1.70 Add some more info about jail startup and shutdown. Approved by: re (hrs) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-12T22:32:13.000000Z K 7 svn:log V 53 MFC: rev. 1.18 Sort the list of supported hardware. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-12T22:32:55.000000Z K 7 svn:log V 35 MFC: rev. 1.42 Remove stray comma END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-08-12T22:46:15.000000Z K 7 svn:log V 151 Add missing links from getgrent_r.3, getgrnam_r.3, and getgrgid_r.3 to getgrent.3. Submitted by: Ulf Lilleengen MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-12T23:05:48.000000Z K 7 svn:log V 29 Promise PDC4071[89] support. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-12T23:11:44.000000Z K 7 svn:log V 131 correct CTS duration calculation; SIFS+ACK should use the xmit rate not the rate for CTS MFC after: 3 days Obtained from: Atheros END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-13T00:04:42.000000Z K 7 svn:log V 106 fix media_status so devd recognizes the device as an 802.11 interface Submitted by: Robert C. Noland III END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-13T00:30:26.000000Z K 7 svn:log V 64 fix handling of the current channel (missed in previous commit) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-08-13T02:30:15.000000Z K 7 svn:log V 230 Change OUT from -2 to CHAR_MIN-1, making it impossible for it to inadvertently match a negative char in the RE being compiled. This fixes compilation of "\376" (as an ERE) and "\376\376" (as a BRE). PR: 84740 MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-13T04:23:33.000000Z K 7 svn:log V 68 save+restore wpa, privacy, and roaming settings MFC after: 2 weeks END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-08-13T05:54:33.000000Z K 7 svn:log V 101 Add an implementation of the semi-standard wcsdup() function, as found on Microsoft and GNU systems. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T07:54:23.000000Z K 7 svn:log V 43 cvs -d stefanf@ncvs.FreeBSD.org:/home/ncvs END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T07:59:46.000000Z K 7 svn:log V 174 Forced commit due to wrong commit-log file: - Provide missing prototypes and variable declarations in arith.h, include arith.h. - Make arith_assign() and yyerror() static. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-13T08:06:18.000000Z K 7 svn:log V 52 Prune empty directories in /usr Move argv parsing. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T08:09:22.000000Z K 7 svn:log V 54 Use prototypes in the generated builtins.{c,h} files. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T08:12:18.000000Z K 7 svn:log V 56 Use prototypes in the MKINIT lines collected by mkinit. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T08:26:58.000000Z K 7 svn:log V 25 Include missing headers. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T08:31:37.000000Z K 7 svn:log V 60 First declare the functions to pacify -Wmissing-prototypes. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T08:38:02.000000Z K 7 svn:log V 147 - Provide all initialisers for a struct event. - Include init.h in the generated init.c. - Generate prototypes and put the brace on the next line. END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-13T11:02:34.000000Z K 7 svn:log V 407 * Add dynamic sysctl for net.inet6.ip6.fw. * Correct handling of IPv6 Extension Headers. * Add unreach6 code. * Add logging for IPv6. 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@ Test setup provided by: CK Software GmbH MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-13T11:13:12.000000Z K 7 svn:log V 127 * Solve "No PHY found" problem for more Yukon Lite variants. * Catch a bus attach error. * Improve locking. MFC after: 6 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-13T11:31:00.000000Z K 7 svn:log V 425 MFC: rev. 1.33 src/sys/net/if_gre.c, rev. 1.20 src/sys/netinet/ip_gre.c Add support for IPv6 over GRE [1]. PR kern/80340 includes the FreeBSD specific ip_newid() changes NetBSD does not have. Correct handling of non AF_INET packets passed to bpf [2]. PR: kern/80340[1], NetBSD PRs 29150[1], 30844[2] Obtained from: NetBSD ip_gre.c rev. 1.34,1.35, if_gre.c rev. 1.56 Submitted by: Gert Doering [2] END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-13T11:55:29.000000Z K 7 svn:log V 166 Fix the progress statistics code by printing the right variable. I missed this when I changed the stats code in the ports -> base transition. Pointed out by: simon END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T15:00:54.000000Z K 7 svn:log V 39 Use assignment rather than comparison. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T15:04:30.000000Z K 7 svn:log V 33 Declare echocmd() and testcmd(). END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-13T15:47:13.000000Z K 7 svn:log V 108 Put the comparison with PEOF into a new macro is_eof(). Don't use it if the character comes from a string. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-13T16:27:13.000000Z K 7 svn:log V 316 Allow multiple commands to be specified on a single command line, e.g., "portsnap fetch update" or "portsnap -I cron update". They will be executed in the order that they appear, and duplicates are not removed (so "portsnap fetch fetch fetch fetch" is meaningful, albeit rather silly). Requested by: Roman Divacky END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-13T17:31:48.000000Z K 7 svn:log V 242 Extend acl support to pass ioctl requests through and use this to add support for getting the current policy setting and collecting the list of mac addresses in the acl table. Submitted by: Michal Mertl (original version) MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-13T17:38:09.000000Z K 7 svn:log V 100 add list mac and mac:kick support Submitted by: Michal Mertl (original version) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-13T17:45:37.000000Z K 7 svn:log V 138 Because code paths for I/O requests are quite complex, add comments above the functions which participate in I/O paths. MFC after: 1 day END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-13T17:50:21.000000Z K 7 svn:log V 196 revert 1.64: we cannot use the channel characteristics to decide when to do 11g erp sta accounting because b/g channels show up as false positives when operating in 11b. Noticed by: Michal Mertl END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-08-13T19:08:10.000000Z K 7 svn:log V 168 Misc mdoc(7) fixes: - Bump document date for recent updates. - Use .Fx for FreeBSD. - Remove EOL whitespace. - Start new sentences on new lines. Reviewed by: cperciva END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-13T19:55:06.000000Z K 7 svn:log V 133 added a knob to enable path MTU discovery for multicast packets. (by default, it is disabled) Submitted by: suz Obtained from: KAME END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-13T20:07:50.000000Z K 7 svn:log V 39 Make mpsafe_vfs=1 the default on ia64. END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-08-13T20:21:33.000000Z K 7 svn:log V 363 Do not use vm_pager_init() to initialize vnode_pbuf_freecnt variable. vm_pager_init() is run before required nswbuf variable has been set to correct value. This caused system to run with single pbuf available for vnode_pager. Handle both cluster_pbuf_freecnt and vnode_pbuf_freecnt variable in the same way. Reported by: ade Obtained from: alc MFC after: 2 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-13T21:08:32.000000Z K 7 svn:log V 526 Fix the problem with the IPI for the lazy context switching of the high FP registers. It was not that the IPI got lost due to the perceived unreliability of the IPI delivery, but rather that the IPI was not assigned a vector (ugh). Sending a 0 vector to a CPU results in a stray external interrupt. Add a KASSERT to ipi_send() to catch this. The initialization of the IPIs could be better, but it's not at all sure what the future of the code is. Avoid wasting a lot of time on something that is going to be rewritten anyway. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-13T21:16:38.000000Z K 7 svn:log V 85 o s/pmap_lpte_/pmap_/g o Remove pmap_is_referenced(). It was already compiled-out. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-13T21:24:18.000000Z K 7 svn:log V 3315 Merge two sets of changes relating to devfs device node cloning from HEAD to RELENG_6: changes to introduce a credentialed version of the clone event handler, and then changes to merge the regular and credentialed versions into a single interface (along with updates to existing consumers). With this merge, 6.x and 7.x are in sync. First batch merges devfs_devs.c:1.37, devfs_vnops.c:1.115, kern_conf.c:1.187, tty_pty.c:1.138, mac_vfs.c:1.109, mac_biba.c:1.36, mac_lomac.c:1.36, mac_mls.c:1.73, mac_stub.c:1.53, mac_test.c:1.61, conf.h:1.223, mac.h:1.68, mac_policy.h:1.67 from HEAD to RELENG_6: When devfs cloning takes place, provide access to the credential of the process that caused the clone event to take place for the device driver creating the device. This allows cloned device drivers to adapt the device node based on security aspects of the process, such as the uid, gid, and MAC label. - Add a cred reference to struct cdev, so that when a device node is instantiated as a vnode, the cloning credential can be exposed to MAC. - Add make_dev_cred(), a version of make_dev() that additionally accepts the credential to stick in the struct cdev. Implement it and make_dev() in terms of a back-end make_dev_credv(). - Add a new event handler, dev_clone_cred, which can be registered to receive the credential instead of dev_clone, if desired. - Modify the MAC entry point mac_create_devfs_device() to accept an optional credential pointer (may be NULL), so that MAC policies can inspect and act on the label or other elements of the credential when initializing the skeleton device protections. - Modify tty_pty.c to register clone_dev_cred and invoke make_dev_cred(), so that the pty clone credential is exposed to the MAC Framework. While currently primarily focussed on MAC policies, this change is also a prerequisite for changes to allow ptys to be instantiated with the UID of the process looking up the pty. This requires further changes to the pty driver -- in particular, to immediately recycle pty nodes on last close so that the credential-related state can be recreated on next lookup. Submitted by: Andrew Reisse Obtained from: TrustedBSD Project Sponsored by: SPAWAR, SPARTA Second batch merges scsi_target.c:1.68, coda_fbsd.c:1.43, firewirereg.h:1.38, fwdev.c:1.47, nmdm.c:1.36, snp.c:1.100, dsp.c:1.82, mixer.c:1.45, vkbd.c:1.9, devfs_vnops.c:1.117, tty_pty.c:1.139, tty_tty.c:1.57, bpf.c:1.156, if_tap.c:1.56, if_tun.c:1.153, smb_dev.c:1.28, conf.h:1.224 from HEAD to RELENG_6: Merge the dev_clone and dev_clone_cred event handlers into a single event handler, dev_clone, which accepts a credential argument. Implementors of the event can ignore it if they're not interested, and most do. This avoids having multiple event handler types and fall-back/precedence logic in devfs. This changes the kernel API for /dev cloning, and may affect third party packages containg cloning kernel modules. Requested by: phk These changes modifies the kernel device driver API for device cloning, and might require minor modifications to third party device drivers that make use of devfs cloning. It will not be merged to RELENG_5. Approved by: re (scottl) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-13T21:26:53.000000Z K 7 svn:log V 69 Bump __FreeBSD_version for dev_clone eventhandler to add credential. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-13T21:27:58.000000Z K 7 svn:log V 86 Bump __FreeBSD_version for dev_clone eventhandler to add credential. Approved by: re END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-13T21:28:43.000000Z K 7 svn:log V 503 Correctly exit from extract_run() and update_run() if files needed are missing from ${WORKDIR}/files/. This bug was caused by the astonishing interaction of "return" and pipelines; in the following code, the "return" does not exit the function, but instead exits the subshell which was spawned for the last element of the pipeline; consequently, the output produced is "foo". foo() { echo bar | while read baz; do if [ ${baz} = "bar" ]; then return 1 fi done echo foo } Reported by: simon END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-14T02:45:04.000000Z K 7 svn:log V 58 Spell "cmp > /dev/null" as "cmp -s". Suggested by: dougb END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-14T03:28:08.000000Z K 7 svn:log V 133 Document two missed if_bridge commands 'addr' and 'static'. Noticed by: Michal Mertl Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 3 wes K 8 svn:date V 27 2005-08-14T03:49:32.000000Z K 7 svn:log V 36 Add the best quote evar! about XML. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-08-14T04:19:36.000000Z K 7 svn:log V 738 - restore the ability to mount cd9660 filesystems as root by inverting some of the options test, specifically the joliet and rockridge tests. Since the root mount callchain doesn't go through cd9660_cmount, the default mount options aren't set. Rather than having the main codepath assume the options are there, test for the absence of the inverted optioin e.g. instead of vfs_flagopt(.. "joliet" ..), test for !vfs_flagopt(.. "nojoliet" ..) This works for root mount, non-root mount and future nmount cases. - in cd9660_cmount, remove inadvertent setting of "gens" when "extatt" was set. Reported by: grehan, Dario Freni Tested by: Dario Freni Not objected to by: phk MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-14T07:46:56.000000Z K 7 svn:log V 53 Recent cleanups made it possible to bump WARNS to 3. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-14T14:13:07.000000Z K 7 svn:log V 357 When keys were configured without passphrase, number of iterations in metadata is equal to -1. if we then wanted to attach provider (or change keys) and forget about '-p' flag it failed on assertion (quite ok, without assertion it could call PKCS#5v2 with 4294967295 iterations). Instead of failing on assertion, remind about '-p' flag. MFC after: 3 days END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-14T17:07:04.000000Z K 7 svn:log V 162 Don't treat failure to find the operator GID as a fatal error; this made it impossible to use newfs (and mdmfs) when /etc/group is missing and /etc is read-only. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-14T17:28:15.000000Z K 7 svn:log V 85 Move 'local_tr' function to rc.subr and change its name to 'ltr'. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-14T18:02:22.000000Z K 7 svn:log V 297 Add scripts for GELI device configuration on boot. rc.d/geli - configures encryption (ask for passphrases, etc.); rc.d/geli2 - is called after file systems are mounted and mark devices for detach on last close. Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl MFC after: 3 days END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-08-14T18:10:04.000000Z K 7 svn:log V 366 Do not keep parent directory locked while calling VFS_ROOT to traverse mount points in lookup(). The lock can be dropped safely around VFS_ROOT because LOCKPARENT semantics with child and perent vnodes coming from different FSes does not really have any meaningful use. On the other hard, this prevents easily triggered deadlock on systems using automounter daemon. END K 10 svn:author V 2 bz K 8 svn:date V 27 2005-08-14T18:20:33.000000Z K 7 svn:log V 148 Fix broken build of rev. 1.108 in case of no INET6 and IPFIREWALL compiled into kernel. Spotted and tested by: Michal Mertl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-14T18:25:35.000000Z K 7 svn:log V 56 Connect geli and geli2 ro the build. MFC after: 3 days END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-14T18:48:54.000000Z K 7 svn:log V 51 MFC: r1.15 - Fix typo. Approved by: re (kensmith) END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-14T18:49:38.000000Z K 7 svn:log V 23 MFC: r1.15 - fix typo. END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-14T18:52:34.000000Z K 7 svn:log V 63 MFC: r1.46 - grammar improvements. Approved by: re (kensmith) END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-14T18:53:50.000000Z K 7 svn:log V 35 MFC: r1.46 - grammar improvements. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-14T20:02:50.000000Z K 7 svn:log V 156 Simplify the page table page reference counting by pmap_enter()'s change of mapping case. Eliminate a stale comment from pmap_enter(). Reviewed by: tegge END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-14T21:55:18.000000Z K 7 svn:log V 384 Unfortunately dlerror(3) returns string, so there is no clean way to ignore "no such file" errors only, which I wanted to do. Because of this I ignored all other errors on dlopen(3) failure as well, which isn't good. Fix this situation by calling access(2) on library file first and ignore only ENOENT error. This allows to report all the rest of dlopen(3) errors. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-14T22:16:34.000000Z K 7 svn:log V 129 Fix (/usr could not be mounted yet, so there is no grep(1) available) and simplify checking for g_eli module. MFC after: 3 days END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-08-14T22:46:50.000000Z K 7 svn:log V 514 Attempt to improve the logic for automatically sizing partitions to take into account the new default of starting the first partition after the boot blocks instead of at sector 0. If you used automatic sizing when the first partition did not start at 0, you would get an error that the automatically sized partition extended beyond the end of the disk. Note that there are probably still many more complex cases where automatic sizing and placement will not work (e.g. non-contiguous or out of order partitions). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-14T23:17:59.000000Z K 7 svn:log V 42 Remove the execute permission for stacks. END K 10 svn:author V 3 suz K 8 svn:date V 27 2005-08-15T00:28:31.000000Z K 7 svn:log V 136 MFC Rev. 1.31 fixed a kernel crash at the start-up time of an IPv6 multicast daemon (e.g. pim6sd/pim6dd) Approved by: re(kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-15T02:50:13.000000Z K 7 svn:log V 383 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(). Reported by: Michal Mertl Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-15T02:54:29.000000Z K 7 svn:log V 394 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(). Reported by: Michal Mertl Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:01:36.000000Z K 7 svn:log V 461 MFC: Holding a vnode doesn't prevent v_mount from disappearing (when the vnode is inactivated), possibly leading to a NULL dereference when checking if the mount wants knotes to be activated in the VOP hooks. So, we add a new vnode flag VV_NOKNOTE that is only set in getnewvnode(), if necessary, and check it when activating knotes. Since the flags are not erased when a vnode is being held, we can safely read them. Approved by: re (kensmith) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:07:23.000000Z K 7 svn:log V 171 MFC rev 1.11: it's actually 11 minutes when the machine is assumed to be down and removed from the output. Obtained from: DragonFlyBSD Approved by: re (kensmith) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:10:13.000000Z K 7 svn:log V 142 MFC re 1.10: it's actually 11 minutes when the machine is assumed to be down and removed from the output. Obtained from: DragonFlyBSD END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:14:07.000000Z K 7 svn:log V 163 MFC rev 1.73: The kernel is usually at /boot/kernel/kernel nowadays. PR: i386/81756 Submitted by: trasz Approved by: re (kensmith) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:18:07.000000Z K 7 svn:log V 135 MFC rev 1.73: The kernel is usually at /boot/kernel/kernel nowadays. PR: i386/81756 Submitted by: trasz END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:22:09.000000Z K 7 svn:log V 136 MFC rev 1.222: Use atomic operations on runningbufspace. PR: kern/84318 Submitted by: ade Approved by: re (kensmith) END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-15T06:26:52.000000Z K 7 svn:log V 108 MFC rev 1.222: Use atomic operations on runningbufspace. PR: kern/84318 Submitted by: ade END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-15T08:13:01.000000Z K 7 svn:log V 81 After much experimentation, settle for the simplest model for customize scripts. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T09:01:11.000000Z K 7 svn:log V 242 Merge uma_int.h:1.37 from HEAD to RELENG_6: Wrap inlines in uma_int.h in #ifdef _KERNEL so that uma_int.h can be used from memstat_uma.c for the purposes of kvm access without lots of additional unsafe includes. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T09:02:01.000000Z K 7 svn:log V 289 Merge vm_page.h:1.137 from HEAD to RELENG_6: Don't perform a nested include of opt_vmpage.h if LIBMEMSTAT is defined, as opt_vmpage.h will not be available to user space library builds. A similar existing check is present for KLD_MODULE for similar reasons. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T09:03:50.000000Z K 7 svn:log V 533 Merge mac_policy.h:1.69 from HEAD to RELENG_6: Insert a series of place-holder function pointers in mac_policy.h for entry points that will be inserted over the life-time of the 6.x branch, including for: - New struct file labeling (void * already added to struct file), events, access control checks. - Additional struct mount access control checks, internalization/ externalization. - mac_check_cap() - System call enter/exit check and event. - Socket and vnode ioctl entry points. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T09:51:15.000000Z K 7 svn:log V 979 Merge if_atmsubr.c:1.38, natm.c:1.38, natm.h:1.11, natm_pcb.c:1.16, natm_proto.c:1.16 from HEAD to RELENG_6: Lock down netnatm and mark as MPSAFE: - Introduce a subsystem mutex, natm_mtx, manipulated with accessor macros NATM_LOCK_INIT(), NATM_LOCK(), NATM_UNLOCK(), NATM_LOCK_ASSERT(). It protects the consistency of pcb-related data structures. Finer grained locking is possible, but should be done in the context of specific measurements (as very little work is done in netnatm -- most is in the ATM device driver or socket layer, so there's probably not much contention). - Remove GIANT_REQUIRED, mark as NETISR_MPSAFE, remove NET_NEEDS_GIANT("netnatm"). - Conditionally acquire Giant when entering network interfaces for ifp->if_ioctl() using IFF_LOCKGIANT(ifp)/IFF_UNLOCKGIANT(ifp) in order to coexist with non-MPSAFE atm ifnet drivers.. - De-spl. Reviewed by: harti, bms (various versions) Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T09:52:22.000000Z K 7 svn:log V 257 Merge natm.c:1.39, natm.h:1.12, natm_proto.c:1.17 from HEAD to RELENG_6: Remove FreeBSD 2.2 protocol usrreq compatibility code. Remove minor #ifdefs for early NetBSD and OpenBSD compatibility. Remove spl-related definitions. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T09:54:00.000000Z K 7 svn:log V 250 Merge if_atm.c:1.20 from HEAD to RELENG_6: Add NATM_LOCK() and NATM_UNLOCK() in places where npcb_add() and npcb_free() are called, in order to eliminate witness panics. This was overlooked in removal of GIANT from ATM. Approved by: re (hrs) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-15T10:24:20.000000Z K 7 svn:log V 266 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 MFC after: 1 day END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-15T12:15:21.000000Z K 7 svn:log V 656 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. Maybe SYSCTL_OUT() returns first ENOMEM, because there is no memory, but is marking some memory range as wired even on failure and another SYSCTL_OUT() calls are not going to succeed, because process exceeds limit of wired memory? ENOVMCLUE. Anyway. Fix jls(8) to ignore ENOMEM and retry only 4 times. Submitted by: Niklas Saers PR: kern/79245 MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-15T12:48:42.000000Z K 7 svn:log V 23 Cleanup and polishing. END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-08-15T13:50:38.000000Z K 7 svn:log V 180 MFC r1.639: Do not drop the vnode interlock if vdropl is called on already doomed vnode. vdropl callers expect it to return with interlock still being held. Approved by: re (hrs) END K 10 svn:author V 5 tobez K 8 svn:date V 27 2005-08-15T14:02:37.000000Z K 7 svn:log V 89 MFC: Recognize D-Link DGE-528(T) Gigabit as an re(4) device. Approved by: re (kensmith) END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-08-15T14:04:47.000000Z K 7 svn:log V 343 MFC: Do not use vm_pager_init() to initialize vnode_pbuf_freecnt variable. vm_pager_init() is run before required nswbuf variable has been set to correct value. This caused system to run with single pbuf available for vnode_pager. Handle both cluster_pbuf_freecnt and vnode_pbuf_freecnt variableis in the same way. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-15T14:15:37.000000Z K 7 svn:log V 342 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) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-08-15T14:28:48.000000Z K 7 svn:log V 103 MFC: Check for marker pages when scanning active and inactive page queues. Approved by: re (kensmith) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-08-15T14:59:53.000000Z K 7 svn:log V 129 MFC: Don't allow pagedaemon to skip pages while scanning active and inactive page queues due to the vm object being locked. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-08-15T15:01:59.000000Z K 7 svn:log V 75 MFC: Check for marker pages when scanning active and inactive page queues. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-15T15:07:47.000000Z K 7 svn:log V 561 Update hardware section: * Document existing support for: - 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 - SIS 180 - SIS 181 - SIS 182 - SIS 965 - VIA VT6410 - VIA VT6420 - VIA VT6421 * Remove HPT366 duplicate Approved by: brueffer (mentor) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-15T15:33:59.000000Z K 7 svn:log V 104 MFC r1.8 "Correctly print system-wide PMC counts for short-lived command lines". Approved by: re (hrs) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-15T17:07:37.000000Z K 7 svn:log V 68 Add manual page for snd_t4dwave(4). Approved by: brueffer (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-15T17:07:38.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-08-15T17:07:47.000000Z K 7 svn:log V 325 Fix a stupid logic bug introduced in geom_vinum_drive.c rev 1.18: When a drive is newly created, it's state is initially set to 'down', so it won't allow saving the config to it (thus it will never know of itself being created). Work around this by adding a new flag, that's also checked when saving the config to a drive. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-15T17:20:34.000000Z K 7 svn:log V 134 Diff reduction to my tree: commit the trivial part of efforts to add support for the really old Megahertz ethernet/modem combo cards. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2005-08-15T17:49:38.000000Z K 7 svn:log V 34 Remove a hack for an ancient gdb. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-15T17:56:04.000000Z K 7 svn:log V 53 Xref snd_t4dwave(4). Approved by: brueffer (mentor) END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-08-15T17:56:08.000000Z K 7 svn:log V 63 MFC: Check for marker pages when scanning inactive page queue. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-15T18:10:27.000000Z K 7 svn:log V 82 Auto generate device listings for snd_t4dwave(4). Approved by: brueffer (mentor) END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-08-15T18:15:19.000000Z K 7 svn:log V 25 wisdom about 'beachhead' END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-15T18:28:49.000000Z K 7 svn:log V 86 Some preliminary support for Megahertz XJEM and CCEM (same cards really) combo cards. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-15T18:34:21.000000Z K 7 svn:log V 148 MFC addition of bsdiff and bspatch to the base system, in order to allow them to be used by portsnap(8) in 6.0-RELEASE. Approved by: re (kensmith) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-15T18:40:28.000000Z K 7 svn:log V 45 Put more stuff in logfiles instead of stdout END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-15T18:46:13.000000Z K 7 svn:log V 310 MFC { sys/dev/hwpmc/hwpmc_mod.c:1.13, sys/kern/kern_pmc.c:1.5, sys/sys/pmckern.h:1.5 } Fail the module loading process if the currently executing kernel was not compiled with 'options HWPMC_HOOKS' or if the compiled-in version numbers of the kernel and module are not in sync. Approved by: re (kensmith) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-15T18:48:23.000000Z K 7 svn:log V 356 Add almost all the files I needed to clean out from my laptop disk that's been updated via buildworld for about 5 years now... Note: some of the bin/foo that were duplicated as sbin/foo were likely errors in the first place. Note2: This contains some, but not all, of the perl and uucp files as I'd removed some of them before I started keeping track... END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-08-15T18:51:45.000000Z K 7 svn:log V 75 MFC: reduce warnings when compiled under -W Obtained from: Sandvine inc. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-15T19:40:53.000000Z K 7 svn:log V 64 Eliminate effectively unused dm_basedir field from devfs_mount. END K 10 svn:author V 6 julian K 8 svn:date V 27 2005-08-15T20:04:28.000000Z K 7 svn:log V 99 MFC: reduce warnings when compiled under -W. Obtained from: Sandvine inc. Approved by: re (ken) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-15T20:24:08.000000Z K 7 svn:log V 116 MFC addition of portsnap to the base system plus subsequent enhancements and bug fixes. Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-15T20:27:34.000000Z K 7 svn:log V 193 Vlan interfaces change their type after ether_ifattach() so we needs to use if_free_type(ifp, IFT_ETHER) to delete them and stop leaking struct arpcoms. Reported by: thompsa MFC After: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-15T20:58:36.000000Z K 7 svn:log V 2082 - Change the code that determines whether to use a serial console and which serial device to use in that case respectively to not rely on the OFW names of the input/output and stdin/stdout devices. Instead check whether input and output refers to the same device and is of type serial (uart(4) was already doing this) and for the fallback to a serial console in case a keyboard is the selected input device but unplugged do the same for stdin and stdout in case the input device is nonexistent (PS/2 and USB keyboards) or has a 'keyboard' property (RS232 keyboards). Additionally also check whether the OFW did a fallback to a serial console in the same way in case the output device is nonexistent. While at it save on some variables and for sys/boot/sparc64/loader/metadata.c move the code in question to a new function md_bootserial() so it can be kept in sync with uart_cpu_getdev_console() more easily. This fixes selecting a serial console and the appropriate device when using a device path for the 'input-device' and 'output-device' OFW environment variables instead of an alias for the serial device to use or when using a screen alias that additionally denotes a video mode (like e.g. 'screen:r1024x768x60') but no keyboard is plugged in (amongst others). It also makes the code select a serial console in case the OFW did the same due to a misconfiguration like both 'input-device' and 'output-device' set to 'keyboard' or to a nonexisting device (whether the OFW does a fallback to a serial console in case of a misconfiguration or one ends up with just no console at all highly depends on the OBP version however). - Reduce the size of buffers that only ever need to hold the string 'serial' accordingly. Double the size of buffers that may need to hold a device path as e.g. '/pci@8,700000/ebus@5/serial@1,400000:a' exceeds 32 chars. - Remove the package handle of the '/options' node from the argument list of uart_cpu_getdev_dbgport() as it's unused there and future use is also unlikely. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-15T21:15:07.000000Z K 7 svn:log V 238 Now that at least some screen savers work on sparc64 sync with other archs and enable splash(4) by default (the non-working screen savers either don't compile or just have no effect when loaded, i.e. don't cause harm). MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-15T21:38:13.000000Z K 7 svn:log V 274 More files from my server that I've been upgrading since I think 2.2 or 2.0.2. These date back to 1996. Likely not needed for most people, but good to have on the list for completeness. # This is part 1 of 2, as I only had time to go through the first few # directories. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-16T00:29:26.000000Z K 7 svn:log V 411 MFC 1.8: o As mentioned in the previous commit: make the KVM error buffer static. o Register a function with atexit(3) to close the KVM object if we have one open. o Show the unread portion of the kernel's message buffer before presenting the prompt. It's bound to provide some useful info. o Don't call kgdb_target() twice. It results in having all threads listed twice. Approved by: re (hrs) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-16T02:03:48.000000Z K 7 svn:log V 89 MFC r1.7 "Sync usage message with the code and manual page". Approved by: re (kensmith) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-08-16T02:38:02.000000Z K 7 svn:log V 59 Remove unnecessary and alarming printf. MFC after: 1 day END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-16T03:29:22.000000Z K 7 svn:log V 1014 Partial MFC rev 1.3: o Remove the obscure tid command, because it does what the thread command does, but worse. o Move the PID to the extra thread info, where it makes sense and where it doesn't confuse users. The extra thread info holds some process information, to which the PID belongs. o Implement the to_find_new_threads target method by having it call the target beneath us if we're not using KVM. This makes sure that new threads are found when using the remote target. o Fix various core dump scenarios: - Implement the to_files_info target method. Previously the 'info target' command would cause a NULL pointer dereference. - Don't assume there's a current thread. We're not initialized in all cases. This prevents a NULL pointer dereference. - When we're not ussing KVM, have the to_xfer_memory target method call the target beneath us. This avoids calling into KVM with a NULL pointer. Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-16T03:52:30.000000Z K 7 svn:log V 59 Sync up with RELENG_6: o main.c:1.7.2.1 o trgt.c:1.2.2.1 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-16T05:13:57.000000Z K 7 svn:log V 78 Fix backtraces. Supply registers from the register window. MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T05:49:17.000000Z K 7 svn:log V 36 Increase flexibility in disk-layout END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:11:00.000000Z K 7 svn:log V 105 MFC: Add strcasecmp() and strncasecmp() to libkern and connect to the build. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:20:48.000000Z K 7 svn:log V 224 MFC: - Add code for Ext2FS and ReiserFS labels recognition. - Avoid creating directories in devfs by changing all '/' in labels to '_'. Submitted by: Stanislav Sedov PR: kern/84638 Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:39:36.000000Z K 7 svn:log V 130 MFC: rc.d/gbde 1.13 rc.subr 1.35 Move 'local_tr' function to rc.subr and change its name to 'ltr'. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:41:30.000000Z K 7 svn:log V 96 MFC: rc.d/cleanvar 1.10 Skip 'logpriv' socket when cleaning /var/. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:43:06.000000Z K 7 svn:log V 445 MFC: etc/rc.d/jail 1.25 Skip jails which are already running and inform why. We're checking for /var/run/jail_.id file and if it exists, we don't start the jail. It should be also safe in case of reboot(8), because rc.d/cleanvar script is going to remove /var/run/jail_* files. It helps to avoid potential mess when the same jail is started twice, because of an administrator mistake (been there, done that). Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:45:11.000000Z K 7 svn:log V 426 MFC: sbin/geom/core/geom.c 1.23 Unfortunately dlerror(3) returns string, so there is no clean way to ignore "no such file" errors only, which I wanted to do. Because of this I ignored all other errors on dlopen(3) failure as well, which isn't good. Fix this situation by calling access(2) on library file first and ignore only ENOENT error. This allows to report all the rest of dlopen(3) errors. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T08:58:33.000000Z K 7 svn:log V 251 MFC: sbin/geom/class/eli/geli.8 1.3 sys/geom/eli/g_eli.c 1.4,1.5 - GELI doesn't need cryptodev. - Because code paths for I/O requests are quite complex, add comments above the functions which participate in I/O paths. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:00:24.000000Z K 7 svn:log V 180 MFC: sys/geom/eli/g_eli.h 1.2 Be case-insensitive when dealing with algorithm names. Submitted by: Benjamin Lutz PR: kern/84659 Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:02:22.000000Z K 7 svn:log V 407 MFC: sbin/geom/class/eli/geom_eli.c 1.2 When keys were configured without passphrase, number of iterations in metadata is equal to -1. if we then wanted to attach provider (or change keys) and forget about '-p' flag it failed on assertion (quite ok, without assertion it could call PKCS#5v2 with 4294967295 iterations). Instead of failing on assertion, remind about '-p' flag. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:04:55.000000Z K 7 svn:log V 162 MFC: Remove gbde_swap script and introduce encswap script, which knows how to encrypt swap partitions using both: gbde and geli. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:06:42.000000Z K 7 svn:log V 117 MFC: etc/rc.subr 1.36 Add a function which creates list of devices for GELI-encryption. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-16T09:15:14.000000Z K 7 svn:log V 417 Merge if_var.h:1.100 from HEAD to RELENG_6: Add if_addr_mtx to struct ifnet, a mutex to protect ifnet-related address lists. Add accessor macros. This changes the size of struct ifnet, but ideally, all ifnet consumers are now using if_alloc() to allocate these structures rather than embedding them into device driver softc's, so this won't modify the network device driver ABI. Approved by: re (hrs) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:20:32.000000Z K 7 svn:log V 258 MFC: Add scripts for GELI device configuration on boot. rc.d/geli - configures encryption (ask for passphrases, etc.); rc.d/geli2 - is called after file systems are mounted and mark devices for detach on last close. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:23:45.000000Z K 7 svn:log V 149 MFC: etc/rc.d/Makefile 1.54,1.55 - Disconnect gbde_swap from the build. - Connect encswap, geli and geli2 to the build. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T09:30:13.000000Z K 7 svn:log V 347 MFC: share/man/man5/rc.conf.5 1.258,1.259,1.260 etc/defaults/rc.conf 1.255,1.256,1.257 - Remove gbde_swap_enable variable (it has no effect). - Add geli_swap_flags variable which holds flags used by geli(8) when configuring GELI-encrypted swap partitions. - Add variables used by rc.d/geli and rc.d/geli2 scripts. Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-16T13:19:17.000000Z K 7 svn:log V 951 Change the default partition sizing code in order to 1. Provide larger /, /var, and /tmp partitions (the last increase was in 2001, and we now have both larger hard drives and more space-hungry software.) 2. If there is enough space available, allocate extra space to /var sufficient to store a crash dump. On systems where harddrivesize > 3 * RAMsize + 10GB, the default sizes will now be as follows: swap RAMsize * 2 / 512 MB /tmp 512 MB /var 1024 MB + RAMsize /usr the rest (8GB or more) On systems where harddrivesize > RAMsize / 8 + 2 GB, the default sizes will be in the following ranges, with space allocated proportionally: swap RAMsize / 8 -- RAMsize * 2 / 256 MB -- 512 MB /tmp 128 MB -- 512 MB /var 128 MB -- 1024 MB /usr 1536 MB -- 8192 MB On systems with even less disk space, the existing behaviour is not changed. Approved by: re (kensmith) MFC after: 1 day (or once people stop arguing about colours of paint) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-16T14:25:12.000000Z K 7 svn:log V 63 snd_via8233(4) works on amd64. Approved by: brueffer (mentor) END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-16T14:28:03.000000Z K 7 svn:log V 106 * Be more specific about supported ALI-chipsets. * Add two missing dots. Approved by: brueffer (mentor) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-08-16T15:09:44.000000Z K 7 svn:log V 352 MFC: Do not use vm_pager_init() to initialize vnode_pbuf_freecnt variable. vm_pager_init() is run before required nswbuf variable has been set to correct value. This caused system to run with single pbuf available for vnode_pager. Handle both cluster_pbuf_freecnt and vnode_pbuf_freecnt variableis in the same way. Tested by: pre-release.portaone.com END K 10 svn:author V 2 le K 8 svn:date V 27 2005-08-16T15:12:44.000000Z K 7 svn:log V 54 Make it possible to remove stale, left-over subdisks. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-16T17:02:35.000000Z K 7 svn:log V 306 - Move IF_ADDR_LOCK_DESTROY(ifp) from if_free to if_free_type. - Add a note that additions should be made to if_free_type and not if_free to help avoid this in the future. This apparently fixes a use after free in if_bridge and may fix bugs in other direct if_free_type consumers. Reported by: thompsa END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-16T18:15:17.000000Z K 7 svn:log V 19 Clarify a comment. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-16T18:59:00.000000Z K 7 svn:log V 246 Check key size for rijndael, as invalid key size can lead to kernel panic. It checked other algorithms against this bug and it seems they aren't affected. Reported by: Mike Tancsa PR: i386/84860 Reviewed by: phk, cperciva(x2) END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T19:08:01.000000Z K 7 svn:log V 135 Create a new internal .h file to communicate very private stuff from kern_conf.c to devfs. For now just two prototypes, more to come. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-16T19:08:02.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T19:25:02.000000Z K 7 svn:log V 47 Collect the devfs related sysctls in one place END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T19:47:42.000000Z K 7 svn:log V 22 Remove stale comment. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-16T19:49:10.000000Z K 7 svn:log V 29 avoid exclusive sleep mutex. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-08-16T20:03:08.000000Z K 7 svn:log V 154 Save cpu level only when priority is greater than PRIO_USER to make CPUFREQ_SET(NULL, prio) work. TODO: implement saved_level as stack. Reviewed by: njl END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T20:03:29.000000Z K 7 svn:log V 22 remove stale comments END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-16T20:39:30.000000Z K 7 svn:log V 561 Fixup locking in if_my(4) and mark it MPSAFE: - Add locked variants of my_start() and my_init(). - Assert that the lock is held in several places rather than recursing. - Overhaul failure case handling in my_attach() so that it will actually clean up completely in each of the failure cases. - Setup the interrupt after ether_ifattach() in my_attach(). - Remove unused callout handle from softc. - Free the metadata for the descriptors my_in detach() (we leaked it before). - Fix locking in my_ioctl(). - Remove spls. Tested by: brueffer MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-16T20:49:47.000000Z K 7 svn:log V 201 MFC: rev. 1.11 - add missing ether_poll_deregister - add per-device polling - move the setting of if_capenable further down so that the VLAN caps are honored as well Approved by: re (kensmith), ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-16T20:51:28.000000Z K 7 svn:log V 189 MFC: rev. 1.11 - add missing ether_poll_deregister - add per-device polling - move the setting of if_capenable further down so that the VLAN caps are honored as well Approved by: ru END K 10 svn:author V 2 le K 8 svn:date V 27 2005-08-16T20:55:33.000000Z K 7 svn:log V 200 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 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-16T21:14:25.000000Z K 7 svn:log V 243 Clarify how the 'channel' argument should look like and add an example on how to obtain information on devices on an ata channel. PR: 84676 Submitted by: Kevin Oberman Jeremie Le Hen MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:36:54.000000Z K 7 svn:log V 52 Remove pointless formatting date. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:39:27.000000Z K 7 svn:log V 129 Remove paper about the Berkeley Pascal Runtime which we have never had in FreeBSD because it was VAX specific. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:40:54.000000Z K 7 svn:log V 65 MFC: Remove vttest program, it lives in ports. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:41:39.000000Z K 7 svn:log V 56 MFC: fix typo in debugging statement. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:42:46.000000Z K 7 svn:log V 69 MFC: Remove map3270 file, telnet3270 is long gone. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:43:51.000000Z K 7 svn:log V 65 MFC: fix a tiny race in statistics collection. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:44:39.000000Z K 7 svn:log V 70 MFC: Implement g_ctl api for metadata modification. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:45:33.000000Z K 7 svn:log V 69 MFC: use g_ctl for modifying metadata if possible. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:46:05.000000Z K 7 svn:log V 72 MFC: use g_ctl for metadata modification if possible. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:47:14.000000Z K 7 svn:log V 83 MFC: better facility for extracting and inspecting BIOS strings. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:48:12.000000Z K 7 svn:log V 70 MFC: fix a bug relating to multiple (>2) data sets. Approved by: re@ END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-16T22:49:11.000000Z K 7 svn:log V 52 MFC: Pull in stuff from -current. Approved by: re@ END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-08-16T23:04:52.000000Z K 7 svn:log V 86 Fix make world breakage when MAKE_KERBEROS4 is defined. Reviewed by: Scott Allendorf END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-17T00:24:20.000000Z K 7 svn:log V 189 Unbreak the world build (in sbin/gbde). This file is used by both kernel and world, so KASSERT() needs to be wrapped within an #ifdef _KERNEL / #endif pair. Reported by: krion, tinderbox END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-17T00:28:38.000000Z K 7 svn:log V 211 Add two new template sources, /conf/bcast/${ipbca} and /conf/ip/${ip}. These allow large installations to keep their /conf directory down to a managable number of entries. Clean up the handling of dhcp_cookie. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-17T01:24:55.000000Z K 7 svn:log V 1028 Ensure that file flags such as schg, sappnd (and others) are honored by md(4). Before this change, it was possible to by-pass these flags by creating memory disks which used a file as a backing store and writing to the device. This was discussed by the security team, and although this is problematic, it was decided that it was not critical as we never guarantee that root will be restricted. This change implements the following behavior changes: -If the user specifies the readonly flag, unset write operations before opening the file. If the FWRITE mask is unset, the device will be created with the MD_READONLY mask set. (readonly) -Add a check in g_md_access which checks to see if the MD_READONLY mask is set, if so return EROFS -Do not gracefully downgrade access modes without telling the user. Instead make the user specify their intentions for the device (assuming the file is read only). This seems like the more correct way to handle things. This is a RELENG_6 candidate. PR: kern/84635 Reviewed by: phk END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-17T01:59:10.000000Z K 7 svn:log V 230 Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS. This makes this library build repeatably. (This change was made to libstdc++ several months ago; I just realized today that it would help here as well.) Approved by: kan END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-17T02:27:08.000000Z K 7 svn:log V 127 MFC: ifconfig.8, r1.101 > Document two missed if_bridge commands 'addr' and 'static'. Approved by: re (hrs), mlaier (mentor) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-08-17T02:36:31.000000Z K 7 svn:log V 90 Make links for hoststat(8) and purgestat(8) man pages. PR: docs/85009 MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-17T06:59:23.000000Z K 7 svn:log V 71 In vop_stdpathconf(ap) also default for _PC_NAME_MAX and _PC_PATH_MAX. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-17T07:59:07.000000Z K 7 svn:log V 78 Assert proper key size also in userland by defining KASSERT in !_KERNEL case. END