‚ƒJ147886 114 507 230 169 434 195 177 410 155 177 237 174 142 142 177 237 174 362 464 142 146 164 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 166 187 182 272 272 271 172 156 251 166 155 165 163 144 163 224 163 204 146 254 178 144 147 150 174 382 339 117 195 153 186 364 150 433 141 140 96 471 280 361 335 238 98 270 412 544 233 552 250 399 268 98 542 328 235 213 753 225 1825 290 1769 263 433 151 163 150 292 162 241 308 707 237 1804 940 375 341 K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-07-10T15:17:53.000000Z K 7 svn:log V 410 MFC 1.47: Fix a bug when shell expansion is done against dangling symlinks, by converting the stat() call to a lstat() call, which will cover the situation. One can exercise this bug by referring a dangling link with something like */the-link. Submitted by: Simon 'corecode' Schubert [corecode fs ei tum de] Obtained from: NetBSD via DragonFlyBSD (NetBSD rev. 1.51 and DragonFly rev. 1.6) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-10T21:10:20.000000Z K 7 svn:log V 137 Force commit to note that ggate rewrite was... Sponsored by: Wheel Sp. z o.o. http://www.wheel.pl Approved by: re (scottl (implicit)) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-10T22:25:44.000000Z K 7 svn:log V 77 remove local mods that snuck into rev 1.6 Approved by: re (scottl implicit) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2005-07-10T23:31:11.000000Z K 7 svn:log V 337 Validate if the value written into {FS,GS}.base is a canonical address, writting non-canonical address can cause kernel a panic, by restricting base values to 0..VM_MAXUSER_ADDRESS, ensuring only canonical values get written to the registers. Reviewed by: peter, Josepha Koshy < joseph.koshy at gmail dot com > Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-07-11T02:33:25.000000Z K 7 svn:log V 99 Correct a minor typo. Pointed out by: Xuefeng DENG Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:00:20.000000Z K 7 svn:log V 85 nuke assert that duplicates real check Reviewed by: avatar Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:06:23.000000Z K 7 svn:log V 317 Handle encrypt of arbitarily fragmented mbuf chains: previously we bailed if we couldn't collect the 16-bytes of data required for an aes block cipher in 2 mbufs; now we deal with it. While here make space accounting signed so a sanity check does the right thing for malformed mbuf chains. Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:16:23.000000Z K 7 svn:log V 63 additions from libpcap 0.9.1 release Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:24:53.000000Z K 7 svn:log V 85 Virgin import of libpcap v0.9.1 (release) from tcpdump.org Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:24:53.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r147894, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T03:24:54.000000Z K 7 svn:log V 78 This commit was manufactured by cvs2svn to create tag 'libpcap-vendor-v0_9_1'. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:43:25.000000Z K 7 svn:log V 50 resolve merge conflicts Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:47:11.000000Z K 7 svn:log V 50 bump for libpcap import Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:54:22.000000Z K 7 svn:log V 85 Virgin import of tcpdump v3.9.1 (release) from tcpdump.org Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T03:54:22.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r147899, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T03:54:23.000000Z K 7 svn:log V 78 This commit was manufactured by cvs2svn to create tag 'tcpdump-vendor-v3_9_1'. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-07-11T03:57:04.000000Z K 7 svn:log V 266 Adapt sysinstall to the new dhclient. This includes explicitely telling it about the lease file location and not invoking it with the (non-existant) '-r' option. Releasing leases works vastly different now, so this isn't needed. Submitted by: sam Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-07-11T03:59:25.000000Z K 7 svn:log V 368 Adapt the mfsroot environment of sysinstall to the needs of the new dhclient. This involves having passwd bits available so that seteuid("_dhcp") work, and creating /var/empty so that chroot(_VAR_EMPTY) works. My gut feeling is that the better solution is to make privsep and chroot optional in dhclient, but this works well for now and is low-risk. Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T04:14:02.000000Z K 7 svn:log V 50 resolve merge conflicts Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-07-11T04:14:42.000000Z K 7 svn:log V 54 update for v3.9.1 (releaes) Approved by: re (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:43.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:44.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_0'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:45.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:46.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:47.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:48.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:49.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:50.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:51.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:52.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:53.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:54.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:55.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:56.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:57.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:58.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_2'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:14:59.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 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:15:00.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 7 cvs2svn K 8 svn:date V 27 2005-07-11T04:15:01.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 6 scottl K 8 svn:date V 27 2005-07-11T08:34:49.000000Z K 7 svn:log V 92 Make the RELENG_6 branch operation official by moving HEAD to 7.0-CURRENT. Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-07-11T08:45:10.000000Z K 7 svn:log V 87 Welcome to 6.0-BETA. I, for one, welcome our new RELENG_6 overlords. Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T13:16:26.000000Z K 7 svn:log V 174 MFC v1.15, Add -D_FREEFALL_CONFIG to CFLAGS via Makefile so that just defining _FREEFALL_CONFIG in /etc/make.conf is all that is required for the clusterisms to take effect. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T13:22:13.000000Z K 7 svn:log V 174 MFC v1.16, Add -D_FREEFALL_CONFIG to CFLAGS via Makefile so that just defining _FREEFALL_CONFIG in /etc/make.conf is all that is required for the clusterisms to take effect. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T13:25:54.000000Z K 7 svn:log V 173 MFC v1.2, Add -D_FREEFALL_CONFIG to CFLAGS via Makefile so that just defining _FREEFALL_CONFIG in /etc/make.conf is all that is required for the clusterisms to take effect. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T15:46:45.000000Z K 7 svn:log V 75 Note RELENG_6 branch and minor related tweaks. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T15:50:29.000000Z K 7 svn:log V 59 Adjust for HEAD being 7.0 now. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T15:56:25.000000Z K 7 svn:log V 153 Prepare for packages-7-current. While here retro-fit packages-5.4-release which probably should have been done a while ago. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:01:33.000000Z K 7 svn:log V 69 Add branch tag for cvs update operation. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:02:28.000000Z K 7 svn:log V 58 Note date of RELENG_6 branch. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:04:22.000000Z K 7 svn:log V 68 Add 7.0 as a version not in doc-common. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:06:30.000000Z K 7 svn:log V 66 Suggest this is a -STABLE branch now. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:07:25.000000Z K 7 svn:log V 47 Update branch tag. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:14:21.000000Z K 7 svn:log V 66 Retro-fit packages-5.4-release entry. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-11T16:16:24.000000Z K 7 svn:log V 126 Fix an oops on FBSD-version for packages-5-stable I made in previous commit. Pointy hat: kensmith Approved by: re (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-11T17:16:18.000000Z K 7 svn:log V 71 MFC: Increase MAXCPU to 16 for SMP kernels to cope with APIC IDs >= 8. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-11T17:18:53.000000Z K 7 svn:log V 111 MFC: Fix what(1) on kernel binaries by axeing sccspad[] and duplicating the first line of version[] in sccs[]. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-11T17:22:13.000000Z K 7 svn:log V 54 MFC: Increase the maximum number of USB busses to 40. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-07-12T06:22:02.000000Z K 7 svn:log V 156 Information about the capability flags in 'ifconfig foo0 scan' output. Most content by: avatar Reviewed by: sam Approved by: re (hrs) MFC after: 3 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2005-07-12T06:58:03.000000Z K 7 svn:log V 86 MFC: v1.68 of pkg_create.1, v1.50 of plist.c remove a few uses of the word `really' END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-07-13T05:39:47.000000Z K 7 svn:log V 47 Spelling and grammar fixes. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-07-13T06:08:26.000000Z K 7 svn:log V 50 MLINK firewire.4 to ieee1394.4 MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-07-13T07:46:55.000000Z K 7 svn:log V 58 Don't forget to initialize 'id' field. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-07-13T09:35:35.000000Z K 7 svn:log V 77 mdoc cleanup and whitespace removal after the last commit. Submitted by: ru END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-07-13T10:40:07.000000Z K 7 svn:log V 285 Better memory handling: - It is acceptable to call free(3) when the given pointer itself is NULL, so we do not need to determine NULL before passing a pointer to free(3) - Handle failure of malloc(3) MT6/5 Candidate Submitted by: Dan Lukes PR: bin/83352 END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-13T11:32:10.000000Z K 7 svn:log V 243 Use an interrupt gate for the NMI handler and prevent too-early enabling of interrupts inside of trap(). Fix a typo in a comment. Revert rev 1.113 of "sys/i386/i386/exception.s" as it is no longer needed. Reviewed by: bde MFC after: 3 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2005-07-13T12:06:57.000000Z K 7 svn:log V 24 MFi386: revision 1.617. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-13T13:15:22.000000Z K 7 svn:log V 99 Cross-reference sem_getvalue(3) from several other semaphore-related functions. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-13T13:18:17.000000Z K 7 svn:log V 57 Fix spelling error in sample command. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-07-13T14:06:13.000000Z K 7 svn:log V 90 NET_LOCK_GIANT() when entering network code. Pointy hat to: glebius Reported by: rodrigc END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:49:06.000000Z K 7 svn:log V 271 Commit firmware that the xilinx on the Ositech Seven of Diamonds and a few other cards need. This firmware was obtained from the Linux pcmica-cs project, but Ositech Communications, Inc has been kind enough to grant permission to change the license to a pure BSDL type. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:50:47.000000Z K 7 svn:log V 58 Add a couple of other products, tweak a few descriptions. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:52:48.000000Z K 7 svn:log V 340 Comment out a few entries in the sn_pccard_products table until support for them can really be added. Eliminate the check for network card, because many of the cards in the commented out section are combo cards and report themselves as either multifunction or modem. They will be added back as I obtain hardware and test them more fully. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:53:38.000000Z K 7 svn:log V 49 Minor reorg to have each bus' files on one line. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:53:59.000000Z K 7 svn:log V 48 Minor reorg to keep each bus' files on one line END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:54:40.000000Z K 7 svn:log V 5 Nits END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:57:36.000000Z K 7 svn:log V 378 Stop using OLDCARD shims. rename xe_pccard_match to xe_pccard_probe and combine the old xe_pccard_{probe,attach} into one routine _attach. Create a lookup function to lookup items in the table. Eliminate the check for network cards, since many modems were eliminated by it. Tweak a few printfs as well. This gets many of my older cards working again CEM2, CEM28, CEM36, etc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T14:59:06.000000Z K 7 svn:log V 187 The supposed OLD STYLE network MAC id tuple was really just a buggy expression in the card in question. Since that driver uses a different mechanism, retire the workaround for this bug. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-07-13T15:00:59.000000Z K 7 svn:log V 268 o Check to make sure the card has a function (panic if not) in read_ivar. o Use pf more consistantly for pccard_function. o Make sure we quote the strings properly (maybe this function belongs in subr_bus.c) o Tweak a comment to be more accurate after code changed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:12:19.000000Z K 7 svn:log V 242 Wrap the ia64-specific freebsd32_mmap_partial() hack in Giant for now since it calls into VFS and VM. This makes the freebsd32_mmap() routine MP safe and the extra Giants here can be revisited later. Glanced at by: marcel MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:14:33.000000Z K 7 svn:log V 145 - Stop hardcoding #define's for options and use the appropriate opt_foo.h headers instead. - Hook up the IPC SVR4 syscalls. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:14:54.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:17:54.000000Z K 7 svn:log V 177 Don't attach the non-PnP mss pcm(4) driver to acpi busses as ACPI only enumerates PnP ISA-like devices. Reported by: Harry Coin harrycoin at qconline dot com MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:41:16.000000Z K 7 svn:log V 319 - Ignore BIOS IRQs (that is, IRQ settings left by the BIOS or a previous OS in the PCI config registers) that are > 15 as $PIR can only route PCI interrupts to ISA IRQs which are limited to the 0 to 15 range. - Remove an extra word from a printf. Reported by: othermark atkin901 at yahoo dot com MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:43:21.000000Z K 7 svn:log V 451 Fixup some more fallout from the lapic/i8254 changes: - Make sure timer0_max_count is set to a correct value in the lapic case. - Revert i8254_restore() to explicitly reprogram timer 0 rather than calling set_timer_freq() to do it. set_timer_freq() only reprograms the counter if the max count changes which it never does on resume. This unbreaks suspend/resume for several people. Tested by: marks, others Reviewed by: bde MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T15:44:53.000000Z K 7 svn:log V 140 Don't try to probe ISA PnP devices for now until this driver can grow a list of known-valid PnP IDs. Discussed with: imp MFC after: 3 days END K 10 svn:author V 3 gad K 8 svn:date V 27 2005-07-13T15:56:30.000000Z K 7 svn:log V 459 Fix two minor parsing bugs in -S processing: 1) An unquoted space is always a separator, even when not "in_arg". 2) When a new destination buffer must be allocated during variable substitution, only copy data from the active buffer to the new one when we *are* "in_arg". These were noticed when testing variable-substitution of variables which have null values, and are not inside quoted strings... MFC plans: after a few days, and re@ approval... END K 10 svn:author V 6 marcus K 8 svn:date V 27 2005-07-13T17:10:47.000000Z K 7 svn:log V 154 Replace fch{mod,own} with straight ch{mod,own} as the former cannot be used on socket file descriptors. Reviewed by: secteam (cperciva) Approved by: imp END K 10 svn:author V 6 marcus K 8 svn:date V 27 2005-07-13T17:28:11.000000Z K 7 svn:log V 303 * Open permissions on /var/run/devd.pipe so that any user can read devd events from this socket * Enable non-blocking I/O on devd.pipe to keep clients from wedging devd. If a write(2) on devd.pipe would block, the client in question will be removed [1] Requested by: rwatson [1] Approved by: imp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T20:32:42.000000Z K 7 svn:log V 175 Make a pass through all the compat ABIs sychronizing the MP safe flags with the master syscall table as well as marking several ABI wrapper functions safe. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T20:35:09.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-07-13T20:40:19.000000Z K 7 svn:log V 445 Previously the bridge MTU was set to ETHERMTU and could not be changed. Since we can only bridge interfaces with the same value it meant that all members had to be set at ETHERMTU as well. Allow the first member to be added to define the MTU for the bridge, the check still applies to all additional members. Print an informative message if the MTU is incorrect [1] Requested by: Niki Denev [1] Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-07-13T20:50:17.000000Z K 7 svn:log V 235 Add a 'sysent' target that depends on the various files built from syscalls.master for the master list and the Alpha/OSF1 compat ABI to be consistent with all the other compat ABIs where 'make sysent' already works. MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-07-13T21:12:06.000000Z K 7 svn:log V 142 Don't start a sentence with an identifier. Add missing cross-references to SEE ALSO. X-MFC after: 6.0-RELEASE (not a big deal to bother re@) END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-07-13T21:23:40.000000Z K 7 svn:log V 120 Add symbolic names for the IFF_PPROMISC and IFF_NEEDSGIANT flags so that ifconfig(8) can print them. MFC after: 5 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-07-13T23:58:57.000000Z K 7 svn:log V 659 kbdmux(4) keyboard multiplexer integration o Add two new ioctl's KBADDKBD and KBRELKBD. These are used to add and remove keyboard to (and from) kbdmux(4) keyboard multiplexer; o Introduce new kbd_find_keyboard2() function. It does exactly the same job as kbd_find_keyboard() function except it allows to specify starting index. This function can be used to iterate over keyboards array; o Re-implement kbd_find_keyboard() as call to kbd_find_keyboard2() with starting index of zero; o Make sure syscons(4) passed KBADDKBD and KBRELKBD ioctl's onto currently active keyboard. These changes should not have any visible effect. MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-07-14T07:08:49.000000Z K 7 svn:log V 129 Remove obsolete ttya/ttyb entries and replace with ttyy0/1. Mark origin of ofw_console(4) and zs(4) devices. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T10:22:09.000000Z K 7 svn:log V 1727 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 MFC after: 1 week MFC note: Merge to 6.x, but not 5.x for ABI reasons END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T10:46:03.000000Z K 7 svn:log V 193 Bump the module versions of the MAC Framework and MAC policy modules from 2 (6.x) to 3 (7.x) to allow for future changes in the MAC policy module ABI in 7.x. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T11:52:06.000000Z K 7 svn:log V 1671 Introduce a new sysctl, kern.malloc_stats, which exports kernel malloc statistics via a binary structure stream: - Add structure 'malloc_type_stream_header', which defines a stream version, definition of MAXCPUS used in the stream, and a number of malloc_type records in the stream. - Add structure 'malloc_type_header', which defines the name of the malloc type being reported on. - When the sysctl is queried, return a stream header, followed by a series of type descriptions, each consisting of a type header followed by a series of MAXCPUS malloc_type_stats structures holding per-CPU allocation information. Typical values of MAXCPUS will be 1 (UP compiled kernel) and 16 (SMP compiled kernel). This query mechanism allows user space monitoring tools to extract memory allocation statistics in a machine-readable form, and to do so at a per-CPU granularity, allowing monitoring of allocation patterns across CPUs in order to better understand the distribution of work and memory flow over multiple CPUs. While here: - Bump statistics width to uint64_t, and hard code using fixed-width type in order to be more sure about structure layout in the stream. We allocate and free a lot of memory. - Add kmemcount, a counter of the number of registered malloc types, in order to avoid excessive manual counting of types. Export via a new sysctl to allow user-space code to better size buffers. - De-XXX comment on no longer maintaining the high watermark in old sysctl monitoring code. A follow-up commit of libmemstat(3), a library to monitor kernel memory allocation, will occur in the next few days. Likewise, similar changes to UMA. END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-07-14T12:20:02.000000Z K 7 svn:log V 167 Fix a minor buglet making the code match the comment. Fractional cylinders confuse fdisk and break the NanoBSD build. This is an MT5/6 candidate. MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-07-14T13:56:51.000000Z K 7 svn:log V 340 MFp4: - Introduce a helper function if_setflag() containing the code common to ifpromisc() and if_allmulti() instead of duplicating the code poorly, with different bugs. - Call ifp->if_ioctl() in a consistent way: always use more compatible C syntax and check whether ifp->if_ioctl is not NULL prior to the call. MFC after: 1 month END K 10 svn:author V 8 takawata K 8 svn:date V 27 2005-07-14T14:19:05.000000Z K 7 svn:log V 54 Prepare to commit SL811 based Host controller driver. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2005-07-14T14:53:38.000000Z K 7 svn:log V 66 Add device id for RATOC REX CFU1 sl811 based USB Host Controller. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-07-14T15:09:14.000000Z K 7 svn:log V 55 Fix breakage introduced in rev 1.7. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T15:21:18.000000Z K 7 svn:log V 195 Correct build on 64-bit: cast u_int64_t to (unsigned long long) before printfing as (unsigned long long). 32-bit build on i386 didn't notice this. Whoops. Reported by: arved Tested by: sledge END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-14T15:39:06.000000Z K 7 svn:log V 65 Add recently invented COMPAT_FREEBSD5 option. MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2005-07-14T15:47:48.000000Z K 7 svn:log V 143 Drop the -A argument to the cvs command which is no longer necessary. Noticed by: delphij, ru Pointy hat: kensmith Approved by: re (implicit) END K 10 svn:author V 8 takawata K 8 svn:date V 27 2005-07-14T15:57:01.000000Z K 7 svn:log V 210 Add SL811 based host controller driver for CF usb host controller. This is based on NetBSD slhci(4) driver for X68k amateur hardware. For now, it will not work properly, but it can detect usb device insertion. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T16:13:46.000000Z K 7 svn:log V 610 In an earlier world order, UMA would flush per-CPU statistics to the zone whenever it was moving buckets between the zone and the cache, or when coalescing statistics across the CPU. Remove flushing of statistics to the zone when coalescing statistics as part of sysctl, as we won't be running on the right CPU to write to the cache statistics. Add a missed gathering of statistics: when uma_zalloc_internal() does a special case allocation of a single item, make sure to update the zone statistics to represent this. Previously this case wasn't accounted for in user-visible statistics. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T16:17:21.000000Z K 7 svn:log V 140 In addition to tracking allocs in the zone, also track frees. Add a zone free counter, as well as a cache free counter. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T16:35:13.000000Z K 7 svn:log V 1706 Introduce a new sysctl, vm.zone_stats, which exports UMA(9) allocator statistics via a binary structure stream: - Add structure 'uma_stream_header', which defines a stream version, definition of MAXCPUs used in the stream, and the number of zone records in the stream. - Add structure 'uma_type_header', which defines the name, alignment, size, resource allocation limits, current pages allocated, preferred bucket size, and central zone + keg statistics. - Add structure 'uma_percpu_stat', which, for each per-CPU cache, includes the number of allocations and frees, as well as the number of free items in the cache. - When the sysctl is queried, return a stream header, followed by a series of type descriptions, each consisting of a type header followed by a series of MAXCPUs uma_percpu_stat structures holding per-CPU allocation information. Typical values of MAXCPU will be 1 (UP compiled kernel) and 16 (SMP compiled kernel). This query mechanism allows user space monitoring tools to extract memory allocation statistics in a machine-readable form, and to do so at a per-CPU granularity, allowing monitoring of allocation patterns across CPUs in order to better understand the distribution of work and memory flow over multiple CPUs. While here, also export the number of UMA zones as a sysctl vm.uma_count, in order to assist in sizing user swpace buffers to receive the stream. A follow-up commit of libmemstat(3), a library to monitor kernel memory allocation, will occur in the next few days. This change directly supports converting netstat(1)'s "-mb" mode to using UMA-sourced stats rather than separately maintained mbuf allocator statistics. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-07-14T17:40:02.000000Z K 7 svn:log V 843 Add libmemstat(3), a library for use by debugging and monitoring applications in tracking kernel memory statistics. It provides an abstracted interface to uma(9) and malloc(9) statistics, wrapped around the recently added binary stream sysctls for the allocators. Using this interface, it is easy to build monitoring tools, query specific memory types for usage information, etc. Facilities are provided for binding caller-provided data to memory types, incremental updates of memory types, and queries that span multiple allocators. Support for additional allocators is (relatively) easy to add. The API for libmemstat(3) will probably change some over time as consumers are written, and requirements evolve. It is written to avoid encoding ABIs for data structure layout into consuming applications for this reason. MFC after: 1 week END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-07-14T17:43:00.000000Z K 7 svn:log V 279 Check the vendor and device, not subvendor and subdevice, when looking for channel devices. This should fix Dell 2450/2550/2650 systems that have RAID enabled. This will likely not fix 2400 systems though as I don't have the appropriate PCI Id info for them. MFC After: 3 day END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-07-14T17:48:04.000000Z K 7 svn:log V 247 kbdmux(4) keyboard multiplexer integration o Add sys/dev/kbdmux/kbdmux.c to the source tree o Add sys/modules/kbdmux/Makefile to the source tree These are not yet connected to the build. Man page and other changes to follow. MFC after: 1 week END