ƒ³190356 185 396 159 123 187 139 363 189 221 153 221 153 188 241 215 337 113 347 169 147 184 130 155 200 154 794 201 272 174 173 289 533 259 220 197 178 209 171 698 130 178 457 190 257 236 236 760 185 305 325 211 192 106 133 164 242 134 216 217 402 188 589 204 425 312 120 459 305 316 197 163 571 282 118 230 111 108 252 262 226 140 110 128 123 184 168 407 520 217 218 1030 162 169 149 142 211 285 151 188 467 255 164 1702 630 171 170 302 468 210 119 198 189 215 162 126 564 262 431 185 524 741 120 189 365 292 129 262 603 1019 135 328 201 222 348 147 267 186 274 205 588 385 172 167 383 1210 157 265 138 199 112 205 378 2215 141 508 184 231 306 145 413 268 565 422 524 316 1281 174 165 212 210 175 468 179 147 510 149 107 308 524 204 313 210 299 140 150 190 K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T01:35:58.845357Z K 7 svn:log V 300 MFC: r186337/r186444/186784: burncd(8) doesn't handle signals and interrupting burncd during operation. Add signal handling by doing a CDRIOCFLUSH ioctl to attempt to leave burner in a sane state when burning is interrupted with SIGHUP, SIGINT, SIGTERM, or in case an I/O error occurs during write. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T01:51:42.178858Z K 7 svn:log V 64 MFC: r186581: Sound less scary about errorousous disk geometry. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T01:54:17.502822Z K 7 svn:log V 28 MFC: 186291: Use strlcpy(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T01:56:16.226447Z K 7 svn:log V 92 MFC: r186234/r186236: Use passed parameter rather than a hard coded value. Bump WARNS to 3. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T02:09:48.049358Z K 7 svn:log V 44 MFC: r187964: Fix the inconsistent tabbing. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T02:28:46.899013Z K 7 svn:log V 267 Revert r190357, in which I was just trying to get the merge info set at the src level. (turns out svn+ssh://obrien@svn.freebsd.org/base/head and svn+ssh://svn.freebsd.org/base/stable/7 are seen as two totally different repositories... Jeez subversion can be dumb...) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-24T02:48:54.866103Z K 7 svn:log V 95 MFC r180564, addition of the SHUTDOWN keyword to those scripts that start persistent services. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-24T02:54:15.182633Z K 7 svn:log V 126 MFC r181114, make sure services and protocols are in the chroot /etc MFC r188293, improve handling of chroot inside of a jail END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-24T02:56:50.242982Z K 7 svn:log V 59 MFC r181113, -c named_flags example and capitalization fix END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-24T03:05:41.274688Z K 7 svn:log V 126 MFC r181114, make sure services and protocols are in the chroot /etc MFC r188293, improve handling of chroot inside of a jail END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-24T03:08:09.343635Z K 7 svn:log V 59 MFC r181113, -c named_flags example and capitalization fix END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-24T04:20:17.907632Z K 7 svn:log V 92 set NULL after free to avoid duplicate free. Tested by: Ganbold END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-03-24T05:05:53.324648Z K 7 svn:log V 143 Enter stable/7 code freeze for the upcoming 7.2-RELEASE. While here switch 7.0/7.1 entries to match the others. Approved by: core (implicit) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T10:15:35.904291Z K 7 svn:log V 119 Follow the lead of r164728 and grab the pcbinfo lock for some additional dereferences of so_pcb. Reviewed by: rwatson END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-03-24T10:47:53.809912Z K 7 svn:log V 242 Vendor import of tzdata2009d - Morocco will observe DST from 2009-06-01 00:00 to 2009-08-21 00:00 - Tunisia will not observe DST this year. - Syria will start DST on 2009-03-27 00:00 this year - the Province of San Luis will go to utc-04:00 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-03-24T10:48:32.861906Z K 7 svn:log V 19 Tag of tzdata2009d END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-03-24T10:50:30.499921Z K 7 svn:log V 252 MFV of tzdata2009d: - Morocco will observe DST from 2009-06-01 00:00 to 2009-08-21 00:00 - Tunisia will not observe DST this year. - Syria will start DST on 2009-03-27 00:00 this year - the Province of San Luis will go to utc-04:00 MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-24T13:11:16.329427Z K 7 svn:log V 74 Bump __FreeBSD_version to reflect tcpdump 4.0.0 and libpcap 1.0.0 import. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-24T15:48:35.334114Z K 7 svn:log V 52 As with ZFS use real atomic operations for sparc64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-24T15:52:45.685952Z K 7 svn:log V 89 Given that zfs.ko depends on opensolaris.ko also build the latter by default on sparc64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-24T15:56:15.204432Z K 7 svn:log V 35 Revert unintended part of r190375. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-24T15:57:35.467126Z K 7 svn:log V 61 Fixed indentation for LINKTYPE_ENC Approved by: gnn(mentor) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-24T16:03:46.777659Z K 7 svn:log V 105 remove unused "package" entry. default to use devfs (we do that anyways) Many small changes in comments END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-24T17:10:42.387474Z K 7 svn:log V 62 require wlan for ancillary modules; they are required to link END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-24T17:14:34.143907Z K 7 svn:log V 697 Add DTrace probes to the NFS access and attribute caches. Access cache events are: nfsclient:accesscache:flush:done nfsclient:accesscache:get:hit nfsclient:accesscache:get:miss nfsclient:accesscache:load:done They pass the vnode, uid, and requested or loaded access mode (if any); the load event may also report a load error if the RPC fails. The attribute cache events are: nfsclient:attrcache:flush:done nfsclient:attrcache:get:hit nfsclient:attrcache:get:miss nfsclient:attrcache:load:done They pass the vnode, optionally the vattr if one is present (hit or load), and in the case of a load event, also a possible RPC error. MFC after: 1 month Sponsored by: Google, Inc. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-24T17:22:10.609931Z K 7 svn:log V 108 use IEEE80211_SUPPORT_TDMA option to control whether code is configured; this allows us to remove an #ifdef END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-03-24T17:47:24.731147Z K 7 svn:log V 179 getaddrinfo(3) should accept numeric when ai_socktype is not specified in hint or hints is NULL. PR: bin/51827 Submitted by: Mark Andrews MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-24T17:47:50.499520Z K 7 svn:log V 80 add a function to help copying shared binaries from the output of a buildworld. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-24T17:57:48.980524Z K 7 svn:log V 81 add linker sets for get/set ioctl handlers so optional net80211 code is isolated END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-24T18:02:35.303149Z K 7 svn:log V 194 remove stale comments on the size of objects, they are more than 10 years old and do not reflect reality anymore. Also remove some commented out entries that have no hope to be useful anymore. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-24T18:10:22.691948Z K 7 svn:log V 440 Fall back to using configuration type 1 accesses for PCI config requests if the requested PCI bus falls outside of the bus range given in the ACPI MCFG table. Several BIOSes seem to not include all of the PCI busses in systems in their MCFG tables. It maybe that the BIOS is simply buggy and does support all the busses, but it is more conservative to just fall back to the old method unless it is certain that memory accesses will work. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-24T18:16:42.983934Z K 7 svn:log V 166 When a file lookup fails due to encountering a doomed vnode from a forced unmount, consistently return ENOENT rather than EBADF. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-24T18:34:19.662632Z K 7 svn:log V 125 make the mfs larger to give room for shared libs. Build /dev/random so ssh can find it Approved by: re (blanket on picobsd) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-24T18:35:01.024985Z K 7 svn:log V 102 remove unused entries and stale comments on the size of objects Approved by: re (blanket on picobsd) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-24T20:00:28.390397Z K 7 svn:log V 83 Change yet another script to use /dev/mdX instead of /dev/mdXc (see also r188438). END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-24T20:39:08.348604Z K 7 svn:log V 116 split Atheros SuperG support out into it's own file that's included only with a new IEEE80211_SUPPORT_SUPERG option END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-24T20:46:02.528755Z K 7 svn:log V 78 - Cleanup code before import. - Fix comments that had not yet been addressed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-24T20:57:10.131838Z K 7 svn:log V 605 Mostly synchronize lib/libthr and sys/kern/kern_umtx.c with the code from HEAD. Since libkse is still built on RELENG_7, pthread_cleanup_push/pop are left as the functions, but the support code in libthr is present for the macro versions. Malloc in RELENG_7 does not require thread exit hook, but I decided to add empty handler for it, instead of removing callback from thr_exit(). No mergeinfo since this change is prepared by patching libthr and then bringing in required missed bits. Requested by: bms Reviewed by: davidxu Tested by: bms, Mykola Dzham Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-24T21:02:19.192018Z K 7 svn:log V 38 hide linker set stuff from user space END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-03-24T22:35:05.093987Z K 7 svn:log V 82 Allow compile from c++ for libpmc Approved by: jkoshy (mentor) MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-24T23:16:48.026859Z K 7 svn:log V 360 Fix two bugs in DTrace tracing of accesscache and attrcache load events: - Trace non-error loads into the access cache once, not zero times or twice. - Sometimes attr cache loads fail due to a race, in which case they are aborted leading to an invalidation; in this case, trace only the flush, not a load. MFC after: 1 month Sponsored by: Google, Inc. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-24T23:31:41.246680Z K 7 svn:log V 96 - Add Belarusian catalog PR: conf/133004 Submitted by: Tatsiana Elavaya END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-25T00:57:09.627568Z K 7 svn:log V 160 Use __attribute__((packed)) for the structure so that hptiop management utility would work. Submitted by: Shaowei WANG MFC after: 2 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-25T01:41:56.868984Z K 7 svn:log V 139 The GART allocations are a propery of the gart, not of scatter-gather memory. Track them in the appropriate structure. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-25T01:44:16.628253Z K 7 svn:log V 139 Intel handled the management of the breadcrumb counter inconsistently. Make sure that we always handle it the same way. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-25T01:50:56.018357Z K 7 svn:log V 663 Rework the management of vblank interrupts a bit. When a vt switch occurs the irq handler is uninstalled. Interrupts and the state tracking of what was enabled/disabled wasn't working properly. This should resolve the reports of "slow windows" after a vt switch, among other things. The radeon 2d driver seems to work a bit more correctly than the Intel driver. With the Intel driver, vblank interrupts will be enabled at system startup and will only be disabled after an additional modeset (vt switch, dpms, randr event). With this patch, I am able to run glxgears synced to vblank and vt switch while it is running without ill effects. MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-25T03:02:03.303511Z K 7 svn:log V 93 shuffle code so things build w/o INVARIANTS or IEEE80211_SUPPORT_SUPERG Prodded by: several END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-03-25T03:42:49.170114Z K 7 svn:log V 204 Disable ATA DMA for ATAPI devices for now. Apparently, certain revisions of this controller, in combination with certain ATAPI devices and phases of the moon, will cause DMA operations for ATAPI to fail. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-25T05:10:32.901184Z K 7 svn:log V 232 Merge an important change that I mistakenly left out when merging C99 inline function support. This should fix instances where gcc spuriously reports the following error: error: nested function 'foo' declared but never defined END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-25T06:27:56.515092Z K 7 svn:log V 114 Use __packed from cdefs.h Submitted by: pyunyh Reviewed by: Shaowei WANG MFC after: 2 weeks END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-25T07:01:45.787997Z K 7 svn:log V 99 - Remember to set umask before setting attributes of RCS file. Tested by: dougb MFC after: 2 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-25T07:05:23.456916Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-25T07:26:24.363640Z K 7 svn:log V 41 Another akihabra find: Mitsubishi B8895. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-25T08:07:52.546812Z K 7 svn:log V 72 Make programs that define a macro called `dprintf' more likely to work. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-03-25T12:36:37.393500Z K 7 svn:log V 144 Improve the German translation. Some parts (ERANGE, ETXTBSY) triggered by Christoph Mallon. Discussed with: brueffer, gabor (previous version) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-25T14:02:26.937808Z K 7 svn:log V 40 add support for shared "crunch" binary. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-25T14:11:29.328006Z K 7 svn:log V 121 MFC: Added DLT_ENC to map list, so it is now possible to save dumps on enc0 Approved by: re (gnn) Obtained from: NETASQ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-25T14:17:08.183366Z K 7 svn:log V 124 Rename (fpu|npx)_cleanstate to (fpu|npx)_initialstate to better reflect their purpose. Inspired by: bde MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-25T14:26:38.408032Z K 7 svn:log V 309 MFC rev. 188846: Handle nForce MCP67 and MCP73 SATA controllers as AHCI. They report itself as ATA RAID, but generic ATAPCI driver unable to detect drives there. AHCI driver reported to handle them fine. Linux does the same. Submitted by: Andrey V. Elsukov on stable@ PR: kern/125713 Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-25T15:42:07.607262Z K 7 svn:log V 96 MFC r190266: 7.2 will be the first release where strndup() appears. Approved by: re (kensmith) END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-03-25T16:23:43.314381Z K 7 svn:log V 496 Add support for SCTP to getaddrinfo(3). Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and IPPROTO_SCTP. It confuses some programs. If getaddrinfo(3) returns IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at least Apache doesn't work. So, I made getaddrinfo(3) to return IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified explicitly by hints.ai_protocol. PR: bin/128167 Submitted by: Bruce Cran (partly) MFC after: 2 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-25T17:02:05.529033Z K 7 svn:log V 111 When looking up the parent devclass of a new devclass, create the parent devclass if it doesn't already exist. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-25T17:22:15.320986Z K 7 svn:log V 332 Allow different ABIs to use different initial control words for the FPU on amd64 and i386. This fixes a bug were 32-bit binaries would run with a different floating point exception mask under FreeBSD/amd64 vs FreeBSD/i386. This commit also includes a few other minor changes to keep the code in sync with 8. Approved by: re (kib) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-25T17:47:22.434239Z K 7 svn:log V 215 Move dtnfsclient.c in the cddl tree to nfs_kdtrace.c in the nfsclient directory, since it's under a BSD license, and this keeps NFS internals- aware tracing parts close to NFS. MFC after: 1 month Suggested by: jhb END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-25T17:56:28.397153Z K 7 svn:log V 26 devfs is the standard now END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-25T18:48:46.134175Z K 7 svn:log V 364 This config file uses dynamically linked binaries, which is more convenient when you want to import other programs because the libraries will not be replicated. Given that there are no floppies around anymore, I have bumped the fd size to 4MB (which is more than reasonable even for embedded platforms) and gives some room for other utilities. MFC after: 3 days END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-25T20:15:48.037115Z K 7 svn:log V 211 - Add proper error checking and printing to the CVSMode code when reading and writing from/to streams, as leaving them out stops csup from cleaning up on SIGINT and friends properly. MFC after: 1 week END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-03-25T20:38:57.078811Z K 7 svn:log V 220 Create GEOM labels from UFS IDs, e.g. /dev/ufsid/49c97b1faa2adc43. UFS IDs are always present and can be used to identify file systems (useful if hardware devices move often). Actually-by: pjd Approved by: gnn (mentor) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-03-25T20:40:34.834865Z K 7 svn:log V 101 Man page accompanying r190423 - introduce UFS ID labels. Actually-by: pjd Approved by: gnn (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-25T21:20:15.580834Z K 7 svn:log V 71 update; mostly to eliminate ambiguity about what hardware is supported END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-25T22:08:30.773185Z K 7 svn:log V 478 Fix a few nits in the earlier changes to prevent local information leakage in AMD FPUs: - Do not clear the affected state in the case that the FPU registers for the thread that already owns the FPU are changed via fpu_setregs(). The only local information the thread would see is its own state in that case. - Fix a type mismatch for the dummy variable used in a "fld". It accepts a float, not a double. Reviewed by: bde Approved by: so (cperciva) MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-25T22:12:07.395310Z K 7 svn:log V 189 It appears that the TDK LAK CD011 works with fe driver. I don't have a dongle for the card, but it passes the sanity testsin the probe/attach routines and returns the correct MAC address. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-25T22:14:46.614668Z K 7 svn:log V 26 Add recently added cards. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-25T22:20:36.124480Z K 7 svn:log V 137 RIOS Systems co was naughty and used a 'random' id. Use it with the PCCARD3 name to describe the RIOS PC Card III Ethernet that I have. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-25T22:21:38.136704Z K 7 svn:log V 19 Add RIOS PCCARD 3. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-25T22:21:53.153165Z K 7 svn:log V 16 Tweak comments. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-25T23:20:49.440699Z K 7 svn:log V 158 - Fix a bug introduced when the plex synchronization was "fixed": remember to go all the way around the list to the starting point and not just to the end. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-26T02:10:18.681101Z K 7 svn:log V 165 Fix up waiting on vblank again... This reverts a last minute change that I made on the last patch, it seems to upset suspend/resume and shutdown. MFC after: 3 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-26T02:59:10.969207Z K 7 svn:log V 129 The malo(4) device driver first appeared in FreeBSD 7.1 not 8.0. Reported by: John MFC after: 3 days END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-26T04:16:40.665730Z K 7 svn:log V 44 bwi(4) and mwl(4) doesn't exist at CURRENT. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-26T04:17:35.418630Z K 7 svn:log V 14 adds malo(4). END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-26T06:12:04.287229Z K 7 svn:log V 32 bump date. Pointed by: yongari END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-26T10:22:40.650094Z K 7 svn:log V 29 there is no dev_mkdb anymore END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-26T12:13:19.460453Z K 7 svn:log V 92 Include linux_misc.h to get the definition for __LINUX_NPXCW__. Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-26T13:22:29.638600Z K 7 svn:log V 77 MFC r186393: Correct variable name in comment. Approved by: re (rwatson) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-26T13:27:26.650318Z K 7 svn:log V 315 MFC r184097: Update a comment which to my reading had been misplaced in rev. 1.12 already (but probably had been way above as the code was there twice) and describe what was last changed in rev. 1.199 there (which now is in sync with in6_src.c r184096(HEAD), r189956(stable/7)). Approved by: re (rwatson) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-26T14:20:16.500872Z K 7 svn:log V 423 Merge r189657 from head to stable/7: Add INP_INHASHLIST flag for inpcb->inp_flags to indicate whether or not the inpcb is currenty on various hash lookup lists, rather than using (lport != 0) to detect this. This means that the full 4-tuple of a connection can be retained after close, which should lead to more sensible netstat output in the window between TCP close and socket close. Approved by: re (kib) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-26T16:42:24.446725Z K 7 svn:log V 121 Change the priority from high to normal. This makes sure that the BSD or GPT schemes can take precedence as appropriate. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-26T17:04:08.661704Z K 7 svn:log V 124 MFC: r189446 Allow different ABIs to use different initial control words for the FPU. Approved by: re (Kostik Belousov) END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2009-03-26T17:14:22.842188Z K 7 svn:log V 932 Add stuff to support upcoming BMC/IPMI flashing of newer Dell machine via the Linux tool. - Add Linux shim to ipmi(4) - Create a partitions file to linprocfs to make Linux fdisk see disks. This file is dynamic so we can see disks come and go. - Convert msdosfs to vfat in mtab since Linux uses that for msdosfs. - In the Linux mount path convert vfat passed in to msdosfs so Linux mount works on FreeBSD. Note that tasting works so that if da0 is a msdos file system /compat/linux/bin/mount /dev/da0 /mnt works. - fix a 64it bug for l_off_t. Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to /compat/linux/etc/mtab and then some careful unpacking of the Linux bmc update tool and hacking makes it work on newer Dell boxes. Note, probably if you can't figure out how to do this, then you probably shouldn't be doing it :-) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-26T17:36:19.762674Z K 7 svn:log V 70 Allow the attach routine to fail gracefully and not panic the system. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-26T18:07:13.230582Z K 7 svn:log V 77 Convert gdt_segs and ldt_segs initialization to C99 style. Reviewed by: jhb END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-26T19:04:11.826999Z K 7 svn:log V 57 adjust tdma ie offset when beacon frame contents changes END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-26T19:06:00.208040Z K 7 svn:log V 50 need to adjust htinfo offset when csa is inserted END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-26T19:07:56.537088Z K 7 svn:log V 118 dynamic turbo mode is only implemented in sta mode; don't enable it for other operating modes based on the capability END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-26T19:13:11.104675Z K 7 svn:log V 192 Fix enough bits so that fast frames work again: o include ath ie in beacon frames o fix probe response check for including ath ie o add ieee80211_add_athcap shorthand for ap-side ie additions END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2009-03-26T19:15:31.375574Z K 7 svn:log V 54 Add in forgotten module ipmi_linux. Found by: mlaier END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2009-03-26T20:23:21.559507Z K 7 svn:log V 91 Sigh, not my day. Check-in the update version that didn't have the linux_compat mistakes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-26T21:10:35.907541Z K 7 svn:log V 374 Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe() and into acpi_cpu_startup() which is where all the other code to update this global variable lives. This fixes a bug where cpu_cx_count was not updated correctly if acpi_cpu_generic_cx_probe() returned early. PR: kern/108581 Debugged by: Bruce Cran Reviewed by: avg, njl, sepotvin MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-26T21:29:03.860502Z K 7 svn:log V 162 o move tdma+superg protocol defs out of public view o add #ifdef _KERNEL to superg+tdma include files so they can be used by user code to get the protocol defs END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-26T21:29:38.489249Z K 7 svn:log V 72 add superg+tdma include files for protocol defs needed to do ie parsing END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-26T22:54:19.465970Z K 7 svn:log V 1604 r189615: Remove now-unused INP_UNMAPPABLEOPTS. Discussd with: bz r189637: Avoid use of IPv6 macro aliases to inpcb fields and inp_flags; we don't remove their defintions as some third-party tools may use them (such as net-snmp), unlike in the 8.x change. References to in6p_lport and in6_fport in sockstat are also replaced with normal inp_lport and inp_fport references. Reviewed by: bz r189848: Correct a number of evolved problems with inp_vflag and inp_flags: certain flags that should have been in inp_flags ended up in inp_vflag, meaning that they were inconsistently locked, and in one case, interpreted. Move the following flags from inp_vflag to gaps in the inp_flags space (and clean up the inp_flags constants to make gaps more obvious to future takers): INP_TIMEWAIT INP_SOCKREF INP_ONESBCAST INP_DROPPED Some aspects of this change have no effect on kernel ABI at all, as these are UDP/TCP/IP-internal uses; however, netstat and sockstat detect INP_TIMEWAIT when listing TCP sockets, so any MFC will need to take this into account. MFC after: 1 week (or after dependencies are MFC'd) Reviewed by: bz Note that this change requires netstat, systat, and sockstat to be recompiled in order to properly print TIMEWAIT connection state; this minor API change (documented in UPDATING) is considered worth it in order to fix the above bugs. This change fixes the INP_ONESBCAST bug describted in kern/124282 by disambiguating flag use. Approved by: re (kib) PR: kern/124282 r189637 discussed with: pav END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2009-03-27T03:17:25.312487Z K 7 svn:log V 532 o) Check that no overrun or CRC errors were encountered in receiving a packet. Linux, OpenBSD and our iwn(4) all do this. It also results in a huge performance improvement (and the rejection of a fair number of apparently-bad packets on receive) on my hardware. o) Like the wpi(4) driver in OpenBSD, and like our iwn(4), also drop runt packets. o) Don't bother doing IFQ_POLL and then IFQ_DRV_DEQUEUE, just do IFQ_DRV_DEQUEUE outright. This is more similar to how OpenBSD and our iwn(4) work. Reviewed by: sam END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-27T03:45:42.262517Z K 7 svn:log V 78 MFi386: r190447 Convert gdt_segs and ldt_segs initialization to C99 style. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-27T03:52:08.420716Z K 7 svn:log V 74 Skip the allocation of the root hold token if the mount already happened. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-27T05:35:12.546090Z K 7 svn:log V 206 Sharpen the saw: o Don't create an APM scheme underneath another scheme when the probe doesn't allow it. o APM uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2009-03-27T05:44:53.530520Z K 7 svn:log V 370 Put the "%d retries" debug message in the transmit path behind WPI_DEBUG_TX rather than behind a seemingly accidental constant likely left over from one of the related drivers which uses log levels rather than per-facility debugging flags. This should get rid of contextless messages on the console for people who have not set (or cleared the default) debugging flags. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-27T05:48:42.775854Z K 7 svn:log V 114 Sharpen the saw: o BSD uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. END K 10 svn:author V 3 dds K 8 svn:date V 27 2009-03-27T11:03:02.699785Z K 7 svn:log V 27 Document missing requests. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-27T13:05:29.091232Z K 7 svn:log V 105 MFC r190141: When ktracing namei operations, log a result of the __getcwd(). Approved by: re (kensmith) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-03-27T13:13:59.747611Z K 7 svn:log V 95 Whitespace/spelling fixes in advance of upcoming functional changes. Approved by: bz (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-27T15:19:51.950872Z K 7 svn:log V 122 MFC: Release driver lock at the end of the watchdog routine instead of trying to acquire it again. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-27T15:45:52.572810Z K 7 svn:log V 70 MFC: Improve the description of a few sysctls. Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-27T15:46:02.727855Z K 7 svn:log V 34 Correct typo. Noted by: kensmith END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-27T15:57:52.966965Z K 7 svn:log V 471 MFC r189737: The non-modifying EA VOPs are executed with only shared vnode lock taken. Provide a custom lock around initializing and tearing down EA area, to prevent both memory leaks and double-free of it. Count the number of EA area accessors. Put the new field i_ea_refs to the end of the struct inode to keep structure layout stable on releng branch for the benefit of lsof. MFC r190469: Correct typo. ABI issue pointed out by: kensmith Approved by: re (kensmith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-27T16:56:01.666415Z K 7 svn:log V 165 The buffer start and end phys addresses should be 0x0 for an OHCI zero length packet, this fixes LS/FS devices on the Gateworks 2348 XScale board. Reviewed by: HPS END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2009-03-27T17:00:49.730843Z K 7 svn:log V 333 Revert 190445 change to this file restoring: typedef l_long l_off_t; Change l_mmap_argv's to l_ulong for pgoff. This restores prior behaviour to consumers of l_off_t but allows mmap to mmap a 32bit position which a Linux application requires to access SMBIOS data via /dev/mem. Reviewed by: dchagin Prompted by: rdivacky END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-27T19:08:15.967687Z K 7 svn:log V 93 Harvest a previously unknown Bromax design based on the AX88x90 from the Linux axnet driver. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-27T19:13:36.234254Z K 7 svn:log V 432 Don't strip TTY device name to the last '/'. We've seen this bug in other applications before: we have some applications that use strrchr(tty, '/') on the TTY device name. This isn't valid when using pts(4), because the device name will be stripped to "0" instead of "pts/0". This fixes issues with login(1) ignoring /etc/ttys and missing utmp records. Reported by: Barney Cordoba Reviewed by: rwatson END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-27T19:15:28.432217Z K 7 svn:log V 648 Add bromax axnet based cards to the mix. This was harvested from the linux driver. Not sure who sold it/rebadged it. Add stub entries for Mitsubishi B8895 and Toshiba LANCT00A to the driver with a comment that they don't work /* NG */.[*] These are DP83902A based cards, which should work, but don't seem to. Likely they are from the days before the ne2000 roamed the earth and use a non-standard hookup (see if_ed_isa or if_ed_cbus for some examples). Unless I happen to stumble into the right one, these may never work, but I'm tired of omitting them from commits. [*] The Japanese adopted OK from English, but also use NG for its opposite. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-27T20:40:17.638665Z K 7 svn:log V 28 Sort NECINFORTIA correctly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2009-03-27T21:13:14.157925Z K 7 svn:log V 98 Add explicit test so that non-existence of /usr/games/fortune doesn't affect command exit status. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-27T21:21:22.538220Z K 7 svn:log V 269 MFC: r190319 - Ensure that INTx isn't disabled, as these chips apparently have a quirk requiring it to be enabled even when using MSI. This makes the latter work again after r189568. - Remove a comment which no longer applies since r190335. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-27T21:21:35.944458Z K 7 svn:log V 196 MFC: r190319 - Ensure that INTx isn't disabled, as these chips apparently have a quirk requiring it to be enabled even when using MSI. - Remove a comment which no longer applies since r190336. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-27T21:41:07.875431Z K 7 svn:log V 37 Add Rick Macklem. Approved by: core END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-27T21:47:56.718573Z K 7 svn:log V 167 Add new V* constants, neccessary for granular permission checks in NFSv4 ACLs. While here, get rid of VALLPERM; it wasn't used anyway. Approved by: rwatson (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T04:00:46.493498Z K 7 svn:log V 506 When allocating memory, zero out them if we don't intend to overwrite them all; before freeing memory, zero out them before we release it as free heap. This will eliminate some potential information leak issue. While there, remove the PURIFY option. There is a slight difference between the new behavior and the old -DPURIFY behavior, with the latter initializes memory with 0xff's. The difference between old and new approach does not generate observable difference. Obtained from: OpenBSD (partly). END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-28T04:56:56.609524Z K 7 svn:log V 926 It turns out that the Toshiba LANCT00A PC Card is really like the Toshiba PCETC ISA card, and even has the same board type code in the card ID (0x14). So, for this card, call ed_probe_WD80x3_generic after setting things up apropriately. This makes the card attach and kinda work (I'm seeing panics in sbdrop). Since history has shown that the WD80x3 probe routine is dangerous, only do it for this card. Also, disable the memory range check to make sure it is an valid ISA memory. I think that it is bogus, but I'm not 100% sure, for these cards. I removed probing for the WD80x3 in 2005 when I added support for the AX88x90 and DL100xx cards since none of my cards had ever matched it and PAO3 removed it and none of the cards in their database died. It is possible there are other quirks about this card too, since no other open source OS supports it, or even claims to support it. But it was a fun half hour hack... END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T05:45:29.110408Z K 7 svn:log V 39 Several signed/unsigned warning fixes. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T05:57:27.223313Z K 7 svn:log V 231 db/btree/bt_open.c: check return value of snprintf() and return value if the result is truncated. db/hash/hash_page.c: use the same way to create temporary file as bt_open.c; check snprintf() return value. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:05:53.928524Z K 7 svn:log V 104 Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2). Obtained from: NetBSD via OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:12:39.140263Z K 7 svn:log V 125 Return meaningful errno in overflow case; print error message to stderr in one more case. Obtained from: NetBSD via OpenBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-28T06:22:11.528029Z K 7 svn:log V 255 When reading via memory, read in (amount + 1) / 2 (to properly round up) rather than amount + 1 / 2, which is the same as amount, or 2x too many words which leads to data corruption. # This fixes the sbdrop panics I was seeing with the Toshiba LANCT00A. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:23:10.145541Z K 7 svn:log V 51 Diff reduce against OpenBSD, no functional change. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:25:33.123880Z K 7 svn:log V 170 Only squeeze a short key/value pair onto a page with other complete key/value pairs, not onto a page containing the end of a big pair. Obtained from: NetBSD via OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:30:43.179328Z K 7 svn:log V 90 Fix a crash when iterating over a hash and removing its elements. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:38:31.909692Z K 7 svn:log V 177 - Avoid overwriting the cursor page when the cursor page becomes the LRU page. - Fix for sequential retrieval failure when using large key/data pairs. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:40:48.664608Z K 7 svn:log V 108 Avoid NULL deference which causes DEBUG1 to crash, not to print useful information. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T06:47:05.249472Z K 7 svn:log V 491 - If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would cause an invariant (actually, an ugly hack) to fail, and all Hell would break loose. When deleting a big key, the offset of an empty page should be bsize, not bsize-1; otherwise an insertion into the empty page will cause the new key to be elongated by 1 byte. Make the packing more dense in a couple of cases. - fix NULL dereference exposed on big bsize values; Obtained from: NetBSD via OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T07:09:51.370371Z K 7 svn:log V 288 Simplify the logic when determining whether to zero out a db file to after open(). The previous logic only initializes the database when O_CREAT is set, but as long as we can open and write the database, and the database is empty, we should initialize it anyway. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T07:20:39.154758Z K 7 svn:log V 76 Plug memory leaks and a potential NULL dereference. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T07:26:00.477180Z K 7 svn:log V 71 Allow O_SYNC and O_NOFOLLOW flags in dbopen(). Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T07:31:02.469671Z K 7 svn:log V 286 Minor changes from Berkeley DB 1.86 and further improvements from OpenBSD. This does not include the new hash routines since they will cause problems when reading old hash files. Since mpool(3) has been changed, provide a compatibility shim for older binaries. Obtained from: OpenBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-28T07:39:35.896973Z K 7 svn:log V 1112 o Don't access VPD even if hardware advertised the capability. It seems that some revision of controller hang while accessing the VPD. Because VPD access routine are unused, nuke it. o Let TWSI reload EEPROM if VPD capability is detected. Reloading EEPROM will also set ethernet address so age(4) now reads AGE_PAR0 and AGE_PAR1 register to get ethernet address. This removes a lot of hack and enhance readability a lot. o Double PHY reset timeout as it takes more time to take PHY out of power-saving state. o Explicitly check power-saving state by checking undocumented PHY registers. If link is not up, poke undocumented registers to take PHY out of power-saving state. This is the same way what Linux does. On resume, make sure to wake up PHY. o Don't rely on auto-clearing feature of master reset bit, just wait 1ms and check idle status of MAC. o Add PCI device revision information in bootverbose mode. This should fix occasional controller hang in device attach phase. Reported by: barbara < barbara.xxx1975 at libero DOT it > Tested by: barbara < barbara.xxx1975 at libero DOT it > END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-28T07:44:08.360666Z K 7 svn:log V 61 Add some casts to silence compiler warning about signedness. END K 10 svn:author V 2 mr K 8 svn:date V 27 2009-03-28T08:54:47.520156Z K 7 svn:log V 173 Add support for Phenom (Family 10h) to cpufreq. Its a newer version provided by the author than in the PR. PR: kern/128575 Submitted by: Gen Otsuji annona2 [at] gmail.com END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-28T11:01:06.305241Z K 7 svn:log V 45 - No need to use an extra variable for this. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-28T11:01:44.640836Z K 7 svn:log V 105 - Take into account the pflags as well, because it is used to indicate if the BIO is used for growing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-28T11:29:07.298839Z K 7 svn:log V 20 Update to the HEAD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-28T15:54:08.882447Z K 7 svn:log V 112 Do not dereference NULL pointer. refobj is NULL for the objects that are preloaded. Reported and tested by: ed END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-28T16:12:32.361047Z K 7 svn:log V 281 Enable soreceive_dgram() use by UDP by default in 7.x. This can lead to a significant performance improvement for multi-threaded UDP socket receive, such as found in BIND, memcached, VoIP applications, etc. Requested by: Florian Smeets Approved by: re (kib) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-28T17:20:08.426417Z K 7 svn:log V 2120 Import the gvinum work that have been done during and after Summer of Code 2007. The work have been under testing and fixing since then, and it is mature enough to be put into HEAD for further testing. A lot have changed in this time, and here are the most important: - Gvinum now uses one single workerthread instead of one thread for each volume and each plex. The reason for this is that the previous scheme was very complex, and was the cause of many of the bugs discovered in gvinum. Instead, gvinum now uses one worker thread with an event queue, quite similar to what used in gmirror. - The rebuild/grow/initialize/parity check routines no longer runs in separate threads, but are run as regular I/O requests with special flags. This made it easier to support mounted growing and parity rebuild. - Support for growing striped and raid5-plexes, meaning that one can extend the volumes for these plex types in addition to the concat type. Also works while the volume is mounted. - Implementation of many of the missing commands from the old vinum: attach/detach, start (was partially implemented), stop (was partially implemented), concat, mirror, stripe, raid5 (shortcuts for creating volumes with one plex of these organizations). - The parity check and rebuild no longer goes between userland/kernel, meaning that the gvinum command will not stay and wait forever for the rebuild to finish. You can instead watch the status with the list command. - Many problems with gvinum have been reported since 5.x, and some has been hard to fix due to the complicated architecture. Hopefully, it should be more stable and better handle edge cases that previously made gvinum crash. - Failed drives no longer disappears entirely, but now leave behind a dummy drive that makes sure the original state is not forgotten in case the system is rebooted between drive failures/swaps. - Update manpage to reflect new commands and extend it with some examples. Sponsored by: Google Summer of Code 2007 Mentored by: le Tested by: Rick C. Petty END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-28T17:36:56.331833Z K 7 svn:log V 49 enable setting the mac address of 802.11 devices END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-28T19:09:30.712864Z K 7 svn:log V 415 Add ch_suspend/ch_resume methods for PCI controllers and implement them for AHCI. Refactor AHCI channel initialization according to it. Add minimal checks for PMP registers operations errors. Proper error handling is still required. Add delay after PMP port hardreset, to let it complete. Softreset issued without delay does not completes successfully. This is a temporary hack until I find how to make it right. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-28T19:23:10.510988Z K 7 svn:log V 89 MFC: r190374 As with ZFS use real atomic operations for sparc64. Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-28T19:47:46.599857Z K 7 svn:log V 135 MFC: r190375, r190376 Given that zfs.ko depends on opensolaris.ko also build the latter by default on sparc64. Approved by: re (kib) END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-28T20:59:25.961731Z K 7 svn:log V 213 Update to include Toshiba LANCT00A card being supported, as well as a caution that while the Mitsubishi M8895 has a DP83902, its ASIC is undocumented and doens't work with either the NE2000 or the WD80x3 drivers. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-28T21:06:59.372935Z K 7 svn:log V 52 - Add files that should have been added in r190507. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-28T23:17:18.408413Z K 7 svn:log V 321 For kernel builds reduce the impact of svnversion, just scanning src/sys and not the entire src/ tree. An earlier solution by peter had been comitted in r183528 and backed out in r183566 due to problems with newvers.sh also called from other places during world build. With the extra test this survived a make universe. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-28T23:24:34.176136Z K 7 svn:log V 176 Mark the declaration of bus_space_map 'static' as the implementation is. Follow one of the two most common indent schemes in this file. This unbreaks a few mips kernel builds. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-29T01:00:48.906633Z K 7 svn:log V 467 MFC r187976: Restore timestamps on symlinks Before this fix, pax would stop the restore sequence for symlinks after setting the owner. As a result, mode and timestamp were not restored. This patch corrects the problem by simply removing the short-circuit for symlinks and using lchown()/lchmod()/lutimes() always for restoring metadata. PR: bin/91316 Submitted by: Jaakko Heinonen Reviewed by: Joerg Sonnenberger Approved by: re (Ken Smith) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-29T01:04:13.201199Z K 7 svn:log V 324 Merge r188343 from -CURRENT: Unbreak writing shar archives. When copying file data to the archive, don't write more than was read. This seems to have only affected the shar writer, since other formats proactively truncate output to the originally-advertised size. PR: bin/131244 Approved by: re (Ken Smith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-29T03:30:15.107125Z K 7 svn:log V 427 Add SDT DTrace probes for VFS vnode operations in the vfs:vop provider namespace. These are inserted dynamically into the VOP_..._AP() functions created from vnode_if.src. Each VOP has entry and return probes, as arg0 the primary vnode, arg1 the vnode operation argument structure pointer, providing access to IN and OUT arguments, and for return probes, arg2 the return value. MFC after: 1 month Sponsored by: Google, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-29T07:10:52.006539Z K 7 svn:log V 223 Fixup relative pointers after channel realloc. It fixes crash on systems with several HDA codecs per controller. While I am there, remove some unneeded dereferences. Submitted by: Tor Egge END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-29T08:07:36.913639Z K 7 svn:log V 1183 Merge from head to stable/7: r189771: Implement new way of branding ELF binaries by looking to a ".note.ABI-tag" section. The search order of a brand is changed, now first of all the ".note.ABI-tag" is looked through. Move code which fetch osreldate for ELF binary to check_note() handler. r189919: Use the properly sized types for ELF object header and program headers. This fixes osrel fetching from the FreeBSD branding note for the 64bit platforms (bug introduced by r189771). r190264: Fix several issues with parsing the notes for ELF objects. Badly formed ELF note may cause the caclulated pointer to the next note to point both after the note region, that was checked in the code, but also to point before the region, that was not checked [1]. Remember the first note location in note0 and leap out if the note is not between note0 and note_end. In the similar way, badly formed note may cause infinite loop by pointing next note into the same or previous note. Guard against this by limiting amount of loop iterations by arbitrary choosen big number. For clarity, check the calculated note alignment in each iteration. PR: kern/132886 Approved by: re(Ken Smith) END K 10 svn:author V 2 mr K 8 svn:date V 27 2009-03-29T13:35:20.904687Z K 7 svn:log V 83 Extend comment in copyright notice as requested by author. Submitted by: G.Otsuji END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-29T15:10:49.763436Z K 7 svn:log V 70 Unbreak OF_interpret() and its standard implementation after r186347. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-29T17:42:30.130028Z K 7 svn:log V 115 Merge r185858 from head to stable/7: Remove inconsistent white space from in_pcballoc(). Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-29T17:45:48.696859Z K 7 svn:log V 115 Get rid of VSTAT and replace it with VSTAT_PERMS, which is somewhat better defined. Approved by: rwatson (mentor) END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-03-29T17:55:11.122496Z K 7 svn:log V 83 Query DNS only once per an address family. Obtained from: KAME MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-29T17:59:14.443734Z K 7 svn:log V 375 Eliminate ic_myaddr so changing the mac address of a device works correctly: o remove ic_myaddr from ieee80211com o change ieee80211_ifattach to take the mac address of the physical device and use that to setup the lladdr. o replace all references to ic_myaddr in drivers by IF_LLADDR o related cleanups (e.g. kill dead code) PR: kern/133178 Reviewed by: thompsa, rpaulo END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-29T18:05:04.652596Z K 7 svn:log V 87 fix wired-wireless failover example and remove incorrect comment about WPA not working END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-29T18:14:45.485071Z K 7 svn:log V 55 remove bogus nwid use; that's a compat shim for netbsd END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-29T20:09:51.490341Z K 7 svn:log V 418 Emulate the FIODGNAME ioctl in our 32-bit emulator. It's quite strange that nobody reported this issue before. It turns out functions like ttyname(), ptsname() and fdevname() don't work in compat32. This means it't not even possible to run applications like script(1) inside a 32-bit FreeBSD jail. Fix this by converting 32-bit fiodgname_arg structures to their 64-bit equivalent. Reported by: kris Tested by: kris END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-29T21:00:27.329436Z K 7 svn:log V 57 toggling fast-frames requires clocking the state machine END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-29T21:08:48.408120Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-29T21:17:08.557433Z K 7 svn:log V 215 o add ic_rt to track the rate table for the current channel; this enables calculation of packet transmit times to do things like check txop limits o remove equivalent driver code and convert to use net80211 state END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-03-29T21:25:40.404031Z K 7 svn:log V 431 Replace v_dd vnode pointer with v_cache_dd pointer to struct namecache in directory vnodes. Allow namecache dotdot entry to be created pointing from child vnode to parent vnode if no existing links in opposite direction exist. Use direct link from parent to child for dotdot lookups otherwise. This restores more efficient dotdot caching in NFS filesystems which was lost when vnodes stoppped being type stable. Reviewed by: kib END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-30T00:33:43.309539Z K 7 svn:log V 108 Sharpen the saw: o Don't create a GPT scheme underneath another scheme when the probe doesn't allow it. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-30T00:48:42.716682Z K 7 svn:log V 217 Sharpen the saw: o EBR uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. o Calculate the number of entries based on the rounded media size, rather than the raw media size. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-30T00:53:46.272076Z K 7 svn:log V 114 Sharpen the saw: o MBR uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-30T01:03:58.628974Z K 7 svn:log V 203 Sharpen the saw: o PC98 uses 32-bit block numbers. Limit the scheme to 2^32-1 blocks when the media is larger. The 32-bit block numbers are implicit (16-bit cylinder * 8-bit head * 8-bit sector). END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-30T01:47:32.573013Z K 7 svn:log V 48 Add PHY entry for the ASIX 88x90 internal PHYs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-30T04:42:08.397354Z K 7 svn:log V 54 MFC r190407: Fix typo. Approved by: re (Ken Smith) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-30T05:57:55.201788Z K 7 svn:log V 94 Further rate limit the root wait status, it will be printed once per root_mount_rel() wakeup. END