ƒ³200349 179 178 178 398 251 255 367 441 163 291 207 153 162 154 1547 608 128 139 238 121 254 467 272 147 193 594 594 123 172 254 206 150 205 322 215 373 125 242 203 125 119 211 239 132 181 362 235 362 113 656 276 211 119 123 166 330 164 97 427 339 427 268 147 222 166 418 168 324 224 147 175 248 195 256 358 132 257 676 223 248 151 235 206 191 981 237 255 237 141 157 175 475 146 202 561 208 223 168 208 1760 1124 256 186 227 166 137 159 488 188 141 185 319 328 210 174 123 395 155 269 203 129 263 276 371 243 760 203 418 203 418 765 778 137 612 442 415 179 258 101 268 268 204 301 404 135 177 177 177 177 239 358 147 268 790 143 368 222 168 326 183 309 422 1195 329 182 202 228 487 273 153 153 121 134 121 155 228 193 3648 138 129 K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-10T05:45:40.568345Z K 7 svn:log V 83 MFC rev 200230: Add support for the NetMos NM9865 family of Serial/Parallel ports. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-10T06:24:16.150404Z K 7 svn:log V 83 MFC rev 200230: Add support for the NetMos NM9865 family of Serial/Parallel ports. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-12-10T06:42:28.441455Z K 7 svn:log V 300 Merge two cpio fixes from libarchive.googlecode.com: 1) Avoid an infinite loop in the header resync for certain malformed archives. 2) Don't try to match hardlinks if the nlinks count is < 2. This reduces the likelihood of a false hardlink match due to ino truncation. MFC after: 7 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-10T07:48:47.653802Z K 7 svn:log V 156 for PV XEN translate page table entries from machine (real) to physical (logical) addresses so that kgdb can translate them to the correct coredump offsets END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-10T09:26:56.607079Z K 7 svn:log V 162 Limit maximum I/O size, depending on command set supported by device. It is required to suppot non-LBA48 devices with MAXPHYS above 128K. Same is done in ada(4). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-10T10:34:30.407272Z K 7 svn:log V 272 No functional changes (who dares to touch this code!) but: - cast the result of LEN() to int as this is the main usage. - use LEN() in one place where it was forgotten. - Document the use of a static variable in rw mode. More small changes to follow. MFC after: 7 days END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-10T11:52:16.507817Z K 7 svn:log V 345 MFC r200063 Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded system. Instead of constantly calling the mibII_idle function when the server is not busy call the function only once every 10 seconds to avoid bsnmpd constantly doing gettimeofday syscalls. Make the idle polling interval confugurable via begemotIfDataPoll. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-10T14:41:47.169023Z K 7 svn:log V 71 Record part of history I participated in. No objections from: ed, pho END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-10T14:54:29.042161Z K 7 svn:log V 198 Don't warn about an RSDP with a corrupt checksum. The kernel does a better job about warning about these things later and this message can be confusing. Submitted by: infofarmer MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-10T15:17:34.717471Z K 7 svn:log V 112 centralize the code to free a packet (or a chain) while in dummynet. Remove an old macro and its stale comment. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2009-12-10T16:55:16.299765Z K 7 svn:log V 56 Add module dependency for cam if configured as ATA_CAM. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-10T18:34:07.767013Z K 7 svn:log V 68 when draining a flowset free the entire chain, not just one packet. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-10T18:37:14.185552Z K 7 svn:log V 60 use div64 when converting back the burst value for userland END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-12-10T18:38:40.548434Z K 7 svn:log V 1453 MFC r200124,r200126, r200124: Avoid using additional variable for storing an error if we are not going to do anything with it. r200126: Fix deadlock when ZVOLs are present and we are replacing dead component or calling scrub when pool is in a degraded state. It will try to taste ZVOLs, which will lead to deadlock, as ZVOL will try to acquire the same locks as replace/scrub is holding already. We can't simply skip provider based on their GEOM class, because ZVOL can have providers build on top of it and we need to skip those as well. We do it by asking for ZFS::iszvol attribute. Any ZVOL-based provider will give us positive answer and we have to skip those providers. This way we remove possibility to create ZFS pools on top of ZVOLs, but it is not very useful anyway. I believe deadlock is still possible in some very complex situations like when we have MD provider on top of UFS file on top of ZVOL. When we try to replace dead component in the pool mentioned ZVOL is based on, there might be a deadlock when ZFS will try to taste MD provider. There is no easy way to detect that, but it isn't very common. r200125,r200158: Fix order of looking for providers. Before r200125 the order of looking for providers was wrong. It was: 1. Find provider by name. 2. Find provider by guid. 3. Find provider by name and guid. Where it should have been: 1. Find provider by name and guid. 2. Find provider by guid. 3. Find provider by name. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-10T20:06:37.658748Z K 7 svn:log V 513 In the test for -PP being alone on the command line I forgot the -dash at the beginning of the second test so it was falsely picking up ports with names like p5-Devel-PPPort. If you are building more than one port on the command line, and you use --packages-build and/or --delete-build-only, and one of the ports on the command line would otherwise qualfiy as a build-only dep, it was falsely being treated as such. Solve this problem by adding all ports on the command line to the run_dl_g list in multiport(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-10T21:15:08.122700Z K 7 svn:log V 32 Allow commits to contrib/expat. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-10T21:15:25.343957Z K 7 svn:log V 43 Flattern all tags and dist tree for expat. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2009-12-10T21:16:16.958824Z K 7 svn:log V 142 Add a missing else that negated the truncation of ki_ngroups to NGROUPS. Submitted by: Dmitry Pryanishnikov END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-10T21:18:53.600481Z K 7 svn:log V 25 Bootstrap merge history. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-10T21:23:46.081514Z K 7 svn:log V 157 Correct a DoS issue when processing XML document with malformed UTF-8 sequences. Obtained from: expat CVS (revisions 1.14 and 1.15) Security: CVE-2009-3560 END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-10T22:25:53.435462Z K 7 svn:log V 375 Update termcap entries for xterm. It turns out these entries do make Terminal.app behave a little better. According to Thomas Dickey, Terminal.app should use TERM=nsterm anyway, but we don't support this yet. Already having an improved termcap entry helps, so I am going to MFC this change after all. Suggested by: Leonidas Tsampros MFC after: 1 month END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-10T23:16:50.946477Z K 7 svn:log V 177 In the procedure for using portmaster to re-install after a major version upgrade, list "re-install portmaster" as an actual step. Submitted by: Kevin Oberman END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-10T23:28:54.468790Z K 7 svn:log V 53 Indicate that -v can be used with --check-port-dbdir END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-10T23:46:37.558331Z K 7 svn:log V 100 MFC r197044: Actually component with the greatest priority is used by the prefer balance algorithm. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-10T23:51:24.016405Z K 7 svn:log V 501 MFC r200282, r200290: Change gmirror default balance algorithm from "split" to improved "load". "split" is very ineffective for devices with rotating media as HDDs. To be effective, it needs that transfer time reduction due to block splitting was bigger then access time increase due to non-sequential access. For modern HDDs I was able to reproduce it only with read sizes of 2MB and above, which is almost not applicable in real life. "load" algorithm same time is more universal and effective now. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T00:00:18.588628Z K 7 svn:log V 501 MFC r200282, r200290: Change gmirror default balance algorithm from "split" to improved "load". "split" is very ineffective for devices with rotating media as HDDs. To be effective, it needs that transfer time reduction due to block splitting was bigger then access time increase due to non-sequential access. For modern HDDs I was able to reproduce it only with read sizes of 2MB and above, which is almost not applicable in real life. "load" algorithm same time is more universal and effective now. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T00:38:13.582943Z K 7 svn:log V 31 Add one more set of codec IDs. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-11T00:57:30.140879Z K 7 svn:log V 76 Revert r199331, the UM175 is in fact a cdc-acm device handled by umodem(4). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T01:06:04.232640Z K 7 svn:log V 159 Update to the December 12, 2008 version of this file. The one substantive change is to add the IPv6 address of L. The other changes are all CAPS LOCK related. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:06:30.685828Z K 7 svn:log V 113 MFC r199846: Add two Cirrus Logic codec IDs. Add GPIO setting quirk for Apple MacBookPro5,5. Submitted by: ed END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:11:56.158966Z K 7 svn:log V 58 MFC r196762: Improve HDA controller capabilities logging. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:13:48.350436Z K 7 svn:log V 112 MFC r197017, r197018 Add Intel 82801JD (one more ICH10) HDA controller ID. Add NVidia MCP89 HDA controller IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:15:53.303201Z K 7 svn:log V 229 MFC r197611, r197640: Add some bits of HDMI/DisplayPort support from later specification updates. It may be not enough to make them work, but at least should give some information about these beasts. Add Realtek ALC887 codec ID. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:17:49.071824Z K 7 svn:log V 122 MFC r199258, r199846: Add more codec IDs. Add two Cirrus Logic codec IDs. Add GPIO setting quirk for Apple MacBookPro5,5. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T01:23:58.045923Z K 7 svn:log V 278 MFC r199958: Update to BIND 9.6.1-P2. The vulnerability this is designed to fix is related to DNSSEC validation on a resolving name server that allows access to untrusted users. If your system does not fall into all 3 of these categories you do not need to update immediately. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:25:10.050462Z K 7 svn:log V 33 MFC r188512: Fix spelling a bit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T01:26:09.486795Z K 7 svn:log V 149 MFC r199247: Remove part that HDMI is not implemented. It had different meaning and confuse users. Extend BUGS section. Add some supported chipsets. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-11T01:26:26.497249Z K 7 svn:log V 107 MFC rev 200240: In exception_save, write-back ar.rnat after switching the backing-store. PR: ia64/120315 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T01:38:30.127334Z K 7 svn:log V 31 Vendor import of BIND 9.4.3-P4 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T01:39:28.256716Z K 7 svn:log V 25 Tag the 9.4.3-P4 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T02:00:18.241668Z K 7 svn:log V 116 The mergeinfo on these 3 files has already been committed to contrib/bind9, so remove it from the individual files. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T02:06:06.204562Z K 7 svn:log V 142 Apply a vendor fix (rev 1.165): Don't update next pointer since it could confuse tokenizer. Obtained from: expat CVS Security: CVE-2009-3720 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T02:07:21.111364Z K 7 svn:log V 36 Tag the patched version as 2.0.1_1. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T02:09:46.481617Z K 7 svn:log V 85 Apply two vendor fixes for CVE-2009-3720. Security: CVE-2009-3720 MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T02:23:04.142231Z K 7 svn:log V 267 Update to version 9.4.3-P4. The vulnerability this is designed to fix is related to DNSSEC validation on a resolving name server that allows access to untrusted users. If your system does not fall into all 3 of these categories you do not need to update immediately. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T02:32:53.755111Z K 7 svn:log V 140 Add a big honkin' warning about not using DNSSEC with this version of BIND. Also point out that it's EOL and give suggestions on upgrading. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-11T02:44:15.227478Z K 7 svn:log V 265 Add a quirk for the Curitel UM175 where setting multiplexing for call management over the data endpoint causes communication to die. Take this one step further and model it on the existing NetBSD quirk and import other device IDs from them. Obtained from: NetBSD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-12-11T02:52:14.296901Z K 7 svn:log V 17 Wrap long lines. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-11T03:08:07.414393Z K 7 svn:log V 560 Fix interrupt handling. It started off broken and grew worse over time. The rewrite of the interrupt handler includes: o loop until all pending interrupts are handled. This closes a race condition. o count the number of interrupt sources we handled so that we can properly return FILTER_HANDLED or FILTER_STRAY when we break out of the loop. o When matching the interrupt source to the devices that have that source pending, check only from the set of devices we found to have a pending interrupt. PR: kern/140947 MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T04:14:44.418285Z K 7 svn:log V 181 Update these files to match current reality. BIND 9.6 has diverged sufficiently from 9.4 to warrant slightly different procedures, so stop pretending that they are interchangable. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-11T07:53:44.459096Z K 7 svn:log V 115 Add support for TACACS+ accounting to libtacplus(3). Submitted by: Michael Pounov misho@aitbg.com OKed by: emaste END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-11T07:54:38.346767Z K 7 svn:log V 25 remove now unused branch END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-11T07:54:55.667812Z K 7 svn:log V 29 remove another unused branch END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-11T07:56:37.496921Z K 7 svn:log V 72 create a working area for ipfw+dummynet v3. Base version is head-200401 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-11T10:35:58.472737Z K 7 svn:log V 235 only export bio_cmd and flags to userland (bio_cmd are used by ggatectl, flags are potentially useful). Other parts are internal kernel data structures and should not be visible to userland. No API change involved. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-11T11:07:05.646477Z K 7 svn:log V 72 MFC r200111: Add several syscall compat32 entries for acl manipulation. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-11T11:07:48.866349Z K 7 svn:log V 6 Regen END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-11T12:36:02.817544Z K 7 svn:log V 330 MFC 196739: Add counters for the i7 architecture which were accidentally left out of the original commit of i7 support. These are all the counters on pages A-32 and A-33 of the _Intel(R) 64 and IA32 Architectures Software Developer's Manual Vol 3B_, June 2009. Almost all of these counters relate to operations on the L2 cache. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-11T12:36:59.053324Z K 7 svn:log V 245 Cleanups the boot2 for pc98. There is no functional change. - Make setting machine type and getting geom conditional for future. - Remove unused RAWBOOT and CDBOOT supports. - Remove unneeded include. - Fix warnings. MFC after: 1 week END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-11T12:38:15.871343Z K 7 svn:log V 330 MFC 196739: Add counters for the i7 architecture which were accidentally left out of the original commit of i7 support. These are all the counters on pages A-32 and A-33 of the _Intel(R) 64 and IA32 Architectures Software Developer's Manual Vol 3B_, June 2009. Almost all of these counters relate to operations on the L2 cache. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T12:44:44.822835Z K 7 svn:log V 175 MFC r200353: Limit maximum I/O size, depending on command set supported by device. It is required to suppot non-LBA48 devices with MAXPHYS above 128K. Same is done in ada(4). END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-12-11T12:46:41.401957Z K 7 svn:log V 51 MFC 193809: Fix parsing of Core2 event qualifiers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T12:53:09.443344Z K 7 svn:log V 129 MFC r200180: If we panicked with SIM lock held, do not try to flush caches. Extra lock recursing will not make debugging easier. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-11T13:05:09.398718Z K 7 svn:log V 71 Bump the man page date to the date of the last update. Noticed by: bz END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-11T14:15:55.505479Z K 7 svn:log V 326 Convert pam_lastlog(8) to libulog. The information used by the "Last login:"-line is obtained by using ulog_setutxfile(3) to switch to the lastlog database. Login and logout are performed using the utility functions ulog_login(3) and ulog_logout(3). This also means we must build libulog during bootstrap. Approved by: des END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-11T16:32:59.515002Z K 7 svn:log V 76 CFA support doesn't exclude FLUSH support. Submitted by: Grzegorz Bernacki END K 10 svn:author V 3 bcr K 8 svn:date V 27 2009-12-11T19:36:10.156104Z K 7 svn:log V 231 Reference the correct man page for firmware(9). PR: docs/140985 Submitted by: Glen Barber (glen dot j dot barber at gmail dot com) MFC after: 7 days Reviewed by: rpaulo Approved by: rpaulo, jkois (mentor) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-11T23:03:35.881721Z K 7 svn:log V 129 Simplify handling of MTREEFILE relative to DESTDIR Make the message about a missing MTREEFILE combined with -U more informative END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T23:20:02.107512Z K 7 svn:log V 51 Remove unnecessary includes. Reviewed by: rodrigc END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T23:23:57.288757Z K 7 svn:log V 79 Move unistd.h includes to individual .c files and remove unnecessary includes. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T23:30:22.963864Z K 7 svn:log V 151 Remove unnecessary termcap.h includes inherited from extern.h and other unneeded headers. While I'm there, make function definations ANSI prototypes. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-11T23:35:38.926482Z K 7 svn:log V 99 Remove unneeded header includes from usr.bin/ except contributed code. Tested with: make universe END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-12-11T23:52:42.476025Z K 7 svn:log V 164 The hostname passed to ulog_login(3) may be optional. Don't trip on a null pointer being passed to this function when performing a local login. Noticed by: dougb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-12T00:06:43.899914Z K 7 svn:log V 261 Remove driver lock assertion in MII register access. This change was made in r199543 to remove MTX_RECURSE. These routines can be called in device attach phase(e.g. mii_phy_probe()) so checking assertion here is not right as caller does not hold a driver lock. END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-12-12T00:11:40.552490Z K 7 svn:log V 40 Remove a dead store. MFC after: 5 days END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-12-12T00:24:30.681847Z K 7 svn:log V 164 Fix libusb_open_device_with_vid_pid() to return a NULL if no device is found instead of the last device in its search list. Reviewed by: thompsa MFC after: 5 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-12T02:19:41.932926Z K 7 svn:log V 581 Over time things that used to be files/directories/links can change to something else. So add code to detect when things don't match and give the user choices about how to fix it. If we're using -P and something in the above check needs to be moved we need to have the directory there for it, so create it at the beginning and delete empty versions of it at the end. The case where something used to be a file or link and now is supposed to be a directory (e.g., /etc/security) is especially dangerous, so make failure to install a necessary directory in $DESTDIR a fatal error. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-12-12T02:31:16.014006Z K 7 svn:log V 122 MFC r200083: The first argument of dcbz interprets r0 as a literal zero, not the second. This worked before by accident. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-12-12T02:34:00.244986Z K 7 svn:log V 147 MFC r199888: Add support for interpreting taps on ADB touchpads as a button click. Submitted by: Andreas Tobler END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-12T03:35:49.540159Z K 7 svn:log V 57 checkpoint mostly complety state of ARC / VM integration END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-12T04:34:22.844821Z K 7 svn:log V 139 MFC rev 200045: Include , to get the declarations of ostype and osrelease. Remove the duplicate declarations from this file. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-12T04:50:04.844012Z K 7 svn:log V 111 functions for - synchronizing B_MALLOC buffers with the page cache - eviction of pages from the backing object END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-12T05:14:40.811258Z K 7 svn:log V 96 MFC rev 199893, 199941, 200200 and 200207: o Eliminate MAXCPU. o Revamp the PCPU structure. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-12-12T10:37:31.270036Z K 7 svn:log V 888 MFC r200171, r200182, r200275, r200295, r200359: Introduce ATA_CAM kernel option, turning ata(4) controller drivers into cam(4) interface modules. When enabled, this option deprecates all ata(4) peripheral drivers (ad, acd, ...) and interfaces and allows cam(4) drivers (ada, cd, ...) and interfaces to be natively used instead. As side effect of this, ata(4) mode setting code was completely rewritten to make controller API more strict and permit above change. While doing this, SATA revision was separated from PATA mode. It allows DMA-incapable SATA devices to operate and makes hw.ata.(ata|atapi)_dma tunable work again. Also allow ata(4) controller drivers (except some specific or broken ones) to handle larger data transfers. Previous constraint of 64K was artificial and is not really required by PCI ATA BM specification or hardware. Submitted by: nwitehorn (powerpc part) END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-12-12T12:31:11.099108Z K 7 svn:log V 140 MFC r199186 to stable/8: Fix off by one in ieee80211_send_action_register Found by: phk's FlexeLint in September Reviewed by: rpaulo@ END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-12-12T12:34:20.856483Z K 7 svn:log V 158 MFC r199187 to stable/8: Remove trailing ";" in struct ieee80211_beacon_offsets declaration Found by: phk's FlexeLint in September Reviewed by: rpaulo@ END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-12-12T12:36:41.690746Z K 7 svn:log V 140 MFC r199193 to stable/8: - Remove trailing ";" after if statement - Remove #if 0 section that was never needed/used Reviewed by: raj@ END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-12T13:08:47.649732Z K 7 svn:log V 48 Add setting machine type support to the loader. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-12T13:24:06.799072Z K 7 svn:log V 64 - Disable setting machine type. - Add scrolling screen support. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-12T14:44:04.558069Z K 7 svn:log V 83 MFC r200162: Change VOP_FSYNC for zfs vnode from VOP_PANIC to zfs_freebsd_fsync(). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-12T15:49:28.085202Z K 7 svn:log V 380 Make the code buildable in userland so it is easier to test it: this requires a small reordering of headers and a few #defines to map functions not available in userland. Remove a useless #ifndef block at the beginning of the file. Introduce (temporarily) rn_init2(), see the comment in the code for the proper long term change. No ABI or functional change. MFC after: 7 days END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-12-12T17:04:36.792978Z K 7 svn:log V 50 Install firmware(9) examples. MFC after: 1 month END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-12T18:04:50.630806Z K 7 svn:log V 110 The input line length limit mentioned on the manual page was removed by r179374. Approved by: trasz (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-12-12T18:18:46.291450Z K 7 svn:log V 469 Don't read the newline character to line buffer because lines are passed to wcscoll(3). Newline characters could cause incorrect results when comparing lines. Also, if an input line didn't contain a newline character, it was omitted from the output. According to my interpretation, SUSv3 requires that the newline is always printed. Add regression tests for the cases. [1] PR: bin/140976 Submitted by: D'Arcy Cain (original version) [1] Approved by: trasz (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-12T20:06:25.358014Z K 7 svn:log V 115 MFC r199135: Extract the code that records syscall results in the frame into MD function cpu_set_syscall_retval(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-12T20:11:31.147971Z K 7 svn:log V 130 For ia32 syscall(), call cpu_set_syscall_retval(). Update comment inside cpu_set_syscall_retval() accordingly. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-12T20:24:12.720792Z K 7 svn:log V 73 MFC: r200215 Add missed in r199135 (MFC'ed in r200443). END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2009-12-12T20:26:11.207489Z K 7 svn:log V 112 MFC r200122 Make sure enough memory is allocated for a struct pft_entry when refreshing the list of pf tables. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-12-12T21:31:07.717660Z K 7 svn:log V 1662 In current code, threads performing an interruptible sleep (on both sxlock, via the sx_{s, x}lock_sig() interface, or plain lockmgr), will leave the waiters flag on forcing the owner to do a wakeup even when if the waiter queue is empty. That operation may lead to a deadlock in the case of doing a fake wakeup on the "preferred" (based on the wakeup algorithm) queue while the other queue has real waiters on it, because nobody is going to wakeup the 2nd queue waiters and they will sleep indefinitively. A similar bug, is present, for lockmgr in the case the waiters are sleeping with LK_SLEEPFAIL on. In this case, even if the waiters queue is not empty, the waiters won't progress after being awake but they will just fail, still not taking care of the 2nd queue waiters (as instead the lock owned doing the wakeup would expect). In order to fix this bug in a cheap way (without adding too much locking and complicating too much the semantic) add a sleepqueue interface which does report the actual number of waiters on a specified queue of a waitchannel (sleepq_sleepcnt()) and use it in order to determine if the exclusive waiters (or shared waiters) are actually present on the lockmgr (or sx) before to give them precedence in the wakeup algorithm. This fix alone, however doesn't solve the LK_SLEEPFAIL bug. In order to cope with it, add the tracking of how many exclusive LK_SLEEPFAIL waiters a lockmgr has and if all the waiters on the exclusive waiters queue are LK_SLEEPFAIL just wake both queues. The sleepq_sleepcnt() introduction and ABI breakage require __FreeBSD_version bumping. Reported by: avg, kib, pho Reviewed by: kib Tested by: pho END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-12T21:51:50.577987Z K 7 svn:log V 1028 Since the change to rc.subr in r198162 it's not necessary to specify command in the rc.d script if we have a corresponding ${name}_program entry, which we do for named. Rename named_precmd to named_prestart to make it more clear and match convention. Move the command_args definition related to -u up into _prestart(). It (and the associated $named_uid value) are only used there, and unlike required_* and pidfile don't need to be used until this stage. Fix a silly bug that would only have affected people who were using the new named_wait or named_auto_forward features, AND had set up an rndc.conf file instead of using the automatically generated rndc.key. For named_conf: Add "-c $named_conf" to command_args if it's not set to the default. If it is set to the default and we're using the base BIND it's not necessary. If we're using BIND from the ports the user is likely to have included it in _flags (due to long necessity for doing so) so don't duplicate that if it's set. Add $named_conf to required_files END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-12-12T21:59:30.833095Z K 7 svn:log V 161 Don't free jail parameter values after printing them - jail_param_get expects them to be there for the next jail in the list. PR: bin/141359 MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-12-12T22:08:37.848776Z K 7 svn:log V 94 Document PBDRY and SLEEPQ_STOP_ON_BDRY. Requested and reviewed by: attilio MFC after: 3 days END K 10 svn:author V 7 roberto K 8 svn:date V 27 2009-12-12T22:29:30.311458Z K 7 svn:log V 130 Update ntp vendor code to 4.2.4p8. This is mainly to fix CVE-2009-3563, a remote DOS. MFC after: 3 days Security: CVE-2009-3563 END K 10 svn:author V 7 roberto K 8 svn:date V 27 2009-12-12T22:32:42.476357Z K 7 svn:log V 70 4.2.4p8 is the new version from vendor code. Security: CVE-2009-3563 END K 10 svn:author V 7 roberto K 8 svn:date V 27 2009-12-12T23:08:58.212198Z K 7 svn:log V 41 ntptrace is being phased out completely. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2009-12-12T23:16:47.863390Z K 7 svn:log V 63 Merge r200452 into tagged vendor code (remove empty ntptrace/) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-12T23:41:15.327265Z K 7 svn:log V 393 - create _locked versions of zbio_buf_evict_overlap and zbio_buf_vm_object_insert - minimize hold time of vm page queue lock - mark B_MALLOC buffers B_CACHE if they reflect contents of cached pages - add symbolic defines to clarify intent of calls to _evict_overlap - update io pipeline to bypass io to disk if read from page cache succeeded or getblk successfully obtained all cached pages END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-12T23:47:31.376080Z K 7 svn:log V 94 don't check for buffer cache hit in ARC, this is now handled by zbio_sync_cache in zio_create END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-12T23:52:20.975092Z K 7 svn:log V 47 add comment clarifying call to zbio_sync_cache END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-12T23:57:19.603121Z K 7 svn:log V 91 - remove unused vnode reference - don't try to sync cache if the vdev has no backing vnode END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-13T00:13:21.630441Z K 7 svn:log V 223 Unbreak the ata_atapi() usage. Since r200171 the mode setting functions get a ata_device type device passed instead of a ata_channel one, thus ata_atapi() has to be adjusted accordingly. Reviewed by: mav MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-13T01:20:32.648594Z K 7 svn:log V 232 Add support for memory disk (md). The size of the memory disk is determined by MD_IMAGE_SIZE. A file system can be embedded into the loader with /sys/tools/embed_mfs.sh. Note that md.c is not included when MD_IMAGE_SIZE is not set. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-13T02:00:41.113377Z K 7 svn:log V 115 simplify initial version and reduce ARC churn by assuming that the block address is never available at getblk time END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T03:14:06.324046Z K 7 svn:log V 78 Revert most part of 200420 as requested, as more review and polish is needed. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T03:18:37.933087Z K 7 svn:log V 27 Use prototype for usage(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T03:29:05.856332Z K 7 svn:log V 298 Explicitly say that this is an internal library which is intended to be used within FreeBSD base system only, and discourage user applications from using it. User applications should use the expat version from the ports/package collection. Reviewed by: simon (earlier version) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T03:34:19.445091Z K 7 svn:log V 59 Staticify internal functions and make usage() a prototype. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T03:53:15.447941Z K 7 svn:log V 172 xinstall.c does not require ctype functions, so ctype.h is not necessary here. Note: this would change the md5 checksum due to change caused by different register layout. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T04:08:04.831874Z K 7 svn:log V 106 We use gmt2local code from tcpdump and gnuc.h is no longer being used there, so remove this dummy header. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T04:14:55.692594Z K 7 svn:log V 33 Use ANSI prototype for foldit(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T04:34:51.955518Z K 7 svn:log V 166 egetopt.c does not use any stdlib.h definations, nor it referenced any symbol from other module, so remove reference of stdlib.h and extern.h. Verified with: md5(1) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-13T04:50:11.775216Z K 7 svn:log V 179 - Remove times.h from C programs that does not manipulate with time at all. - Remove pathnames.h from all but io.c since it's the only module that used these definations. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-13T11:06:39.787420Z K 7 svn:log V 279 Add a few more V_hacks to nfsclient to allow machines with a VIMAGE kernel to boot from NFS. [1] Note: this is not a full virtualization of nfsclient. It is only does what advertised above and nothing more. Requested by: public demand [1] Tested by: kris, .. MFC after: 5 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-13T13:40:41.056346Z K 7 svn:log V 149 - Implement the read function into boot1 which called both boot1 and boot2. - Cleanup to reduce code size. - Find the slice number from slice table. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-13T13:57:32.908842Z K 7 svn:log V 668 Throughout the network stack we have a few places of if (jailed(cred)) left. If you are running with a vnet (virtual network stack) those will return true and defer you to classic IP-jails handling and thus things will be "denied" or returned with an error. Work around this problem by introducing another "jailed()" function, jailed_without_vnet(), that also takes vnets into account, and permits the calls, should the jail from the given cred have its own virtual network stack. We cannot change the classic jailed() call to do that, as it is used outside the network stack as well. Discussed with: julian, zec, jamie, rwatson (back in Sept) MFC after: 5 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-12-13T14:55:50.966520Z K 7 svn:log V 106 MFC 198332 Check pointer for NULL before dereferencing it, not after. Originally committed by: brueffer END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-12-13T15:03:54.362846Z K 7 svn:log V 321 MFC r198694,r198697 Some general cleanup of scatter/gather memory allocation - We don't need to check malloc return values with M_WAITOK - remove variables that we don't really need - cleanup the error paths by just calling drm_sg_cleanup() - fix drm_sg_cleanup() to be safe to call at any time END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-12-13T15:08:25.771100Z K 7 svn:log V 106 MFC 198332 Check pointer for NULL before dereferencing it, not after. Originally committed by: brueffer END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-12-13T15:12:40.749903Z K 7 svn:log V 321 MFC r198694,r198697 Some general cleanup of scatter/gather memory allocation - We don't need to check malloc return values with M_WAITOK - remove variables that we don't really need - cleanup the error paths by just calling drm_sg_cleanup() - fix drm_sg_cleanup() to be safe to call at any time END K 10 svn:author V 3 hrs K 8 svn:date V 27 2009-12-13T15:19:01.848559Z K 7 svn:log V 672 - Fix main() to use two separated sockets for the two transports when "-P port" is specified. It invoked svc{tcp,udp}_create() for only one of the two allocated sockets, and prevented the TCP socket from binding to as the result. - Use TI-RPC functions and handle sockets in a transport-independent way. At this moment only AF_INET ("udp" and "tcp") is supported because others need rewrites of ACL handling and yp clients. - Add '-h addr' to specify addresses to bind to. - Convert _msgout() to use variable argument lists and remove asprintf() for error strings. - Remove register storage class specifier. Discussed with: kuriyama MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-13T16:53:06.271976Z K 7 svn:log V 686 MFC r197518: lindev(4) [1] is supposed to be a collection of linux-specific pseudo devices that we also support, just not by default (thus only LINT or module builds by default). While currently there is only "/dev/full" [2], we are planning to see more in the future. We may decide to change the module/dependency logic in the future should the list grow too long. This is not part of linux.ko as also non-linux binaries like kFreeBSD userland or ports can make use of this as well. Suggested by: rwatson [1] (name) Submitted by: ed [2] Discussed with: markm, ed, rwatson, kib (weeks ago) Reviewed by: rwatson, brueffer (prev. version) PR: kern/68961 END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-12-13T17:49:22.688801Z K 7 svn:log V 45 Test scenario for deadlock fixed in r200447. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-13T18:26:19.516089Z K 7 svn:log V 516 Specify the capability and media bits of the capabilities page in native, i.e. big-endian, format and convert as appropriate like we also do with the multibyte fields of the other pages. This fixes the output of acd_describe() to match reality on big-endian machines without breaking it on little-endian ones. While at it, also convert the remaining multibyte fields of the pages read although they are currently unused for consistency and in order to prevent possible similar bugs in the future. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-13T18:42:06.265582Z K 7 svn:log V 346 Properly support M5229 revision 0xc7 and 0xc8: - These revisions no longer have cable detection capability. - The UDMA support bit of register 0x4b has been dropped without an replacement. - According to Linux it's crucial for working ATAPI DMA support to also set the reserved bit 1 of regsiter 0x53 with these revisions. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-13T20:27:46.034203Z K 7 svn:log V 318 Add Mark Heily's libkqueue test suite as a general kqueue test suite to tools/regression. It tests a number of aspects of kqueue behavior, although not all currently pass (possibly bugs in the test suite?). Submitted by: Mark Heily Obtained from: svn://mark.heily.com/libkqueue/trunk/test (r114) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-12-13T20:27:59.539957Z K 7 svn:log V 88 Make admsw(4) compile again fixing typos and adding the missing variable after r199762. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-12-13T20:36:42.911858Z K 7 svn:log V 162 Only set ATA_CHECKS_CABLE for chip versions that actually support cable detection, i.e. neither for ALI_OLD nor for ALI_NEW revisions >= 0xc7. MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-12-13T23:27:08.492957Z K 7 svn:log V 6 MFTOT END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-13T23:56:46.095710Z K 7 svn:log V 173 MFC r200377: Update to the December 12, 2008 version of this file. The one substantive change is to add the IPv6 address of L. The other changes are all CAPS LOCK related. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-13T23:58:04.902764Z K 7 svn:log V 173 MFC r200377: Update to the December 12, 2008 version of this file. The one substantive change is to add the IPv6 address of L. The other changes are all CAPS LOCK related. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-14T00:12:07.535843Z K 7 svn:log V 109 Mergeinfo for these files has already been included in etc/ so forcibly delete it from the files themselves. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T00:15:56.120166Z K 7 svn:log V 204 Merge r197624 from head to stable/8: Add audit events for process descriptor system calls, which will appear in a future OpenBSM release. Sponsored by: Google Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T00:19:31.447581Z K 7 svn:log V 307 Merge r197636 from head to stable/8: Reserve system call numbers for Capsicum security framework capabilities, capability mode, and process descriptors: cap_new, cap_getrights, cap_enter, cap_getmode, pdfork, pdkill, pdgetpid, and pdwait. Obtained from: TrustedBSD Project Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T00:20:48.794073Z K 7 svn:log V 39 Regenerate sysent files after r200491. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-14T01:04:59.785286Z K 7 svn:log V 81 MFC r200392: Apply two vendor fixes for CVE-2009-3720. Security: CVE-2009-3720 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-14T01:05:40.517540Z K 7 svn:log V 81 MFC r200392: Apply two vendor fixes for CVE-2009-3720. Security: CVE-2009-3720 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-14T01:06:21.782097Z K 7 svn:log V 81 MFC r200392: Apply two vendor fixes for CVE-2009-3720. Security: CVE-2009-3720 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-14T01:06:55.053326Z K 7 svn:log V 81 MFC r200392: Apply two vendor fixes for CVE-2009-3720. Security: CVE-2009-3720 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-14T01:10:05.207272Z K 7 svn:log V 143 MFC rev 200202: Fix Read-After-Write (RAW) dependency violation for ar.ccv in isc_atomic_xadd() and isc_atomic_cmpxchg(). Approved by: dougb@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-14T01:26:01.376280Z K 7 svn:log V 262 Work-around a race condition on ia64 while unlocking a contested lock. The race condition is believed to be in UMTX_OP_MUTEX_WAKE. On ia64, we simply go to the kernel to unlock. The big question is why this is only a race condition on ia64... MFC after: 3 days END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-12-14T01:51:23.096444Z K 7 svn:log V 55 Fix one spelling and one copy&paste error in comments. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-14T02:50:04.568193Z K 7 svn:log V 173 MFC r200377: Update to the December 12, 2008 version of this file. The one substantive change is to add the IPv6 address of L. The other changes are all CAPS LOCK related. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-14T03:52:21.554993Z K 7 svn:log V 695 - reduce changes to arc.c to including zfs_bio.h and not recycling buffers whose pages are cacheable - streamline zfs_bio.c interfaces so that it can be a drop in backend for zio buf allocation - prefix original zio_buf functions with '_' so that all callers to the zio_buf function are now routed through the page cache logic if page caching is not disabled - change zbio_ functions to zio_ except where a naming conflict could occur in which case they're renamed to zfs_bio - add zio_cache_validate to zio_done to mark pages as valid on read completion - move conditional logic for call to zio_cache_sync and zio_cache_validate in to inline function to minimize churn in core ZFS code END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-12-14T03:54:47.432098Z K 7 svn:log V 49 eliminate explicit backpressure from VM in arc.c END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-12-14T07:18:31.182203Z K 7 svn:log V 273 Revert the xterm terminal behavior to NOT clear the screen after exiting a pager, vi, etc. Add some example xterm*-clear entries to the termcap files to make it easier for people to enable that behavior. Document the examples in the man page to make them easier to find. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T10:48:19.928241Z K 7 svn:log V 125 Merge r197720 from head to stable/8: Don't comment on stream socket handling in sosend_dgram, since that's not handled. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-12-14T11:08:21.779722Z K 7 svn:log V 75 Initialize machine type by dummy parameter if SET_MACHINE_TYPE is not set. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T11:15:47.450506Z K 7 svn:log V 229 Merge r198393 from head to stable/8: Improve grammar in ip_input comment while attempting to maintain what might be its meaning. (Note, merge of the revision correcting a spelling error in this commit will follow as well!) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T11:45:53.926822Z K 7 svn:log V 87 Merge r198417 from head to stable/8: Remove unneeded blank line from bpf_drvinit(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T11:53:02.298154Z K 7 svn:log V 212 Merge r198438 from head to stable/8: Correct spelling typo in ip_input comment. Pointed out by: N.J. Mann , John Nielsen , julian (!), lstewart END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T12:19:21.183593Z K 7 svn:log V 325 Merge r197808 from head to stable/8: In rtld's map_object(), use pread(..., 0) rather than read() to read the ELF header from the front of the file. As all other I/O on the binary is done using mmap(), this avoids the need for seek privileges on the file descriptor during run-time linking. Sponsored by: Google END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-12-14T12:23:46.865753Z K 7 svn:log V 1099 Properly fix callout handling by putting all the per-cpu info in struct callout_cpu. From the comment in the file: + * There is one struct callout_cpu per cpu, holding all relevant + * state for the callout processing thread on the individual CPU. + * In particular: + * cc_ticks is incremented once per tick in callout_cpu(). + * It tracks the global 'ticks' but in a way that the individual + * threads should not worry about races in the order in which + * hardclock() and hardclock_cpu() run on the various CPUs. + * cc_softclock is advanced in callout_cpu() to point to the + * first entry in cc_callwheel that may need handling. In turn, + * a softclock() is scheduled so it can serve the various entries i + * such that cc_softclock <= i <= cc_ticks . Together with a smaller patch committed in september, this fixes a bug that affects 8.0 with apps that rely on callouts to fire exactly in the number of ticks specified (qemu among them). Right now, callouts in 8.0 fire one tick late. This was discussed in september with JeffR and jhb MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T13:13:43.582245Z K 7 svn:log V 232 Merge r197841 from head to stable/8: Add a new errno, ENOTCAPABLE, to be returned when a process requests an operation on a file descriptor that is not authorized by the descriptor's capability flags. Sponsored by: Google END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T13:16:50.773278Z K 7 svn:log V 86 Merge r199270 from head to stable/8: Fix white space in rtld runtime error printf. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-12-14T13:23:33.540758Z K 7 svn:log V 105 Merge r199798 from head to stable/8: Fix comment typo. Submitted by: Marc Balmer END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-12-14T15:32:32.807896Z K 7 svn:log V 135 Remove comment claiming that building acpi into the kernel is deprecated. PR: docs/141353 Submitted by: Bruce Cran MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-14T16:54:39.122017Z K 7 svn:log V 390 Style improvements: - Sort function prototypes; - Apply static on all function bodies. To quote bde@: > It is a good obfuscation to declare functions as static only in the > prototype, so that you can't see the static for the actual function. > The reverse obfuscation (with static only in the function definition) > would make more sense, but is a constraint error. Reviewed by: bde END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-12-14T17:04:44.645864Z K 7 svn:log V 176 Add an option to specify that the received ZFS should not be automatically mounted (receive -u). Obtained from: OpenSolaris (onnv revision 8584:327a1b6dd944) Approved by: pjd END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-14T17:42:40.490305Z K 7 svn:log V 58 MFC rev 200397: Fix interrupt handling. PR: kern/140947 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-12-14T17:45:16.933732Z K 7 svn:log V 58 MFC rev 200397: Fix interrupt handling. PR: kern/140947 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T17:53:10.100243Z K 7 svn:log V 25 Remove register keyword. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T18:00:08.410861Z K 7 svn:log V 38 Prefer device_printf(9) to printf(9). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T18:19:56.380824Z K 7 svn:log V 25 Fix spelling in comment. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T18:27:34.883857Z K 7 svn:log V 59 Prefer bus_alloc_resource_any(9) to bus_alloc_resource(9). END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-12-14T18:43:18.408436Z K 7 svn:log V 135 Remove the MTX_SPIN flag to the shared code MUTEX as it was causing a panic, also took the opportunity to rename the lock for clarity. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-12-14T18:43:27.090220Z K 7 svn:log V 98 Pass all IEs to net80211. PR: 141376 Submitted by: Paul MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T18:44:23.924479Z K 7 svn:log V 3550 Overhaul bus_dma(9) usage and fix various things. o Separate TX/RX buffer DMA tag from TX/RX descriptor ring DMA tag. o Separate RX buffer DMA tag from common buffer DMA tag. RX DMA tag has different restriction compared to TX DMA tag. o Add 40bit DMA address support. o Adjust TX/RX descriptor ring alignment to 64 bytes from 256 bytes as documented in datasheet. o Added check to ensure TX/RX ring reside within a 4GB boundary. Since TX/RX ring shares the same high address register they should have the same high address. o TX/RX side bus_dmamap_load_mbuf_sg(9) support. o Add lock assertion to vge_setmulti(). o Add RX spare DMA map to recover from DMA map load failure. o Add optimized RX buffer handler, vge_discard_rxbuf which is activated when vge(4) sees bad frames. o Don't blindly update VGE_RXDESC_RESIDUECNT register. Datasheet says the register should be updated only when number of available RX descriptors are multiple of 4. o Use __NO_STRICT_ALIGNMENT instead of defining VGE_FIXUP_RX which is only set for i386 architecture. Previously vge(4) also performed expensive copy operation to align IP header on amd64. This change should give RX performance boost on amd64 architecture. o Don't reinitialize controller if driver is already running. This should reduce number of link state flipping. o Since vge(4) drops a driver lock before passing received frame to upper layer, make sure vge(4) is still running after re-acquiring driver lock. o Add second argument count to vge_rxeof(). The argument will limit number of packets could be processed in RX handler. o Rearrange vge_rxeof() not to allocate RX buffer if received frame was bad packet. o Removed if_printf that prints DMA map failure. This type of message shouldn't be used in fast path of driver. o Reduce number of allowed TX buffer fragments to 6 from 7. A TX descriptor allows 7 fragments of a frame. However the CMZ field of descriptor has just 3bits and the controller wants to see fragment + 1 in the field. So if we have 7 fragments the field value would be 0 which seems to cause unexpected results under certain conditions. This change should fix occasional TX hang observed on vge(4). o Simplify vge_stat_locked() and add number of available TX descriptor check. o vge(4) controllers lack padding short frames. Make sure to fill zero for the padded bytes. This closes unintended information disclosure. o Don't set VGE_TDCTL_JUMBO flag. Datasheet is not clear whether this bit should be set by driver or write-back status bit after transmission. At least vendor's driver does not set this bit so remove it. Without this bit vge(4) still can send jumbo frames. o Don't start driver when vge(4) know there are not enough RX buffers. o Remove volatile keyword in RX descriptor structure. This should be handled by bus_dma(9). o Collapse two 16bits member of TX/RX descriptor into single 32bits member. o Reduce number of RX descriptors to 252 from 256. The VGE_RXDESCNUM is 16bits register but only lower 8bits are valid. So the maximum number of RX descriptors would be 255. However the number of should be multiple of 4 as controller wants to update 4 RX descriptors at a time. This limits the maximum number of RX descriptor to be 252. Tested by: Dewayne Geraghty (dewayne.geraghty <> heuristicsystems dot com dot au) Carey Jones (m.carey.jones <> gmail dot com) Yoshiaki Kasahara (kasahara <> nc dor kyushu-u dot ac dotjp) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T18:49:16.404773Z K 7 svn:log V 42 Use PCIR_BAR instead of hard-coded value. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-12-14T18:50:26.437429Z K 7 svn:log V 33 Fix typo in register definition. END