ĵ173000 172 305 304 744 213 1235 187 130 119 219 194 155 139 190 229 322 262 104 114 464 120 155 133 213 208 379 145 215 240 153 103 128 135 129 163 249 141 1898 166 240 366 340 164 212 205 168 176 272 243 424 371 275 147 175 243 307 186 242 263 251 215 187 292 444 102 669 563 154 148 634 309 164 377 270 969 433 373 286 258 259 420 137 726 328 183 174 593 349 321 506 179 172 250 416 237 740 1195 193 818 155 112 144 196 641 370 634 292 146 512 384 225 117 150 218 359 708 286 156 258 266 250 117 500 184 238 614 207 246 187 594 928 125 382 353 213 171 390 168 197 283 1952 133 215 354 515 241 179 211 180 315 249 375 441 219 138 1287 125 236 419 220 152 310 337 209 264 250 219 843 184 128 182 192 295 K 10 svn:author V 5 silby K 8 svn:date V 27 2007-10-26T05:41:25.000000Z K 7 svn:log V 210 MFC: tcp_syncache.c rev 1.131 tcp_usrreq.c rev 1.164 Pick the smallest possible TCP window scaling factor that will still allow us to scale up to sb_max, aka kern.ipc.maxsockbuf. Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-10-26T06:55:00.000000Z K 7 svn:log V 211 Save stack only when KTR_GEOM is both compiled into the kernel and enabled in debug.ktr.mask. Because saving stack is very expensive, it's better only to do it when one really wants to. Reported by: Dan Nelson END K 10 svn:author V 2 bz K 8 svn:date V 27 2007-10-26T07:15:04.000000Z K 7 svn:log V 652 MFC: rev. 1.29 sys/i386/i386/in_cksum.c rev. 1.18 sys/i386/include/in_cksum.h Fold multiple asm statements into one so that the compiler at a certain optimization level (-march=pentium-mmx for example) does not insert intermediate ops which would trash the carry. Change both sys/i386/i386/in_cksum.c[1] and sys/i386/include/in_cksum.h. To my best understanding the same problem was addressed in rev. 1.16 of src/sys/i386/include/in_cksum.h for just a single function 3y ago. Reviewed by: jhb Submitted by: Zhouyi ZHOU (intial version of [1]) PR: 115678, 69257 Approved by: re (kensmith) END K 10 svn:author V 3 des K 8 svn:date V 27 2007-10-26T07:50:11.000000Z K 7 svn:log V 120 Correct documentation of ~/.opiealways PR: 117512 Submitted by: Jeremy C. Reed MFC after: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T08:00:41.000000Z K 7 svn:log V 1138 Introduce a way to make pure kernal threads. kthread_add() takes the same parameters as the old kthread_create() plus a pointer to a process structure, and adds a kernel thread to that process. kproc_kthread_add() takes the parameters for kthread_add, plus a process name and a pointer to a pointer to a process instead of just a pointer, and if the proc * is NULL, it creates the process to the specifications required, before adding the thread to it. All other old kthread_xxx() calls return, but act on (struct thread *) instead of (struct proc *). One reason to change the name is so that any old kernel modules that are lying around and expect kthread_create() to make a process will not just accidentally link. fix top to show kernel threads by their thread name in -SH mode add a tdnam formatting option to ps to show thread names. make all idle threads actual kthreads and put them into their own idled process. make all interrupt threads kthreads and put them in an interd process (mainly for aesthetic and accounting reasons) rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper' man page fixes to follow. END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-10-26T08:14:08.000000Z K 7 svn:log V 91 MFC: Another cached -> nscd fix. Approved by: re (hrs), brooks (mentor) MFC after: 6 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-10-26T08:23:57.000000Z K 7 svn:log V 38 Add GEOM VIRSTOR module to the build. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T08:28:45.000000Z K 7 svn:log V 24 catch up with the code. END K 10 svn:author V 7 bushman K 8 svn:date V 27 2007-10-26T08:29:10.000000Z K 7 svn:log V 122 MFC: Regen (nscd -> cached, WITHOUT_LIBPTHREAD disabling BIND). Approved by: re (hrs), brooks (mentor) MFC after: 6 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-10-26T08:31:11.000000Z K 7 svn:log V 101 Hide geli warnings about sector size beeing bigger than the page size when doing regression testing. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-10-26T08:57:08.000000Z K 7 svn:log V 63 Fix treating some modern chips (mem mapped) as legacy devices. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-10-26T08:59:23.000000Z K 7 svn:log V 47 Update the way we get the mode pages on probe. END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-10-26T09:01:06.000000Z K 7 svn:log V 98 Fix the signature matching code on AHCI controllers. Add SATA ATAPI support for AHCI controllers. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-26T09:38:54.000000Z K 7 svn:log V 136 o Add a note that checkyesno takes a variable by its name, not value. o Improve mdoc(7) markup and style of the paragraph on stop_boot. END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-26T10:12:26.000000Z K 7 svn:log V 227 If the INDEX file cannot be opened, print the actual filename / path pkg_version tried to open instead of just "INDEX" to make the actual problem more clear (e.g. missing INDEX-8). MFC after: 3 days Reviewed by: portmgr (pav) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-10-26T10:23:27.000000Z K 7 svn:log V 165 MFC: eval.c 1.54, sh.1 1.125 The exit status of a case statement where none of the patterns is matched is supposed to be 0, not the status of the previous command. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-26T11:01:17.000000Z K 7 svn:log V 13 Sort MLINKS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-10-26T11:07:25.000000Z K 7 svn:log V 23 Add a period for yar@. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-26T13:18:38.000000Z K 7 svn:log V 367 Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as we move towards netinet as a pseudo-object for the MAC Framework. Rename 'mac_create_mbuf_linklayer' to 'mac_mbuf_create_linklayer' to reflect general object-first ordering preference. Sponsored by: SPARTA (original patches against Mac OS X) Obtained from: TrustedBSD Project, Apple Computer END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-10-26T13:32:01.000000Z K 7 svn:log V 27 Reduce diffs against i386. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-10-26T13:38:00.000000Z K 7 svn:log V 62 MFi386: revision 1.476 Add more (commented-out) usb devices. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-10-26T13:42:17.000000Z K 7 svn:log V 40 Disable the coretemp and nvram on pc98. END K 10 svn:author V 5 jkois K 8 svn:date V 27 2007-10-26T13:44:46.000000Z K 7 svn:log V 118 Fill in my data: - add my entry - mheinen@ was my mentor for de_DE (doc/www) - remko@ was my mentor for full doc/www END K 10 svn:author V 5 jkois K 8 svn:date V 27 2007-10-26T13:49:44.000000Z K 7 svn:log V 113 Forced commit: - Note that my last commit was discussed with remko@. - Note that my first mentee will be miwi@. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-10-26T15:00:34.000000Z K 7 svn:log V 286 The arm boot code uses this function as well. Redefining cgbase() saves about 500 bytes in the boot code. While the AT91RM9200 has 12k of space for the boot loader, which is more than i386's 8k, the code generated by gcc is a bit bigger. I've had this in p4 for about two years now. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T15:25:28.000000Z K 7 svn:log V 50 Aparrently MACXOCOMLEN exisrts only on my machine END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-26T15:56:22.000000Z K 7 svn:log V 122 Add . to the include path so that we follow the 'machine' symlink we create during depend on amd64. Reported by: rwatson END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-26T16:12:32.000000Z K 7 svn:log V 145 Document the '-P pidfile' command line argument. PR: docs/116658 Submitted by: Henrik Brix Andersen MFC after: 3 days END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-26T16:32:32.000000Z K 7 svn:log V 61 Note deprecation of rc.d/nfslocking. Approved by: re (bmah) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-10-26T16:33:47.000000Z K 7 svn:log V 9 style(9) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T16:50:21.000000Z K 7 svn:log V 33 Doc police fixes thanks to: ru@ END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T17:03:22.000000Z K 7 svn:log V 40 kthread_exit needs no stinkin argument. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-26T17:22:30.000000Z K 7 svn:log V 37 Note deprecation of rc.d/nfslocking. END K 10 svn:author V 4 miwi K 8 svn:date V 27 2007-10-26T18:46:52.000000Z K 7 svn:log V 70 - Add myself as a new doc/www committer. Approved by: jkois (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-10-26T19:47:01.000000Z K 7 svn:log V 155 Disable hw.bge.allow_asf tunable by default on the release branch. This is not to surprise 6.x users when they upgrade to 7.0. Approved by: re (kensmith) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T20:32:33.000000Z K 7 svn:log V 46 oops, over optimised and broke non-SMP builds END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-10-26T20:48:18.000000Z K 7 svn:log V 1802 MFC: (revision 1.45) - Gigabyte G33-S2H fixup, due to the present of multiple competing codecs. Codec at address 0 seems purely digital, or perhaps an HDMI interface. Let the driver skip it and continue scanning the codecs starting with address 2 (Realtek ALC885). * Due to possibilities of future similar cases, put enough logic in hdac_scan_codecs() to force codec scanning starting from XX address via tunable "hint.pcm.%d.codec_index". Reported / Tested by: Toomas Pelberg - Trivial headphone / speaker automute fixup for Fujitsu-Siemens AMILO Si 1848 laptop. Reported / Tested by: Ed - Trivial headphone / speaker automute fixup for Fujitsu-Siemens Lifebook S7020D laptop. Reported / Tested by: Jaromir Dvoracek - Some smart vendor trying to create interplanetary wormhole by screwing pci config space during their BIOS update. The side effects of their failure attempt includes mutilated hardware id, broken speaker automuting and loosing the entire analog CD connectivity, thus causing enough collateral damages to collapse the entire universe. Move along with it. Please exercise extra cautious when applying BIOS updates. Reported / Tested by: Pietro Cerutti - assembled laptop, based on the MSI-1034 (662) which is now becoming MSI-034A. - Fix no sound issues (on headphones) for Lenovo ThinkCentre A55 due to global automute table entry which is not applicable for non-laptops. Reported / Tested by: Piotr Smyrak - Speaker mute control for HP DC7700 since the front headphone jack does not generate any interesting unsolicited signal/response. Reported / Tested by: tyop @ irc.freenode.net END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-26T20:48:19.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-10-26T20:49:23.000000Z K 7 svn:log V 145 Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec, automuting internal speakers. Tested by: Frederic Chardon MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-10-26T20:49:59.000000Z K 7 svn:log V 271 Remap and virtualize mixer controls for HP nx6110 with AD1981B AC97 codec, unifying master volume control. * Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers) * Virtual "vol" --> { "phout", "ogain" (headphone) } Tested by: Frederic Chardon MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-26T21:02:31.000000Z K 7 svn:log V 247 Use the smaller cgbase() macro in ufsread.c if UFS_SMALL_CGBASE is defined. This lets each boot program choose which version of cgbase() it wants to use rather than forcing ufsread.c to have that knowledge. MFC after: 1 week Discussed with: imp END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-10-26T21:02:32.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_7'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-26T21:16:34.000000Z K 7 svn:log V 115 Update comment following MAC Framework entry point renaming and reorganization. Obtained from: TrustedBSD Project END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-26T21:46:32.000000Z K 7 svn:log V 112 MFC: Add a -z flag to nfsstat which zeros the NFS statistics after displaying them. Approved by: re (kensmith) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T22:03:19.000000Z K 7 svn:log V 73 if one changes a function's arguments, one must also change the callers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-26T22:06:55.000000Z K 7 svn:log V 84 MFC: Add a -z flag to nfsstat which zeros the NFS statistics after displaying them. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-26T22:18:20.000000Z K 7 svn:log V 176 If kthread_exit() is called on the last kthread in a kproc, then all the work in kproc_exit must be done. We don't actually have a user of this yet but why leave it to chance. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-26T23:01:34.000000Z K 7 svn:log V 149 Somewhat belatedly, update release documentation entities for 7.0-BETA. I could have sworn I committed this last week. Approved by: re (implicitly) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-10-26T23:51:46.000000Z K 7 svn:log V 328 Update to version 3.60.04.006. This adds support newer SAS controllers. This is a partial MFC of what went into HEAD/RELENG_7; the locking changes that constitude the other part do not apply to RELENG_6. Many thanks to 3Ware/AMCC for their continued support of FreeBSD. Submitted by: Manjunath Ranganathaiah Approved by: re END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-10-27T00:09:30.000000Z K 7 svn:log V 278 Change vm_page_cache_transfer() such that it does not transfer pages that would have an offset beyond the end of the target object. Such pages should remain in the source object. MFC after: 3 days Diagnosed and reviewed by: Kostik Belousov Reported and tested by: Peter Holm END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-27T00:42:40.000000Z K 7 svn:log V 179 Initialise the initial process pointer to NULL so that we know we don't have an idle process yet. I'm guessing that on my system this was always 0 already. found by: Ed Schouten END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-27T00:52:26.000000Z K 7 svn:log V 52 rename the process to 'idle' and 'intr' as per jhb. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-27T00:54:16.000000Z K 7 svn:log V 80 Add support for the pre-exisiting module shutdoen handshake. Fix some comments. END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-10-27T09:32:32.000000Z K 7 svn:log V 149 Small improvement for __isctype(): don't use __mb_sb_limit but hardcode 128 here instead, since default locale never define anything above 127 char. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-27T10:38:57.000000Z K 7 svn:log V 210 Give each posixsem MAC Framework entry point its own counter and test case in the mac_test policy, rather than sharing a single function for all of the access control checks. Obtained from: TrustedBSD Project END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-27T10:51:33.000000Z K 7 svn:log V 92 MFC ata-chipset.c (1.199), ata-pci.h (1.78): Add PCI IDs for Intel ICH9. Tested by: pav END K 10 svn:author V 5 simon K 8 svn:date V 27 2007-10-27T12:24:47.000000Z K 7 svn:log V 147 Use the correct variable to check for a malloc failing. This fixes a case where mountd would fail to start with "out of memory" logged to syslog. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T13:06:15.000000Z K 7 svn:log V 170 Bump up the limit for when to print the resources for a given resource manager in hex vs decimal to 1000 from 100 so that IRQs are printed in decimal. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T13:12:29.000000Z K 7 svn:log V 158 Don't always re-route IRQs on resume. If this link hasn't been used, then disable it with _DIS rather than assigning it an IRQ on resume. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T13:16:25.000000Z K 7 svn:log V 122 Missed in the previous commit to this file: Actually support the new HT capability type from HT 2.00b. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T13:27:02.000000Z K 7 svn:log V 95 MFC: A tsleep -> msleep conversion missed in the intpm(4) locking. Approved by: re (kensmith) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T13:34:53.000000Z K 7 svn:log V 199 Don't test the APIC flag in the cpuid features for amd64 to see if a local APIC is present or not. All amd64 CPUs have a local APIC and some BIOSen don't set the CPUID_APIC flag. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T14:54:43.000000Z K 7 svn:log V 351 Don't destroy an ACPI device_t for a PCI device and reassign the ACPI handle to the PCI device_t if the ACPI device_t is already attached to a driver. This happens on the Tablet TC1000 which for some reason includes two PCI-ISA bridges and treats the second bridge as an ACPI system resource device. Reviewed by: njl (a while ago) MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-27T15:31:50.000000Z K 7 svn:log V 10 fix build END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-10-27T15:59:18.000000Z K 7 svn:log V 572 In nmount(), if MNT_ROOT is in the mount flags, filter it out instead of returning an error. (1) This makes the behavior consistent with mount(2). (2) This makes update mounts on the root file system work properly. (3) The explicit checks for MNT_ROOTFS in src/sbin/fsck_ffs/main.c and src/usr.sbin/mountd/mountd.c which were put in to eliminate errors during update mounts on the root file system can be removed. The only place were MNT_ROOTFS can be validly set is inside the kernel, i.e. with vfs_mountroot_try(). Reviewed by: phk MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-27T16:13:31.000000Z K 7 svn:log V 470 Set the program name if the crunched program is selected through argv[1] to mimic crt0 behaviour. Do the job by a direct assignment to __progname in order to stay compatible with NetBSD, whose setprogname() is a deliberate no-op. The reason for this change is that some programs (usually those imported from NetBSD) use getprogname() to distinguish between their aliases. (See pkill aka pgrep for example.) This change can be useful, and applicable, to NetBSD, too. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-10-27T16:14:33.000000Z K 7 svn:log V 58 Remove duplicate "union" from ext2_opts. Noticed by: bde END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-27T16:16:02.000000Z K 7 svn:log V 56 Include for the right prototype for exit(3). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-10-27T16:28:05.000000Z K 7 svn:log V 537 Add the following mount options to the nfs_opts array: noatime, noexec, suiddir, nosuid, nosymfollow, union, noclusterr, noclusterw, multilabel, acls, force, update, async. These options correspond to MOPT_STDOPTS, MOPT_FORCE, MOPT_UPDATE, and MOPT_ASYNC. Currently, mount_nfs converts these "-o" options from strings to MNT_ flags via getmntopts(), and passes the flags from userspace to the kernel. This change will allow us in future to pass these mount options as strings directly to the kernel via nmount() when doing NFS mounts. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-27T16:35:46.000000Z K 7 svn:log V 212 Merge Makefile:1.8 from HEAD to RELENG_7: Install getaudit_addr(2) and setaudit_addr(2) links to getaudit(2) and setaudit(2). Approved by: re (kensmith) Submitted by: csjp Obtained from: TrustedBSD Project END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-10-27T16:41:12.000000Z K 7 svn:log V 68 Only write the PID file out when becoming a daemon. PR: bin/87891 END K 10 svn:author V 7 darrenr K 8 svn:date V 27 2007-10-27T16:54:25.000000Z K 7 svn:log V 280 Fix kernel memory leakage when policy routing is used with NAT. (Already fixed in -HEAD) PR: kern/100098 Submitted by: Daniel Larsson Reviewed by: darrenr Approved by: darrenr Obtained from: Daniel Larsson END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-27T17:19:12.000000Z K 7 svn:log V 176 New release notes: FreeBSD-SA-07:08.openssl, sade(8) [1]. Updated release notes: GNOME 2.20.1, X.org 7.3.0. Submitted by: Andrey V. Elsukov [1] Approved by: re (implicity) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-27T18:18:58.000000Z K 7 svn:log V 876 Add some essential tools to rescue(8) in order to make it a versatile emergency tool: o sed(1) as a multi-purpose text filter -- can do grep's job and much more. o head(1), tail(1), and tee(1) as idiomatic text filters. o mt(1) to control tape drives (PR misc/98383). o chown(8) aka chgrp(8) to complement the ch* subset. o pkill(1) aka pgrep(1) to control running processes easily and thus to be able to recover from a serious problem or a fatal typo in an otherwise live system w/o a reboot. (It also deserves adding to rescue(8) for its having triggered a latent bug in crunchgen(1), but we had better add a regression test for that. :-) The resulting change in rescue(8) size has the following order of magnitude on i386: 3787656 - 3727872 = 59784, i.e. just a tad. Discussed on: -hackers (I seem to have wearied all opponents :-) PR: misc/98383 END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-27T18:25:53.000000Z K 7 svn:log V 340 if_loop doesn't need to keep the list of lo(4) interfaces. Today a private softc list is needed neither for tracking clones in general nor for destroying all clones before the module unload -- if_clone takes care of all that. (Note that some other interface drivers do need a softc list to be able to scan it for their private purposes.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-27T18:40:34.000000Z K 7 svn:log V 280 Allow the shell used by make(1) to be changed early via the __MAKE_SHELL variable. This feature isn't supposed to be in wide use, but it's needed now to make `installworld' independent of the stock binaries and libs so that radical ABI changes can go in safely. Reviewed by: ru END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-27T19:57:41.000000Z K 7 svn:log V 193 Add a comment explaining why disc(4) bears the IFF_LOOPBACK flag. It should be the final follow-up to an old yet unfinished discussion on whether IFF_LOOPBACK is necessary for disc(4) and why. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T20:19:11.000000Z K 7 svn:log V 165 Make the examine command honor db_pager_quit so you can use 'q' or 'x' at the pager prompt to abort an examine command that spans multiple pages. MFC after: 1 week END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-27T21:13:51.000000Z K 7 svn:log V 165 Updated release notes: ipi/iwi firmware in base system is only on 8.X/7.X for now, so remove MFC marker, libpcap 0.9.8, tcpdump 3.9.8. Approved by: re (implicity) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-27T21:43:47.000000Z K 7 svn:log V 326 Trim release notes for 7.0 to remove items for features, bugfixes, etc. that appeared in prior FreeBSD releases. This change is based on reviewing the release notes for 6.1-RELEASE and 6.2-RELEASE. There's still some more work to be done here but this is a good checkpoint. Approved by: re (implicitly) Discussed with: hrs END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-10-27T22:04:19.000000Z K 7 svn:log V 43 o Fix indentation. No functional changes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T22:07:40.000000Z K 7 svn:log V 633 Change the roundrobin implementation in the 4BSD scheduler to trigger a userland preemption directly from hardclock() via sched_clock() when a thread uses up a full quantum instead of using a periodic timeout to cause a userland preemption every so often. This fixes a potential deadlock when IPI_PREEMPTION isn't enabled where softclock blocks on a lock held by a thread pinned or bound to another CPU. The current thread on that CPU will never be preempted while softclock is blocked. Note that ULE already drives its round-robin userland preemption from sched_clock() as well and always enables IPI_PREEMPT. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-27T22:14:17.000000Z K 7 svn:log V 235 Don't return an error from resume() if execution of _DIS fails for some reason (not all BIOSen have _DIS methods for all link devices for example). This matches the behavior of attach() with respect to _DIS as well. Submitted by: njl END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-10-27T22:28:01.000000Z K 7 svn:log V 90 Make sure we are incrementing the read count for each audit pipe read. MFC after: 1 week END K 10 svn:author V 4 ache K 8 svn:date V 27 2007-10-27T22:32:27.000000Z K 7 svn:log V 81 Micro-optimization of prev. commit, change (_c < 0 || _c >= 128) to (_c & ~0x7F) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-10-27T22:45:40.000000Z K 7 svn:log V 495 When skipping input data, don't overflow a 32-bit size_t. This can only happen on 32-bit systems when you're reading an uncompressed archive and the skip request is an exact multiple of 4G (e.g., skipping a tar entry with an 8G body). The symptom is that the read_ahead() ends up returning zero bytes, and the extraction stops with a premature end-of-file. Using '1' here is more correct anyway, as it allows read_ahead() to function opportunistically and minimize copying. MFC after: 5 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-10-28T00:26:53.000000Z K 7 svn:log V 254 MFC version 1.27: 1. Determine the location of the rndc* binaries relative to $command 2. Make the stop routine work more like rc.subr's, but try rndc first 3. Allow the rndc.key file to be owned by root OR the named_uid user Approved by: re (kensmith) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-10-28T00:30:18.000000Z K 7 svn:log V 226 MFC version 1.27: 1. Determine the location of the rndc* binaries relative to $command 2. Make the stop routine work more like rc.subr's, but try rndc first 3. Allow the rndc.key file to be owned by root OR the named_uid user END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T04:36:31.000000Z K 7 svn:log V 412 MFCs noted (noticed in RELENG_6 release notes, apparently missing their MFC markers on RELENG_7): snd_envy24(4), snd_envy24ht(4), snd_hda(4), snd_spicds(4), cxgb(4), fdisk(8) -p, etc/rc.d/sendmail alias rebuild change. For some important ports that were upgraded from some older version, match the older version with the version that shipped with 6.2-RELEASE: GNOME, KDE, X.org. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T04:43:28.000000Z K 7 svn:log V 86 MFC: SA-07:08.openssl, coretemp(4), em(4) 6.6.6, awk 1 May 2007 update, tzdata2007h. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T04:55:56.000000Z K 7 svn:log V 79 MFCs noted: coretemp(4), awk 1 May 2007 update. Approved by: re (implicitly) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-10-28T07:02:10.000000Z K 7 svn:log V 155 Correct, add or improve attributions for, and add to quotations from "The Wizard of Oz" One duplicate was also removed that wasn't the right quote anyway END K 10 svn:author V 4 miwi K 8 svn:date V 27 2007-10-28T13:33:25.000000Z K 7 svn:log V 322 Actually the keyword tells network.subr to launch wpa_supplicant on the selected interface. wpa_supplicant does not only handle WPA authentication but also EAP/LEAP as well as WEP encryption or no encryption at all. The patch clarifies this. PR: 117046 Submitted by: lme Reviewed by: bruffer Approved by: jkois (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-28T14:28:33.000000Z K 7 svn:log V 140 Perform explicit label type checks for externalize entry points, rather than a generic initialized test. Obtained from: TrustedBSD Project END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-28T15:41:11.000000Z K 7 svn:log V 644 - Given that we tell the compiler that struct ip is packed and 32-bit aligned, GCC 4.2.1 also generates code for sendudp() that assumes this alignment. GCC 4.2.1 however doesn't 32-bit align wbuf, causing the loader to crash due to an unaligned access of wbuf in sendudp() when netbooting sparc64. Solve this by specifying wbuf as packed and 32-bit aligned, too. As for lastdata and readudp() this currently is no issue when compiled with GCC 4.2.1, though give lastdata the same treatment as wbuf for consistency and possibility of being affected in the future. - Sprinkle const on a lookup table. Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-28T15:55:23.000000Z K 7 svn:log V 1097 Move towards more explicit support for various network protocol stacks in the TrustedBSD MAC Framework: - Add mac_atalk.c and add explicit entry point mac_netatalk_aarp_send() for AARP packet labeling, rather than using a generic link layer entry point. - Add mac_inet6.c and add explicit entry point mac_netinet6_nd6_send() for ND6 packet labeling, rather than using a generic link layer entry point. - Add expliict entry point mac_netinet_arp_send() for ARP packet labeling, and mac_netinet_igmp_send() for IGMP packet labeling, rather than using a generic link layer entry point. - Remove previous genering link layer entry point, mac_mbuf_create_linklayer() as it is no longer used. - Add implementations of new entry points to various policies, largely by replicating the existing link layer entry point for them; remove old link layer entry point implementation. - Make MAC_IFNET_LOCK(), MAC_IFNET_UNLOCK(), and mac_ifnet_mtx global to the MAC Framework rather than static to mac_net.c as it is now needed outside of mac_net.c. Obtained from: TrustedBSD Project END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-28T16:13:38.000000Z K 7 svn:log V 98 MFC: 1.50 (partial) Let pcib_write_ivar() return 0 instead of ENOENT when setting PCIB_IVAR_BUS. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-10-28T16:24:16.000000Z K 7 svn:log V 721 MFC ethernet.h r.133, if_bridge.c r1.104, if_ethersubr.c r1.237, if_vlan.c r1.125 The bridging output function puts the mbuf directly on the interfaces send queue so the output network card must support the same tagging mechanism as how the frame was input (prepended Ethernet header tag or stripped HW mflag). Now the vlan Ethernet header is _always_ stripped in ether_input and the mbuf flagged, only only network cards with VLAN_HWTAGGING enabled would properly re-tag any outgoing vlan frames. If the outgoing interface does not support hardware tagging then readd the vlan header to the front of the frame. Move the common vlan encapsulation in to ether_vlanencap(). Approved by: re (kensmith) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T17:02:54.000000Z K 7 svn:log V 62 MFC: SA-07:08.openssl, tzdata2007h, GNOME 2.20.1, KDE 3.5.7. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T17:04:50.000000Z K 7 svn:log V 19 MFC: tzdata2007h. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-28T17:10:36.000000Z K 7 svn:log V 49 fix sorting of 'tdnam' keyword in keyword list. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T17:11:36.000000Z K 7 svn:log V 102 Fix sorting order in Contributed Software section. No content changes. Approved by: re (implicitly) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-28T17:12:48.000000Z K 7 svn:log V 544 Continue to move from generic network entry points in the TrustedBSD MAC Framework by moving from mac_mbuf_create_netlayer() to more specific entry points for specific network services: - mac_netinet_firewall_reply() to be used when replying to in-bound TCP segments in pf and ipfw (etc). - Rename mac_netinet_icmp_reply() to mac_netinet_icmp_replyinplace() and add mac_netinet_icmp_reply(), reflecting that in some cases we overwrite a label in place, but in others we apply the label to a new mbuf. Obtained from: TrustedBSD Project END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T17:16:24.000000Z K 7 svn:log V 276 For a number of contributed software programs that were updated from older versions, update the "older" version to match what shipped in 6.2-RELEASE. Also remove lukemftpd and OpenSSH notes, since those versions already appeared in 6.2-RELEASE. Approved by: re (implicitly) END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-28T17:31:52.000000Z K 7 svn:log V 538 MFC: UPDATING 1.511; sys/dev/pci/pci_user.c 1.23, 1.24; sys/sys/param.h 1.312, sys/sys/pciio.h 1.8 Add ABI backwards compatibility to the FreeBSD 4/5/6 versions of the PCIOCGETCONF, PCIOCREAD and PCIOCWRITE IOCTLs, which was broken with the introduction of PCI domain support. As the size of struct pci_conf_io wasn't changed with that commit, this unfortunately requires the ABI of PCIOCGETCONF to be broken again in order to be able to provide backwards compatibility to the old version of that IOCTL. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-28T17:46:39.000000Z K 7 svn:log V 199 MFC 1.87: Close longstanding race dropping inactive stations; grab a reference to the node before starting the work, otherwise the node may go away before a reference is made in ieee80211_send_mgmt. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-28T17:48:21.000000Z K 7 svn:log V 54 MFC from 1.110: check xrates is not null before deref END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-28T17:52:08.000000Z K 7 svn:log V 419 MFC ng_base.c rev 1.136-1.137, netgraph.h rev 1.69, ng_socket.c rev 1.83 Implement new apply callback mechanism to handle item forwarding. When item forwarded, refence counter is incremented, when item processed, counter decremented. When counter reaches zero, apply handler is getting called. It allows to report connect() call status only when it is really completed. Reviewed by: julian Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-28T17:55:57.000000Z K 7 svn:log V 287 Garbage collect mac_mbuf_create_multicast_encap TrustedBSD MAC Framework entry point, which is no longer required now that we don't support old-style multicast tunnels. This removes the last mbuf object class entry point that isn't init/copy/destroy. Obtained from: TrustedBSD Project END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-28T18:04:15.000000Z K 7 svn:log V 132 MFC from 1.113: correct reason code returned when a sta tries to associate to an ap operating with WPA/RSN but without a WPA/RSN ie END K 10 svn:author V 3 mav K 8 svn:date V 27 2007-10-28T18:05:59.000000Z K 7 svn:log V 25 Minor debug message fix. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-28T18:14:57.000000Z K 7 svn:log V 58 MFC 1.166: make dev.ath.N.ledpin have an immediate effect END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-28T18:33:31.000000Z K 7 svn:log V 121 Add missing mac_test labeling and sleep checks for the syncache. Discussed with: csjp Obtained from: TrustedBSD Project END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-10-28T19:46:30.000000Z K 7 svn:log V 263 MFC: pf_if.c 1.12, pf_table.c 1.9 Properly drop the pf mutex around all copyout (consistency still protected by the sx) and avoid a WITNESS panic. Overlooked during last import. Reported and tested by: Max N. Boyarov Approved by: re (kensmith) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-28T20:07:29.000000Z K 7 svn:log V 615 MFC: rev. 1.19 and 1.20 The amd_map_program knob can potentially contain a command whose output is then used as an argument to the amd program. This outpu may contain newlines, but the script did not take care to strip those newlines before apending it to rc_flags. Revision 1.72 of rc.subr(8) introduced changes that exposed this problem (specifically putting the final eval'ed command in quotes).[1] Also, for correctness' sake, shell directives appended to the command-line by the script should go into command_args, and not appended directly to rc_flags. Approved by: re (kensmith) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-28T21:06:34.000000Z K 7 svn:log V 193 MFC: 1.31 Allow adding a user(s) to additional groups in batch mode as well. Submitted by: Eygene Ryabinkin (modulo minor changes) Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-28T21:09:46.000000Z K 7 svn:log V 64 MFC 1.215: enable use of ULE on arm Approved by: re (kensmith) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-28T21:13:23.000000Z K 7 svn:log V 165 MFC: 1.31 Allow adding a user(s) to additional groups in batch mode as well. Submitted by: Eygene Ryabinkin (modulo minor changes) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-10-28T21:23:49.000000Z K 7 svn:log V 173 - Add constants for the different memory types in the SMAP table. - Use the SMAP types and constants from in the boot code rather than duplicating it. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T21:41:36.000000Z K 7 svn:log V 156 More RELENG_7 release notes trimmings, removing more notes for features that have already appeared in prior FreeBSD releases. Approved by: re (implicitly) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-10-28T21:44:01.000000Z K 7 svn:log V 24 MFC: ng_ppp(4) MPSAFE. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-28T22:08:37.000000Z K 7 svn:log V 404 - Make failure to route a ISA interrupt non fatal. Apparently the Blade 1500/SX1500 boards have inherited the firmware bug of the AX1105 mainboards to not include an interrupt map entry for the parallel port controller (for the AX1105 the heuristic code for E450s probably erroneously kicks in and guesses an interrupt). - Take advantage of bus_generic_setup_intr(9). - Fix some whitespace bugs. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-28T23:11:57.000000Z K 7 svn:log V 89 Fix typo in code obviously not being compiled on any of my machines. found by: rdivacky@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-10-29T00:07:03.000000Z K 7 svn:log V 142 Unbreak. With DDB removed, KTR can not be used as-is because GEOM wants to save the stack as part of KTR support. Approved by: re (kensmith) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-10-29T00:08:24.000000Z K 7 svn:log V 521 Fix an error in bit shifting logic for network addresses. The route command would add incorrect routing entries if network numbers weren't fully "spelled" out according to their class. For example: # route add 128.0/16 (works) # route add 128/16 (doesn't work) # route add 193.0.0/24 (works) # route add 193/24 (doesn't work) Also, rework the way a netmask is deduced from network number if it [netmask] is not specified. Submitted by: Nuno Antunes (mostly) MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-10-29T00:11:40.000000Z K 7 svn:log V 111 MFC: Add ZFS partition types for APM and GPT and add the "freebsd-zfs" alias. Approved by: re (kensmith) END K 10 svn:author V 6 benjsc K 8 svn:date V 27 2007-10-29T00:31:09.000000Z K 7 svn:log V 150 Regen: * Hart: rev 652 of pcidevs.txt (2007-09-24) * Boemler: vendors.txt (2007-10-25) Approved by: mlaier (mentor) MFC after: 5 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-10-29T00:31:54.000000Z K 7 svn:log V 95 Remove 3rd clause and renumber after getting permission from the author (quite some time ago). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-29T02:06:15.000000Z K 7 svn:log V 497 o RTL8169S/8110S integrated PHY and RTL8211B are gigabit PHYs so set mii_anegticks to MII_ANEGTICKS_GIGE and use it. Previously it used to MII_ANEGTICKS which may not be enough to wait before retrying autonegotiation process at 1000bps. o Reset autonegotation timer if media option is not IFM_AUTO or we got a valid link. o Announce link loss right after it happends. o Autonegiation is retried every mii_anegticks seconds. o Report link state changes right after setting autonegotiation. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-29T02:17:07.000000Z K 7 svn:log V 831 Add support for RealTek RTL8211B(L) PHY. It's based on the patch made by Michael Eisele and the patch was slightly modified by me. With this change several NVIDIA ethernet controllers(e.g. MCP61) works. RTL8211B(L) is RealTek's new gigabit PHY. The PHY has several features including crossover correction, polarity correction as well as supporting triple speed(10/100/1000bps). Data transfer between MAC and PHY is via RGMII for 1000baseT, MII for 10baseT/100baseTX. Unfortunately, RealTek used the same model number for RTL8211B(L) PHY so there is no way to discriminate between RTL8211B(L) and its predecessors. ATM RTL8211B uses revision number 2 so checking the revision number seems to be only way to identify it. Obtained from: Michael Eisele [1] Tested by: clemens fischer < ino-qc AT spotteswoode DOT de DOT eu DOT org > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-29T02:17:44.000000Z K 7 svn:log V 29 Add a newer RTL8211B(L) PHY. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-10-29T03:28:28.000000Z K 7 svn:log V 284 MFC 1.62: Fix reading of files that use pax 'size' attribute to store size. In particular, the pax 'size' attribute is required for any file over 8G. This seems to fix tar -cf - | tar -xf - when there are files over 8G in the heirarchy being copied. Approved by: re (Ken Smith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-10-29T03:29:21.000000Z K 7 svn:log V 255 MFC 1.62: Fix reading of files that use pax 'size' attribute to store size. In particular, the pax 'size' attribute is required for any file over 8G. This seems to fix tar -cf - | tar -xf - when there are files over 8G in the heirarchy being copied. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-29T05:50:22.000000Z K 7 svn:log V 116 Add 88E1116/88E1116R PHY support code that takes the PHY out of power-down mode. PR: kern/114086 MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-10-29T06:18:03.000000Z K 7 svn:log V 76 MFC: show command and assorted manpage updates. Approved by: re (kensmith) END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-10-29T07:37:08.000000Z K 7 svn:log V 297 Add support for `make -nn' dry runs to this makefile. Basically, it's just a matter of adding a `${_+_}' prefix before each submake invokation. This allows a dry run to proceed down to, but not including, leaf commands. (See for how ${_+_} is set depending on the number of -n flags.) END K 10 svn:author V 3 sos K 8 svn:date V 27 2007-10-29T10:30:28.000000Z K 7 svn:log V 76 MFC: Fix the signature matching code on AHCI controllers. Approved by: re@ END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-10-29T12:50:28.000000Z K 7 svn:log V 104 Fix spelling error in netstat output for netstat -s PR: 115641 Approved by: re@freeBSD.org(Ken Smith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T13:33:06.000000Z K 7 svn:log V 186 Resort TrustedBSD MAC Framework policy entry point implementations and declarations to match the object, operation sort order in the framework itself. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T14:19:32.000000Z K 7 svn:log V 1854 Merge Neterion if_nxge driver version 2.0.9.11230 with the following changes: 01 - Enhanced LRO: LRO feature is extended to support multi-buffer mode. Previously, Ethernet frames received in contiguous buffers were offloaded. Now, frames received in multiple non-contiguous buffers can be offloaded, as well. The driver now supports LRO for jumbo frames. 02 - Locks Optimization: The driver code was re-organized to limit the use of locks. Moreover, lock contention was reduced by replacing wait locks with try locks. 03 - Code Optimization: The driver code was re-factored to eliminate some memcpy operations. Fast path loops were optimized. 04 - Tag Creations: Physical Buffer Tags are now optimized based upon frame size. For better performance, Physical Memory Maps are now re-used. 05 - Configuration: Features such as TSO, LRO, and Interrupt Mode can be configured either at load or at run time. Rx buffer mode (mode 1 or mode 2) can be configured at load time through kenv. 06 - Driver Statistics: Run time statistics are enhanced to provide better visibility into the driver performance. 07 - Bug Fixes: The driver contains fixes for the problems discovered and reported since last submission. 08 - MSI support: Added Message Signaled Interrupt feature which currently uses 1 message. 09 Removed feature: Rx 3 buffer mode feature has been removed. Driver now supports 1, 2 and 5 buffer modes of which 2 and 5 buffer modes can be used for header separation. 10 Compiler warning: Fixed compiler warning when compiled for 32 bit system. 11 Copyright notice: Source files are updated with the proper copyright notice. MFC after: 3 days Submitted by: Alicia Pena , Muhammad Shafiq END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-10-29T14:55:46.000000Z K 7 svn:log V 36 Clean up after the previous commit. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T15:30:47.000000Z K 7 svn:log V 118 Canonicalize names of local variables. Add some missing label checks in mac_test. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T18:07:48.000000Z K 7 svn:log V 257 Replace use of AU_NULL with 0 when no audit classes are in use; this supports the removal of hard-coded audit class constants in OpenBSM 1.0. All audit classes are now dynamically configured via the audit_class database. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T18:40:24.000000Z K 7 svn:log V 418 Vendor import TrustedBSD OpenBSM 1.0, with the following change history since the last import: OpenBSM 1.0 - Fix bug in auditreduce(8) which resulted in a memory fault/crash when the user specified an event name with -m. - Remove AU_.* hard-coded audit class constants, as udit classes are now entirely dynamically configured using /etc/security/audit_class. MFC after: 3 days Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T18:40:24.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r173143, 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 2007-10-29T18:40:25.000000Z K 7 svn:log V 83 This commit was manufactured by cvs2svn to create tag 'openbsm-vendor-OPENBSM_1_0'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T18:43:05.000000Z K 7 svn:log V 114 Resolve conflicts from import of OpenBSM 1.0: maintain $FreeBSD$ tags in /etc/security audit configuration files. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T18:45:40.000000Z K 7 svn:log V 84 Regenerate config.h after import of OpenBSM 1.0. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-29T18:47:25.000000Z K 7 svn:log V 218 Merge OpenBSM 1.0 changes to src/sys/bsm: - Remove AU_.* hard-coded audit class constants, as udit classes are now entirely dynamically configured using /etc/security/audit_class. Obtained from: TrustedBSD Project END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-10-29T18:47:27.000000Z K 7 svn:log V 154 Enable headphone jack-sense for HP nx6100 with AD1981B AC'97 codec, automuting internal speakers. Tested by: Frederic Chardon Approved by: re (kensmith) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-10-29T18:47:47.000000Z K 7 svn:log V 280 Remap and virtualize mixer controls for HP nx6110 with AD1981B AC97 codec, unifying master volume control. * Remap "phout" --> SOUND_MIXER_VOLUME (internal speakers) * Virtual "vol" --> { "phout", "ogain" (headphone) } Tested by: Frederic Chardon Approved by: re (kensmith) END K 10 svn:author V 4 emax K 8 svn:date V 27 2007-10-29T19:06:47.000000Z K 7 svn:log V 347 Allow RFCOMM servers to bind to a ''wildcard'' RFCOMM channel zero (0). Actual RFCOMM channel will be assigned after listen(2) call is done on a RFCOMM socket bound to a ''wildcard'' RFCOMM channel zero (0). Address locking issues in ng_btsocket_rfcomm_bind() Submitted by: Heiko Wundram (Beenic) < wundram at beenic dot net > MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-29T20:15:51.000000Z K 7 svn:log V 126 MFC 1.6: fix an incorrect setting of `retry times' in case of zd1211b Submitted by: Weongyo Jeong Approved by: re (kensmith) END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-10-29T20:45:31.000000Z K 7 svn:log V 43 fix typo in code normally not compiled in. END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-10-29T21:01:47.000000Z K 7 svn:log V 1192 Add a new "non-portable" mutex type, PTHREAD_MUTEX_ADAPTIVE_NP. This is also implemented in glibc and is used by a number of existing applications (mysql, firefox, etc). This mutex type is a default mutex with the additional property that it spins briefly when attempting to acquire a contested lock, doing trylock operations in userland before entering the kernel to block if eventually unsuccessful. The expectation is that applications requesting this mutex type know that the mutex is likely to be only held for very brief periods, so it is faster to spin in userland and probably succeed in acquiring the mutex, than to enter the kernel and sleep, only to be woken up almost immediately. This can help significantly in certain cases when pthread mutexes are heavily contended and held for brief durations (such as mysql). Spin up to 200 times before entering the kernel, which represents only a few us on modern CPUs. No performance degradation was observed with this value and it is sufficient to avoid a large performance drop in mysql performance in the heavily contended pthread mutex case. The libkse implementation is a NOP. Reviewed by: jeff MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-10-29T21:01:50.000000Z K 7 svn:log V 33 kill commented out line of code. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-10-29T21:10:03.000000Z K 7 svn:log V 140 MFC to RELENG_6 part of kern_intr.c revision 1.142: - Don't do the interrupt storm protection stuff for software interrupt handlers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-10-29T21:11:55.000000Z K 7 svn:log V 323 - Remove MIIF_NOISOLATE; there's generally no reason to let gentbi(4) set this flag and it was more or less just copied and pasted from another FreeBSD driver while porting this driver from NetBSD, whose gentbi(4) doesn't set MIIF_NOISOLATE either. - Fix spelling in a comment. OK'ed by: yongari MFC after: 3 months END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-10-29T21:39:03.000000Z K 7 svn:log V 125 MFC: remove some _FREEFALL_CONFIG hacks. We don't use ksu on the freebsd.org cluster any more. Approved by: re (kensmith) END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-10-29T21:47:56.000000Z K 7 svn:log V 58 MFC: remove some no-longer-needed _FREEFALL_CONFIG hacks. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-10-29T22:19:08.000000Z K 7 svn:log V 215 Move nvram out of DEFAULTS. There really isn't a lot of justification for consuming the memory. The module works just fine in the unlikely case that this is needed. It can still be compiled into a custom kernel. END K 10 svn:author V 5 peter K 8 svn:date V 27 2007-10-29T22:26:36.000000Z K 7 svn:log V 242 MFC: split nvram out of isa/clock.c into its own device (default to off). This matches the 6.x and earlier behavior where there is no (marginally useful) /dev/nvram. When it was in isa/clock.c, it was mandatory. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-29T22:53:45.000000Z K 7 svn:log V 116 unbreak build on arm: sade is like sysinstall, it cannot be built on an architecture where libdisk is not supported END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-10-30T00:01:28.000000Z K 7 svn:log V 167 Implement per-object type consistency checks for labels passed to 'internalize' operations rather than using a single common check. Obtained from: TrustedBSD Project END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-10-30T00:37:35.000000Z K 7 svn:log V 153 Setting sc->mii_anegticks to MII_ANEGTICKS_GIGE in rgephy_attach() is redundant. mii_phy_add_media() already takes care of that. Pointed out by: marius END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-10-30T00:49:41.000000Z K 7 svn:log V 126 MFC: consolidate parsing of nfs root mount options in one place and handle all options; this enables things like TCP mounts END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-10-30T01:30:42.000000Z K 7 svn:log V 748 Restore ctype(3) ABI forward compatibility in 6.x world. This was broken with last ctype(3) single-byte and multi-byte separation for fixing operating on UTF-8 locale. To be specific, we introduced a new symbol in libc. And this symbol is referred via inline functions here. So, you can not run a binary built with this version of libc on an older system. To restore the compatibility, make these functions built as non-inlined form (see lib/libc/nomarco.c) and MFC rev 1.32 which drops the usage of that symbol in question for __isctype(). As this may impact performance, I only intend to fix in 6.x, but not 7 (not yet released) and 8 (it's HEAD). Discussed on: cvs-src Requested by: scottl Reviewed by: ache, delphij Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-10-30T02:52:47.000000Z K 7 svn:log V 91 MFC: revision 1.546 Disable the coretemp and nvram on pc98. Approved by: re (kensmith) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2007-10-30T02:56:31.000000Z K 7 svn:log V 35 MFC: Disable the coretemp on pc98. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-10-30T03:44:10.000000Z K 7 svn:log V 88 Never use getenv("HOME") without checking for NULL and non-zero Obtained from: OpenBSD END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-10-30T04:44:10.000000Z K 7 svn:log V 98 - Bump __FreeBSD_version for ctype ABI forward compatibility restored Approved by: re (kensmith) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-10-30T04:45:27.000000Z K 7 svn:log V 200 MFC rev. 1.32-1.33 Small improvement for __isctype(): don't use __mb_sb_limit but hardcode 128 here instead, since default locale never define anything above 127 char. Approved by: re (kensmith) END