ƒ² 185380 184 886 193 103 139 254 615 145 146 113 113 143 119 118 113 113 189 162 150 415 201 238 215 140 570 181 123 1130 119 673 673 243 229 176 129 183 617 167 127 160 701 204 240 444 196 198 281 281 197 574 274 198 355 810 230 196 2194 138 476 418 103 271 233 376 341 260 341 107 125 146 118 533 169 666 544 309 533 490 322 170 170 326 326 295 325 245 114 244 112 173 110 111 226 121 260 248 268 192 280 268 136 407 110 792 247 522 177 172 166 172 222 127 419 276 171 324 190 230 260 840 357 177 142 178 190 180 233 135 126 248 136 555 193 129 217 185 179 260 145 235 282 277 107 637 173 173 119 972 263 450 276 176 516 123 337 129 163 201 134 364 160 555 114 173 127 126 167 110 115 1524 555 123 152 122 231 131 317 285 539 338 193 193 186 2431 134 K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T00:48:05.933573Z K 7 svn:log V 793 Update to later code from my repository: o many bug fixes o add new periodic calibration api o break up 5416 periodic calibration code in preparation for 928x o move get noise floor to rf backends o 5416-specific ani (still disabled) o modularize 5210 eeprom format a la other eeprom formats o start cleaning up regdomain code o prepare for proper 1/2 and 1/4 width channel support o bring back 900MHz card support o clean up 5212 rf version handling o add 1/2 and 1/4 width channel support for 5212 parts o split 5212 rfgain handling out o improve ani debugging o add AH_USE_INIPDGAIN compile option o purge a bunch of dead 5212 state o add 1/2 and 1/4 rate modes o remove HAL_CAP_CHAN_HALFRATE and HAL_CAP_CHAN_QUARTERRATE; the same info can now be deduced from the set of supported modes END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-28T12:23:02.041942Z K 7 svn:log V 101 Add a reference to hwpmc_core.c most likely missed in r185363 to try to unbreak universe (untested). END K 10 svn:author V 3 des K 8 svn:date V 27 2008-11-28T13:13:44.961809Z K 7 svn:log V 11 missing V_ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2008-11-28T14:47:39.741680Z K 7 svn:log V 42 Those includes are not needed for dtrace. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2008-11-28T14:49:26.373853Z K 7 svn:log V 156 Add dtrace probes to all functions in linux_util.c. This is only compiletested. Add some error probes from linux_util to the error checking dtrace script. END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-11-28T14:53:18.011304Z K 7 svn:log V 523 Fix matching of message queues by name. The mqfs_search() routine uses strncmp() to match message queue objects by name. This is because it can be called from environments where the file name is not null terminated (the VFS for example). Unfortunately it doesn't compare the lengths of the message queue names, which means if a system has "Queue12345", the name "Queue" will also match. I noticed this when a student of mine handed in an exercise using message queues with names "Queue2" and "Queue". Reviewed by: rink END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T15:49:36.388106Z K 7 svn:log V 53 Add some Xen support for amd64 - initially HVM only. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T15:50:35.714593Z K 7 svn:log V 54 Add a driver the the Xen HVM special platform device. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:25:43.761045Z K 7 svn:log V 21 Add Xen HVM support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:26:29.099820Z K 7 svn:log V 21 Add Xen HVM support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:27:25.573724Z K 7 svn:log V 51 Make this compile in the kernel build environment. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:28:04.575008Z K 7 svn:log V 27 Make this build for amd64. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:29:24.968285Z K 7 svn:log V 26 Make this build on amd64. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:39:20.429896Z K 7 svn:log V 21 Add Xen HVM support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:40:00.715581Z K 7 svn:log V 21 Add Xen HVM support. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:40:59.827827Z K 7 svn:log V 97 Add Xen HVM support. Export some information to userland to help support the userland Xen tools. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:42:00.652799Z K 7 svn:log V 70 Add Xen HVM support. Make the write path to the device actually work. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T16:52:20.433273Z K 7 svn:log V 58 Remove a load of debug printfs which just get in the way. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T17:00:19.040847Z K 7 svn:log V 322 Add some code to choose a disk name and unit number based on the Linux major/minor number passed to us from the backend. This makes life easier when switching back and forth between pure emulated HVM and Xen-aware HVM. Tell the backend what protocol we are using to talk to it - this makes things work properly on amd64. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-28T17:17:54.873169Z K 7 svn:log V 108 Suppress debug printfs. Make this build on amd64 and set the IFF_MULTICAST flag which is required for IPv6. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-11-28T18:35:14.984192Z K 7 svn:log V 145 Fix a printing problem when using the -L flag to netstat caused by adding the -x flag earlier. Submitted by: Anton Yuzhaninov MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-11-28T18:55:42.654164Z K 7 svn:log V 118 Report error messages of the builtins 'type' and 'command -V' to stderr instead of stdout. Noticed by: Zajcev Evgeny END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-11-28T18:59:04.786218Z K 7 svn:log V 44 Update for 185401, errors now go to stderr. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-28T19:21:10.910949Z K 7 svn:log V 477 Add missing 'THE'. This was discussed with core@ in the larger context of making this text match the OSL text, but the changes that OSL silently made to the license to approve it haven't been brought back yet. Still working on that issue. We likely should start using the UTF-8 copyright symbol (What © expands to in HTML), but I'm not 100% confident in my ability to tell Emacs to save it like that. And I haven't gotten approval for that change. Approved by: core@ END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-28T19:23:46.599843Z K 7 svn:log V 90 With the permissions of phk@ change the license on kern_jail.c to a 2 clause BSD license. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2008-11-28T19:35:48.074050Z K 7 svn:log V 29 o FreeBSD 6.4-RELEASE added. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T19:58:09.932518Z K 7 svn:log V 1036 Replace most compile-time support options with linker sets for chip and RF backend support: o add OS_DATA_SET and OS_SET_DECLARE os requirements for setting up linker sets o add AH_CHIP macro for registering chip support (e.g. 5210) o add AH_RF macro for registering RF support (e.g. 2413); note this isn't required for single chip solutions where there's no ambiguity (e.g. 5416/9160+2133) but for 5212 class parts it's required because of the multi-chip solutions o remove all uses of AH_SUPPORT_AR5210, AH_SUPPORT_AR5211, AH_SUPPORT_5212, and AH_SUPPORT_AR9160; still need AH_SUPPORT_AR5416 to enable the 11n descriptor formats and 5312 support is presently broken o remove all uses of AH_SUPPORT_2133, AH_SUPPORT_2413, AH_SUPPORT_5111, AH_SUPPORT_5112, AH_SUPPORT_2417, AH_SUPPORT_2425, and AH_SUPPORT_5413; 5312-related support still requires fixup Remaining issues: o fixup SoC attach o ath_hal_attach uses a hack to probe w/o access to the vendorid o fallback handling of parts w/o a macrev needs to be restored END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T19:58:31.196113Z K 7 svn:log V 27 bump for linke set changes END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-28T20:08:47.811749Z K 7 svn:log V 575 MFC 182590,182778,182779,184109: Support for certain archive_entry attributes to be explicitly "unset". This fixes a number of issues: * Zip archives with "length at end" can now be extracted correctly, since the Zip extractor can simply mark the size as "unknown." * Extract-to-disk can now accurately handle cases with partial time information (e.g., mtime is known but not atime) * We get more accurate handling of different hardlink extraction cases; sometimes a hardlink entry has definitive size information and sometimes not. Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-28T20:09:48.889325Z K 7 svn:log V 575 MFC 182590,182778,182779,184109: Support for certain archive_entry attributes to be explicitly "unset". This fixes a number of issues: * Zip archives with "length at end" can now be extracted correctly, since the Zip extractor can simply mark the size as "unknown." * Extract-to-disk can now accurately handle cases with partial time information (e.g., mtime is known but not atime) * We get more accurate handling of different hardlink extraction cases; sometimes a hardlink entry has definitive size information and sometimes not. Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-28T20:13:23.891714Z K 7 svn:log V 145 MFC r185359: Return a non-zero exit code when directories disappear during the filesystem traversal. Tested by: David Wolfskill Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-28T20:14:41.893031Z K 7 svn:log V 131 MFC r185359: Non-zero exit when directories disappear during the filesystem traversal. Tested by: David Wolfskill Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T20:26:33.787396Z K 7 svn:log V 84 kill AH_DISABLE_WME stuff; it's been posible to do this from the driver for a while END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-11-28T20:47:48.465924Z K 7 svn:log V 35 kinfo_file, kinfo_vmentry, etc WIP END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-11-28T22:06:31.486872Z K 7 svn:log V 86 6.4-RELEASE is done so shift stable/6 over to 6.4-STABLE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-11-28T22:10:15.313542Z K 7 svn:log V 519 Open stable/6 to normal developer activity. I had originally planned to do that much sooner but wound up holding it this long because of the new world order with SVN. People are still getting used to needing to commit to releng/X.Y in the "post-branch" phase so we needed to be able to diff stable/6 against releng/6.4 to make sure people did that. Once people get a bit more accustomed to SVN we should be able to go back to opening up the stable/X branch sooner in the release cycle. Approved by: core (implicit) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T22:25:31.442326Z K 7 svn:log V 75 remove ath_hal_buildopts and ath_hal_version; they are not needed any more END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T22:26:36.845899Z K 7 svn:log V 35 use os shim for linker set walking END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-28T22:27:26.793783Z K 7 svn:log V 68 add chip+rf names for debug msgs, showing compiled-in support, etc. END K 10 svn:author V 3 zec K 8 svn:date V 27 2008-11-28T23:30:51.549050Z K 7 svn:log V 608 Unhide declarations of network stack virtualization structs from underneath #ifdef VIMAGE blocks. This change introduces some churn in #include ordering and nesting throughout the network stack and drivers but is not expected to cause any additional issues. In the next step this will allow us to instantiate the virtualization container structures and switch from using global variables to their "containerized" counterparts. Reviewed by: bz, julian Approved by: julian (mentor) Obtained from: //depot/projects/vimage-commit2/... X-MFC after: never Sponsored by: NLnet Foundation, The FreeBSD Foundation END K 10 svn:author V 3 zec K 8 svn:date V 27 2008-11-28T23:39:25.206420Z K 7 svn:log V 111 Add an essential .h file that skipped from the last commit (r185419). Pointy hat #1 on... Pointed out by: bz END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-28T23:44:13.092789Z K 7 svn:log V 148 Renamed the FRAMELEN macro to TRUEPHY_FRAMELEN as for powerpc it seems to be possible to collide with FRAMELEN from machine/frame.h. Found by: zec END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-29T02:28:05.920692Z K 7 svn:log V 351 Noticed the following error message: mount_msdosfs: /dev/cf0s1: : Operation not supported by device and thought I'd fix it to be: mount_msdosfs: /dev/cf0s1: Operation not supported by device Not sure why errmsg isn't getting filled in, or why this error is even happening at all... (fsck_msdosfs is clean, and I can mount this same CF elsewhere). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T03:17:29.518329Z K 7 svn:log V 99 MFC r185361: timezone value is signed PR: kern/128934 Submitted by: J.R. Oldroyd Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T03:21:25.808125Z K 7 svn:log V 100 MFC r185361: Timezone value is signed. PR: kern/128934 Submitted by: J.R. Oldroyd Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T05:08:49.757648Z K 7 svn:log V 183 MFC r185334: Recognize Rockridge extensions even when the IEEE-standard extension name (as standardized in 1994) is used. PR: kern/128942 Submitted by: J.R. Oldroyd Approved by: re END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T05:10:30.083687Z K 7 svn:log V 183 MFC r185334: Recognize Rockridge extensions even when the IEEE-standard extension name (as standardized in 1994) is used. PR: kern/128942 Submitted by: J.R. Oldroyd Approved by: re END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-29T05:16:14.533711Z K 7 svn:log V 104 Unbreak mips build by taking first WAG at mb(), wmb() and rmb(). The latter two are likely pessimal... END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-29T08:45:20.638301Z K 7 svn:log V 482 make 'make universe' not complain about In file included from /src/sys/modules/powermac_nvram/../../dev/powermac_nvram/powermac_nvram.c:38: @/dev/ofw/ofw_bus.h:36:24: error: ofw_bus_if.h: No such file or directory I am not sure for how long this had not worked and if it was just the latest vimage commit that had revealed this or if nobody had built universe successfully in a while. Btw, the tinderbox did not complain either so that is probably the reason noone had noticed. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-29T12:08:41.068822Z K 7 svn:log V 181 Factor out the reboot handler so that I can use it in HVM mode. Change it to call shutdown_nice() instead of reboot() for consistency with e.g. the Ctrl-Alt-Del handler in syscons. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-29T12:32:42.327450Z K 7 svn:log V 105 MFp4: Remove assertion that is no longer valid - we now use VOP_CLOSE() in more places (ie vdev_file.c). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-11-29T12:40:14.191184Z K 7 svn:log V 262 Improve KASSERT() call a bit: - Print flags in hex. - Note that flags can be fine and panic can be due unexpected error condition. - Remove redundant new line character. Eventhough panic message excess 80 characters keep it in one line so it is easier to grep. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-29T13:34:59.723807Z K 7 svn:log V 717 In the nfsrv_fhtovp(), after the vfs_getvfs() function found the pointer to the fs, but before a vnode on the fs is locked, unmount may free fs structures, causing access to destroyed data and freed memory. Introduce a vfs_busymp() function that looks up and busies found fs while mountlist_mtx is held. Use it in nfsrv_fhtovp() and in the implementation of the handle syscalls. Two other uses of the vfs_getvfs() in the vfs_subr.c, namely in sysctl_vfs_ctl and vfs_getnewfsid seems to be ok. In particular, sysctl_vfs_ctl is protected by Giant by being a non-sleeping sysctl handler, that prevents Giant-locked unmount code to interfere with it. Noted by: tegge Reviewed by: dfr Tested by: pho MFC after: 1 month END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-11-29T14:20:36.805281Z K 7 svn:log V 134 Check for non-existing model DMI string. Submitted by: ganbold Found with: Coverity Prevent(tm) CID: 2434 MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-11-29T14:26:22.198832Z K 7 svn:log V 100 Check the return value of config_intrhook_establish(). Found with: Coverity Prevent(tm) CID: 2115 END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-29T14:32:14.010206Z K 7 svn:log V 2101 MFp4: Bring in updated jail support from bz_jail branch. This enhances the current jail implementation to permit multiple addresses per jail. In addtion to IPv4, IPv6 is supported as well. Due to updated checks it is even possible to have jails without an IP address at all, which basically gives one a chroot with restricted process view, no networking,.. SCTP support was updated and supports IPv6 in jails as well. Cpuset support permits jails to be bound to specific processor sets after creation. Jails can have an unrestricted (no duplicate protection, etc.) name in addition to the hostname. The jail name cannot be changed from within a jail and is considered to be used for management purposes or as audit-token in the future. DDB 'show jails' command was added to aid debugging. Proper compat support permits 32bit jail binaries to be used on 64bit systems to manage jails. Also backward compatibility was preserved where possible: for jail v1 syscalls, as well as with user space management utilities. Both jail as well as prison version were updated for the new features. A gap was intentionally left as the intermediate versions had been used by various patches floating around the last years. Bump __FreeBSD_version for the afore mentioned and in kernel changes. Special thanks to: - Pawel Jakub Dawidek (pjd) for his multi-IPv4 patches and Olivier Houchard (cognet) for initial single-IPv6 patches. - Jeff Roberson (jeff) and Randall Stewart (rrs) for their help, ideas and review on cpuset and SCTP support. - Robert Watson (rwatson) for lots and lots of help, discussions, suggestions and review of most of the patch at various stages. - John Baldwin (jhb) for his help. - Simon L. Nielsen (simon) as early adopter testing changes on cluster machines as well as all the testers and people who provided feedback the last months on freebsd-jail and other channels. - My employer, CK Software GmbH, for the support so I could work on this. Reviewed by: (see above) MFC after: 3 months (this is just so that I get the mail) X-MFC Before: 7.2-RELEASE if possible END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-29T14:34:30.080376Z K 7 svn:log V 47 Regen after jail support was added in r185435. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-11-29T14:49:56.621531Z K 7 svn:log V 379 Merge r184567 from head to stable/7: When encoding an smb name, truncate one byte earlier in order than we did previously in order to ensure it fit properly in the bufer when encoded. This prevents a debugging printf from firing if a source or destination host name for an smb mount exceeds 15 characters. Obtained from: Apple, Inc. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-29T14:55:24.725599Z K 7 svn:log V 325 Fix iovec32 for linux32/amd64. Add a custom version of copyiniov() to deal with the 32-bit iovec pointers from userland (to be used later). Adjust prototypes for linux_readv() and linux_writev() to use new l_iovec32 definition and to match actual linux code. In particular, use ulong for fd (why ?). Submitted by: dchagin END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-29T14:57:58.704268Z K 7 svn:log V 11 Regenerate END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-11-29T14:58:58.857704Z K 7 svn:log V 174 Merge r184367 from head to stable/7: When the mac_bsdextended policy is unloaded, free rule memory. Obtained from: TrustedBSD Project Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-11-29T16:17:39.437934Z K 7 svn:log V 141 Unbreak the no-networks (no INET/6) build that I broke with the commit in r185435. Pointyhat: no, but I could need a ski cap for the winter END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-29T17:14:06.655171Z K 7 svn:log V 283 Make linux_sendmsg() and linux_recvmsg() work on linux32/amd64. Change types used in the linux' struct msghdr and struct cmsghdr definitions to the properly-sized architecture-specific types. Move ancillary data handler from linux_sendit() to linux_sendmsg(). Submitted by: dchagin END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-11-29T17:33:38.073885Z K 7 svn:log V 244 MFC r183555: Correctly handle Intel g33 chips and add support for g45 chips. g33 based chips use a different method of identifying the gtt size. g45 based chips gtt is located in a different area of stolen memory. Approved by: re@ (kensmith) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-29T17:34:46.400671Z K 7 svn:log V 167 Don't call ether_ioctl() with locks held. Loop in xn_rxeof() until the backend stops adding stuff to the ring otherwise we miss RX interrupts which kills performance. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-11-29T17:36:08.737697Z K 7 svn:log V 244 MFC r183555: Correctly handle Intel g33 chips and add support for g45 chips. g33 based chips use a different method of identifying the gtt size. g45 based chips gtt is located in a different area of stolen memory. Approved by: re@ (kensmith) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-11-29T18:09:50.029216Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-11-29T18:21:31.073284Z K 7 svn:log V 28 Add several missing MLINKs. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-11-29T18:58:20.719066Z K 7 svn:log V 49 Bring this a little closer to our manpage style. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-11-29T19:01:44.225517Z K 7 svn:log V 21 Add standard MLINKs. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T20:06:53.138214Z K 7 svn:log V 435 When deciding which characters (of a filename, for instance) are safe to print, try to take into account the current locale. This iterates over output strings using mbtowc() to identify multi-byte sequences. If iswprint() claims the corresponding wide character is printable, the original bytes are passed through. Otherwise, we expand characters into C-style \-escape sequences. Submitted by: Michihiro NAKAJIMA MFC after: 30 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-29T20:16:53.016509Z K 7 svn:log V 77 Third argument to the vi_mmap_t function is vm_paddr_t *. MFC after: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2008-11-29T20:22:02.977201Z K 7 svn:log V 568 Format the output of -itv for real. In particular: * Lookup uname/gname if not provided by the archive (I copied the uname/gname lookup cache from bsdtar) * Format device number instead of size for device nodes * Format date. There's still a few improvements that I could copy from bsdtar, especially the locale-aware safe_fprintf() code and the locale-aware setup for day_first date formatting. (And, of course, I need to think through a clean way to push this stuff down into libarchive.) Thanks to Peter Wemm for reminding me of this overlooked TODO item. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-11-29T20:55:11.410970Z K 7 svn:log V 449 WIP kinfo_file/kinfo_vmmentry tweaks. The idea: 1) to get the 32 and 64 bit versions in sync so that no shims are needed, Valgrind in particular excercises this. and: 2) reduce the size of the copyout. On large processes this turns out to be a huge problem. Valgrind also suffers from this since it needs to do this in a context that can't malloc. I want to pack the records. 3) Add new types.. 'tell me about fd N' and 'tell me about addr N'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-29T21:20:07.656341Z K 7 svn:log V 213 Parse the error string returned by the kernel. The format is: [ ] So, rather than printing the error: gpart: 22 scheme 'gpt' gpart(8) now prints: gpart: scheme 'gpt': invalid argument END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-11-29T21:42:13.764378Z K 7 svn:log V 436 Merge r185437 from stable/7 to releng/7.1: Merge r184567 from head to stable/7: When encoding an smb name, truncate one byte earlier in order than we did previously in order to ensure it fit properly in the bufer when encoded. This prevents a debugging printf from firing if a source or destination host name for an smb mount exceeds 15 characters. Obtained from: Apple, Inc. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-29T21:46:28.281481Z K 7 svn:log V 397 Unlock the malloc() locks in the child process after fork(). This gives us working malloc in the fork child of the multithreaded process. Although POSIX requires that only async-signal safe functions shall be operable after fork in multithreaded process, not having malloc lower the quality of our implementation. Tested by: rink Discussed with: kan, davidxu Reviewed by: kan MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-11-29T21:48:12.831922Z K 7 svn:log V 225 Merge r185440 from stable/7 to releng/7.1: Merge r184367 from head to stable/7: When the mac_bsdextended policy is unloaded, free rule memory. Obtained from: TrustedBSD Project Approved by: re (kensmith) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-11-30T00:00:02.042025Z K 7 svn:log V 76 MFC: pass the correct value in %si to the next stage boot Approved by: re@ END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-11-30T00:00:35.112822Z K 7 svn:log V 76 MFC: pass the correct value in %si to the next stage boot Approved by: re@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-30T00:10:55.832994Z K 7 svn:log V 233 According to "Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide, Part 2", CPUs with family 0x6 and model above or 0xE and CPUs with family 0xF and model above or 0x3 have invariant TSC. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-11-30T00:11:48.292822Z K 7 svn:log V 233 According to "Intel 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide, Part 2", CPUs with family 0x6 and model above or 0xE and CPUs with family 0xF and model above or 0x3 have invariant TSC. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-11-30T00:18:21.250807Z K 7 svn:log V 200 Implement copyout packing more along the lines of what I had in mind. Create a temporary duplicate implementation of old filedesc struct for pre-7.1 libgtop package. Todo: specific fd or addr request END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-11-30T04:41:25.789908Z K 7 svn:log V 232 MFC of a fix for ESB2 network interfaces that will sometimes fail to initialize on startup. This also required shared code as a whole be updated. VLAN HW filtering code is present but undefined until after release. Approved by:re END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-11-30T04:44:46.137553Z K 7 svn:log V 152 Update driver to version 1.6.2, new hardware support added, header split support added as default, code simplification and improvement. Approved by:re END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-11-30T05:10:14.631457Z K 7 svn:log V 19 Improve a comment. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T05:44:58.044765Z K 7 svn:log V 151 move bus+softc typedefs to ah_osdep.h so we can eliminate the opaque write-around; it doesn't work for some platforms (e.g. ia64) and is now pointless END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T05:45:18.588348Z K 7 svn:log V 20 not needed any more END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-11-30T05:55:24.804493Z K 7 svn:log V 78 Do not spin when trying to lock on a single-CPU system. Reported by: davidxu END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T07:24:36.854375Z K 7 svn:log V 18 make code compile END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T07:25:03.927298Z K 7 svn:log V 19 purge useless code END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-30T08:40:04.624684Z K 7 svn:log V 133 On FreeBSD, printing the version is centralized, so no need to repeat it here. I think that gonzo@ has also made this change to p4. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-11-30T11:03:16.137753Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-11-30T12:21:46.309656Z K 7 svn:log V 167 Don't call ether_ioctl() with locks held. Loop in xn_rxeof() until the backend stops adding stuff to the ring otherwise we miss RX interrupts which kills performance. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-11-30T13:18:35.512004Z K 7 svn:log V 155 Clarify the reason to not use the volatile string as an argument to CTR macros. Note the logging of file and line. Reviewed by: dchagin MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-11-30T14:20:08.661618Z K 7 svn:log V 173 Make the linker.hints file have mode 644 instead of 600. There is nothing secret in the file, and the missing read permission breaks diskless operation. MFC after: 4 weeks END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-11-30T15:35:24.554970Z K 7 svn:log V 99 Enable getaudit_addr(2) for sshd again. This will un-break the subject BSM audit tokens for IPv6. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-11-30T17:40:05.549821Z K 7 svn:log V 187 opt_at91.h isn't needed here at all anymore, since the board init routines have been split out. Remove it. This leaves only one instance of it in the tree that will be going away soon. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T17:53:19.800260Z K 7 svn:log V 175 enable use of modules but disable them by adding MODULES_OVERRIDE="" in each config file until we can sort out issues in the modules tree Reviewed by: imp MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T18:27:10.676150Z K 7 svn:log V 44 add frequency mapping for the Zcomax GZ-901 END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T18:34:27.736755Z K 7 svn:log V 314 some of the 11n parts can hang under certain conditions without necessary workarounds, add code to detect these hangs and distinguish them from other events; note this code is only invoked for anomalous conditions and (at the moment) is a noop because the hang detection code is in a new hal that's coming shortly END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T18:56:41.192343Z K 7 svn:log V 18 sync w/ p4 branch END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T19:06:35.085536Z K 7 svn:log V 699 Major overhaul: o eliminate private state indexed by 802.11 rate codes; use the hal's rate tables directly to get the same info o calculate a mask of operational rates to optimize lookups and checks (instead of using for loops and similar) o optimize size bin operations o ignore rates marked as "do not use" in the hal phy tables o fix bug that caused upshifting to break in 11g once the rate dropped below 11Mb/s o add more intelligent multi-rate tx schedules o add support for 1/2 and 1/4 width channels o add dev.ath.X.sample_stats sysctl to dump runtime statistics to the console (needs to go up to a user app) o export more tuning knobs via sysctls (still a couple of magic constants) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-11-30T19:30:31.744402Z K 7 svn:log V 151 Adjust an assertion to handle the case where a lock is contested, but spinning is avoided due to running on a single-CPU system. Reported by: stefanf END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-11-30T19:58:03.394950Z K 7 svn:log V 428 Partially roll back a revision which changed the error code being returned by getaudit(2). Some applications such has su, id will interpret E2BIG as requiring the use of getaudit_addr(2) to pull extended audit state (ip6) from the kernel. This change un-breaks the ABI when auditing has been activated on a system and the users are logged in via ip6. This is a RELENG_7_1 candidate. MFC after: 1 day Discussed with: rwatson END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T20:48:57.248219Z K 7 svn:log V 85 hookup mcast and promisc callbacks Submitted by: "Paul B. Mahol" END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-11-30T21:00:22.912965Z K 7 svn:log V 79 MFC revision 185484 - fixup ABI issues with ip6/audit Approved by: re@ (kib) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-11-30T21:04:53.248697Z K 7 svn:log V 72 Properly wrap this giant block of duplicate code inside COMPAT_FREEBSD7 END K 10 svn:author V 4 csjp K 8 svn:date V 27 2008-11-30T21:06:23.067746Z K 7 svn:log V 79 MFC revision 185484 - fixup ABI issues with ip6/audit Approved by: re@ (kib) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2008-11-30T21:40:01.639440Z K 7 svn:log V 126 It's silly to claim recv(2) is to be removed in favour of recvfrom(2) (at least at this time :) ). Approved by: gnn (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-11-30T21:59:44.092812Z K 7 svn:log V 35 cover up sun4v namespace pollution END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-11-30T22:33:03.460071Z K 7 svn:log V 325 - Obtain main clock frequency dynamically based on CKGR_MCFR register contents. - It is possible to override the dynamic configuration by using AT91C_MAIN_CLOCK option in kernel config. PR: arm/128961 (based on) Submitted by: Bjorn Konig Reviewed by: imp Approved by: kib (mentor, implicit) END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-11-30T22:40:11.060581Z K 7 svn:log V 182 - Get rid of extra include file, erroneously added by the previous commit. This include file was required by the first version of the patch. Approved by: kib (mentor, implicit) END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-11-30T22:40:14.777236Z K 7 svn:log V 77 Add experimental front ends to the kinfo_vmentry and kinfo_filedesc sysctls. END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-11-30T22:58:27.242032Z K 7 svn:log V 230 - Get rid of unused variable in KTR checks. This allows ktr(4) enabled ARM kernel to compile. PR: arm/128897 Submitted by: Pankov Pavel Reviewed by: raj Approved by: kib (mentor, implicit) MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-30T23:38:44.320931Z K 7 svn:log V 95 Call gctl_free() after we processed the error string. It's being freed as part of the request. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-11-30T23:46:31.409810Z K 7 svn:log V 134 Print error messages as-is, when they don't conform to [ 'value'] These are error messages from (lib)geom itself. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-12-01T00:07:17.523622Z K 7 svn:log V 164 Allow boot code to be smaller than what the scheme expects. This effectively changes the boot code size to be an upper bound and makes the interface more flexible. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-01T00:23:12.437322Z K 7 svn:log V 745 MFC 183967, 184861, 185157 183967: Track number of packets transmitted and number of packets received PR: 125806 184861: Update firmware version check make ddp a tunable Obtained from: Chelsio Inc. 185157: Several small additions to the Chelsio 10G driver. 1) Fix a bug in dealing with the Alerus 1006 PHY which prevented the device from ever coming back up once it had been set to down. 2) Add a kernel tunable (hw.cxgb.snd_queue_len) which makes it possible to give the device more than IFQ_MAXLEN entries in its send queue. The default remains 50. 3) Add code to place the card'd identification and serial number into its description (%desc) so that users can tell which card they have installed. Approved by: re END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-12-01T00:45:51.616830Z K 7 svn:log V 261 Provide a 'tinderbox' target that compiles enough of FreeBSD that a developer can rest reasonably assured that the tinderbox will not be broken. This target leverages most of 'universe' but will exit non-zero and output a summary at the end. "make tinderbox" END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-01T01:34:18.751317Z K 7 svn:log V 85 Restore AHCI suspend/resume support, broken with modularization commit (rev 183724). END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-01T01:45:52.471024Z K 7 svn:log V 48 Use libutil wrapper for kinfo_get{file|vmmap}() END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-12-01T01:54:55.409640Z K 7 svn:log V 82 Revision 184199 had not been fully reverted, add missing piece. Reported by: phk END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-01T02:13:32.361140Z K 7 svn:log V 96 Duplicate another few hundred lines of code in order to be compatible with unreleased binaries. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2008-12-01T03:00:26.978326Z K 7 svn:log V 84 Fix an inverted check introduced in r184554. Submitted by: tegge Pointy hat to: me END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-12-01T04:03:17.642693Z K 7 svn:log V 140 MFC of version 1.6.2 of the ixgbe driver, contains header split, new adapter support, and general code improvement/cleanup. Approved by:re END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-01T04:41:45.495668Z K 7 svn:log V 41 Proper fix for tracking ifnet statistics END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-01T04:42:39.550099Z K 7 svn:log V 32 don't manually track statistics END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-01T05:43:30.656952Z K 7 svn:log V 153 Update internal mac stats every time the tick task is called if we don't do this "netstat -w 1" will frequently see negative differences in packets sent END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-01T05:44:08.543777Z K 7 svn:log V 42 null out m_next when marshalling a packet END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-12-01T07:13:52.701910Z K 7 svn:log V 462 MFC of a critical fix for the ESB2 adapters in the em driver, however the fix required a shared code change that involves both em and igb, requiring some compatibility changes throughout. Also, the igb driver now has header split. This is a hardware assist that is able to seperate the payload and header into seperate buffers. Using jumbo frames and 4K mbuf clusters, this should allow the use of ZERO COPY, but that has yet to be implemented. Approved by:re END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-12-01T10:04:39.206954Z K 7 svn:log V 99 The Netgear WG111v2 USB dongle contains a RTL8187 chip, not a GW3887 chip. Obtained from: OpenBSD END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2008-12-01T10:05:34.217509Z K 7 svn:log V 35 Remove The Netgear WG111v2 support END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-12-01T10:16:25.151458Z K 7 svn:log V 123 - Fix spelling error in comments. PR: arm/128891 Submitted by: Pavel Pankov Approved by: kib (mentor) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-12-01T10:20:59.094102Z K 7 svn:log V 90 Fix a lock order reversal bug that could cause deadlock during fork(2). Reported by: kib END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-01T14:15:10.529301Z K 7 svn:log V 82 Adjustments to make a tags file a bit more suitable to amd64. Reviewed by: peter END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-12-01T14:33:34.721280Z K 7 svn:log V 168 Fix fread() to return a correct value on platforms where sizeof(int) != sizeof(size_t), i.e. on all 64-bit platforms. Reported by: Andrey V. Elsukov MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-01T14:34:42.107473Z K 7 svn:log V 48 Catch up with the disappearance of sys/dev/hfa. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2008-12-01T15:02:00.328302Z K 7 svn:log V 139 Trivial patch to show on which geom has the error been detected. Submitted by: Rick C. Petty Approved by: gnn (mentor) MFC after: 1 month END K 10 svn:author V 8 keramida K 8 svn:date V 27 2008-12-01T15:27:00.927020Z K 7 svn:log V 184 The times(3) function returns the number of CLK_TCKs since the startup time of FreeBSD, not since the UNIX Epoch. PR: docs/122359 Submitted by: Viktor Štujber MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-12-01T16:32:45.660837Z K 7 svn:log V 184 Add a magic sequence which unplugs block and network devices from Xen's hardware emulator so that we can safely attach PV drivers to them without fighting with the ata and re drivers. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-01T16:43:08.426489Z K 7 svn:log V 15 import ath hal END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-01T16:53:01.839756Z K 7 svn:log V 544 Switch to ath hal source code. Note this removes the ath_hal module; the ath module now brings in the hal support. Kernel config files are almost backwards compatible; supplying device ath_hal gives you the same chip support that the binary hal did but you must also include options AH_SUPPORT_AR5416 to enable the extended format descriptors used by 11n parts. It is now possible to control the chip support included in a build by specifying exactly which chips are to be supported in the config file; consult ath_hal(4) for information. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-01T17:26:28.027071Z K 7 svn:log V 76 Make adjustments to the package set for 7.1-RELEASE. Approved by: re (kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-12-01T17:29:41.690513Z K 7 svn:log V 76 Make adjustments to the package set for 7.1-RELEASE. Approved by: re (kib) END K 10 svn:author V 3 skv K 8 svn:date V 27 2008-12-01T17:39:34.915799Z K 7 svn:log V 27 Fix typo. Approved by: ru END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-12-01T17:40:57.357418Z K 7 svn:log V 876 MFC rev 179382: Work-around a compiler optimization bug, that broke libthr. Massive inlining resulted in constant propagation to the extend that cmpval was known to the compiler to be URWLOCK_WRITE_OWNER (= 0x80000000U). Unfortunately, instead of zero-extending the unsigned constant, it was sign-extended. As such, the cmpxchg instruction was comparing 0x0000000080000000LU to 0xffffffff80000000LU and obviously didn't perform the exchange. But, since the value returned by cmpxhg equalled cmpval (when zero- extended), the _thr_rtld_lock_release() function thought the exchange did happen and as such returned as if having released the lock. This was not the case. Subsequent locking requests found rw_state non-zero and the thread in question entered the kernel and block indefinitely. The work-around is to zero-extend by casting to uint64_t. Approved by: re (kensmith) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-12-01T17:45:56.472079Z K 7 svn:log V 170 Add controller suspend/resume support. To be able to correctly suspend/resume with card inserted, respective support should be also implemented at mmc and mmcsd layers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-12-01T19:29:47.691117Z K 7 svn:log V 357 Expand the scope of the 'aio_freeproc_mtx' lock to protect the aio data structures used in the socket upcall. This removes the need for Giant to be held for the aio socket upcall and thus the need for NET_NEEDS_GIANT() for AIO in 6.x. Note that this is not an MFC of the locking in 7.x+ as the AIO code in 7.x is substantially different from that in 6.x. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-12-01T20:16:56.959284Z K 7 svn:log V 180 MFstable/7 rev 185526; MFhead rev 179382: Work-around a compiler optimization bug, that broke libthr. See log of rev 185526 or 179382 for the analysis. Approved by: re (kensmith) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-12-01T20:33:22.576644Z K 7 svn:log V 81 MFC: r184379 Supply a valid Connect ID when issuing XPT_DEV_MATCH. PR: 127605 END K 10 svn:author V 3 kan K 8 svn:date V 27 2008-12-01T21:00:25.448133Z K 7 svn:log V 423 Invoke _rtld_atfork_post earlier, before we reinitialize rtld locks by switching into single-thread mode. libthr ignores broken use of lock bitmaps used by default rtld locking implementation, this in turn turns lock handoff in _rtld_thread_init into NOP. This in turn makes child processes of forked multi-threaded programs to run with _thr_signal_block still in effect, with most signals blocked. Reported by: phk, kib END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2008-12-01T21:15:04.218037Z K 7 svn:log V 26 Add ixgbe(4) and upgt(4). END K 10 svn:author V 3 kan K 8 svn:date V 27 2008-12-01T22:33:50.595401Z K 7 svn:log V 244 Shared memory objects that have size which is not necessarily equal to exact multiple of system page size should still be allowed to be mapped in their entirety to match the regular vnode backed file behavior. Reported by: ed Reviewed by: jhb END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-12-01T23:09:58.360787Z K 7 svn:log V 37 correct typo Submitted by: Ole Vole END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T00:39:50.526746Z K 7 svn:log V 69 integrate use after free fixes from private branch Found by: kkenn@ END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T00:48:08.343024Z K 7 svn:log V 106 - fix multiqueue conditional - don't leak mbuf tags in the non-conditional case Found by: Navdeep Parhar END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T00:51:56.205448Z K 7 svn:log V 40 The pkthdr field is flowid not rss_hash END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-02T02:12:34.398976Z K 7 svn:log V 267 Make sure to clear PMDR register by writing back power management events. Just reading PMDR register was not enough to have fxp(4) immuninize against received magic packets during system boot. Tested by: Alexey Shuvaev < shuvaev <> physik DOT uni-wuerzburg DOT de > END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T02:26:15.449403Z K 7 svn:log V 66 Delete a bunch of empty mergeinfo records caused by local copies. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-02T02:30:12.336237Z K 7 svn:log V 458 Add VLAN hardware tag insertion/stripping support. Tx/Rx checksum offload for VLAN frames are also supported. The VLAN hardware assistance is available only on 82550/82551 based controllers. While I'm here change the confusing name of bit1 in byte 22 of configuration block to vlan_drop_en. The bit controls whether hardware strips VLAN tagged frame or not. Special thanks to wpaul who sent valuable VLAN related information to me. Tested on: i386, sparc64 END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T02:32:13.296738Z K 7 svn:log V 20 Prune some whining. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-12-02T03:39:34.922006Z K 7 svn:log V 77 Add 8168D support. Submitted by: Andrew < andrewwtulloch <> gmail DOT com > END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T03:58:10.248982Z K 7 svn:log V 33 return ENOBUFS when ring is full END K 10 svn:author V 2 ps K 8 svn:date V 27 2008-12-02T04:45:33.578630Z K 7 svn:log V 35 Fix world by including opt_route.h END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-12-02T04:54:31.228604Z K 7 svn:log V 75 Don't call destroy_dev on the alias. This fixes half a dozen PRs I think. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T06:30:58.380897Z K 7 svn:log V 16 Diff reduction. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T06:34:08.120937Z K 7 svn:log V 21 Minor comment tweak. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T06:50:26.213713Z K 7 svn:log V 1428 Merge user/peter/kinfo branch as of r185547 into head. This changes struct kinfo_filedesc and kinfo_vmentry such that they are same on both 32 and 64 bit platforms like i386/amd64 and won't require sysctl wrapping. Two new OIDs are assigned. The old ones are available under COMPAT_FREEBSD7 - but it isn't that simple. The superceded interface was never actually released on 7.x. The other main change is to pack the data passed to userland via the sysctl. kf_structsize and kve_structsize are reduced for the copyout. If you have a process with 100,000+ sockets open, the unpacked records require a 132MB+ copyout. With packing, it is "only" ~35MB. (Still seriously unpleasant, but not quite as devastating). A similar problem exists for the vmentry structure - have lots and lots of shared libraries and small mmaps and its copyout gets expensive too. My immediate problem is valgrind. It traditionally achieves this functionality by parsing procfs output, in a packed format. Secondly, when tracing 32 bit binaries on amd64 under valgrind, it uses a cross compiled 32 bit binary which ran directly into the differing data structures in 32 vs 64 bit mode. (valgrind uses this to track file descriptor operations and this therefore affected every single 32 bit binary) I've added two utility functions to libutil to unpack the structures into a fixed record length and to make it a little more convenient to use. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T07:01:18.541056Z K 7 svn:log V 460 - fix bug where dnsperf would stop transmitting after a few seconds - break complex conditionals in to multiple lines to avoid wrapping - remove copious unused debug statements - be more aggressive about cleaning in the calling thread - eliminate usage of ENOSPC - increase number of iterations that cxgbsp can do - eliminate "initerr" usage to simplify ENOBUFS handling - when coalescing pass all packets to BPF - always set overrun if hardware queue is full END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T07:50:57.042981Z K 7 svn:log V 29 cast lockarg to struct mtx * END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T08:22:49.391610Z K 7 svn:log V 58 Modify em to optionally support the if_transmit interface END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-12-02T08:23:45.649232Z K 7 svn:log V 28 return ENOBUFS on full ring END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T10:10:50.652003Z K 7 svn:log V 136 Attempt a quick bandaid for arm build breakage. I went to the trouble of maintaining alignment, but I'm not sure how to tell gcc this. END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T10:39:47.058700Z K 7 svn:log V 37 kf_offset was supposed to be signed. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2008-12-02T10:46:35.763148Z K 7 svn:log V 221 - Efficiency tweak: when checking for PMC overflows, only go to hardware for PMCs that have been configured for sampling. - Bug fix: acknowledge PMC hardware overflows irrespective of the the (software) PMC's state. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-02T11:12:50.911421Z K 7 svn:log V 192 Do not lock vnode interlock around reading of v_iflag to check VI_DOOMED. Read of the pointer is atomic, and flag cannot be set while vnode lock is held. Requested by: jhb MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-02T11:14:16.877884Z K 7 svn:log V 446 Shared lookup makes it possible to create several negative cache entries for one name. Then, creating inode with that name would remove one entry, leaving others dormant. Reclaiming the vnode would uncover negative entries, causing false return of ENOENT from the calls like stat, that do not create inode. Prevent creation of the duplicated negative entries. Reported and debugged with: pho Reviewed by: jhb X-MFC: after shared lookup changes END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-02T11:58:31.862057Z K 7 svn:log V 245 Provide custom simple allocator for rtld locks in libthr. The allocator does not use any external symbols, thus avoiding possible recursion into rtld to resolve symbols, when called. Reviewed by: kan, davidxu Tested by: rink MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-02T13:29:35.982883Z K 7 svn:log V 100 MFC r185451: Third argument to the vi_mmap_t function is vm_paddr_t *. Approved by: re (kensmith) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-12-02T13:36:38.531163Z K 7 svn:log V 100 MFC r185451: Third argument to the vi_mmap_t function is vm_paddr_t *. Approved by: re (kensmith) END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2008-12-02T14:19:53.591168Z K 7 svn:log V 90 Remove unused variable. Found with: Coverity Prevent(tm) CID: 3685 Approved by: jhb END K 10 svn:author V 5 luigi K 8 svn:date V 27 2008-12-02T14:57:48.561994Z K 7 svn:log V 2335 This commits brings in a lot of documentation and some enhancement of the boot0.S code, with a number of compile-time selectable options, the most interesting one being the ability to select PXE booting. The code is completely compatible with the previous one, and with the boot0cfg program. Even the actual code is largely unmodified, with only minor rearrangements or fixes to make room for the new features. The behaviour of the standard build differs from the previous version in the following, minor things: + 'noupdate' is the default, which means the code does not write back the selection to disk. You can enable the feature at runtime with boot0cfg, or changing the flags in the Makefile. + a drive number of 0x00 (floppy, or USB in floppy emulation) is now accepted as valid. Previously, it was overridden with 0x80, meaning that the partition table coming from the media was used to access sectors on a possibly different media. You can revert to the previous mode building with -DCHECK_DRIVE, and you can always use the 'setdrv' option in boot0cfg + certain FAT or NTFS partitions are listed as WIN instead of DOS. + the 'bel' character on a bad selection is replaced by a '#' to make it clear that the system is not hang even if the machine does not have a speaker. This can be reverted back at compile time, or at runtime with an upcoming boot0cfg option. Additional features are available as compile time options, and may be become the default if deemed useful. In particular: + INT18/PXE boot (make -DPXE) This option enables booting through INT 18h (which on certain BIOSes can be hooked to PXE) by pressing F6. There is unfortunately no room to print the additional menu option. Also, to make room for the code, the 'Default: ' string is changed to 'Boot: ' + print current drive number (make -DTEST) Prints a line indicating the current drive number. This is useful to figure out what is going on for machines/bioses which remap drives in sometimes surprising ways. + disable numeric keys in console mode (make -DONLY_F_KEYS) Not really a significant option, but it is needed to make room for the -DTEST mode. + disable floppy support (make -DCHECK_DRIVE) Revert to the old behaviour of only accepting 0x80 and above as valid drive numbers. MFC after: 6 weeks END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-12-02T15:08:33.219913Z K 7 svn:log V 40 Update format string for kve_start/end. END