ƒ³@189372 188 349 507 441 215 310 197 243 180 129 263 292 176 177 281 236 255 172 853 299 115 243 662 127 151 229 745 342 280 448 335 162 162 417 183 234 385 123 216 144 166 486 188 420 286 216 351 884 239 183 396 215 782 319 149 183 237 205 731 598 302 243 244 435 312 247 232 292 185 253 171 136 117 308 274 196 187 110 262 344 184 280 254 194 299 152 121 141 148 195 238 257 666 358 179 235 173 231 242 183 179 311 219 390 163 704 272 253 212 189 312 508 216 272 136 111 257 348 271 166 164 162 130 278 153 698 193 164 507 598 1085 578 1006 94 140 157 282 279 164 163 252 156 175 341 204 187 229 187 256 286 654 168 176 167 184 229 228 240 1140 260 395 266 430 308 146 225 159 115 488 199 172 682 228 916 525 215 387 153 243 287 294 202 224 129 491 130 163 205 306 K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T20:58:22.710832Z K 7 svn:log V 254 Change if_output interface to allow passing cached lle down to L2: 186574, 186577, 186673 186574: - Change if_output interface to allow passing cached lle down to L2 186577: - used cache lle where possible 186673: - fix if_output calls in modules END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-04T21:04:52.322901Z K 7 svn:log V 414 The recent PCI resource allocation fixes exposed a bug where the same BAR could be allocated twice by different children of a vgapci0 device. To fix this, change the vgapci0 device to track references on its associated resources so that they are only allocated once from the parent PCI bus and released when no children are using them. Previously this leaked a small amount of KVA on at least some architectures. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T21:22:39.773193Z K 7 svn:log V 346 Use per-cpu callouts for tcp_timer 186694, 187660 186694: - convert tcp_timer_activate over to using per-cpu callouts - don't acquire the tcbinfo lock exclusively in tcp_timer_rexmt unless needed for tcp_drop 187660: - mp_maxid may not be valid ensure that we re-schedule on cpuid less than or equal to the current one for tcp callouts END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-04T21:38:16.256493Z K 7 svn:log V 122 MFC: Handle an additional layer of nesting for kernel modules to make it easier to compile 8.x kernels with modules on 7. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T21:40:08.311679Z K 7 svn:log V 215 : Add ip_output_fast for handling ip transmit in the common case: 186620, 186624 186620: - Add ip_output_fast for handling ip transmit in the common case 186624: - attempt to further streamline ip_output checks END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-04T22:05:25.536305Z K 7 svn:log V 104 add the desired channel to the scan list if not already present and compatible with other scan controls END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T22:22:30.581657Z K 7 svn:log V 148 add option to make em use a buf_ring 186584 186584: - Bring in if_transmit support for if_em - fix a use after free bug that was fixed in r185621 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-05T00:04:32.729787Z K 7 svn:log V 84 Now pci(4) handles PCIM_CMD_INTxDIS so there is no need to poke this bit in driver. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-05T00:15:43.479293Z K 7 svn:log V 37 add a sysctl to ena/dis frobbing cca END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T00:31:48.961679Z K 7 svn:log V 165 Merge r341,r345,r346,347 from libarchive.googlecode.com: Style fixes to test harness and a few extra guards to detect tests that can't succeed on certain platforms. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T00:35:21.918658Z K 7 svn:log V 194 Merge r344 from libarchive.googlecode.com: __LA_INT64_T and __LA_SSIZE_T are part of the public API and therefore need to be exposed. This is ugly; I'd like to find a better solution for this. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T00:36:13.680428Z K 7 svn:log V 79 Merge r342 from libarchive.googlecode.com: Remove some Windows special casing. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T00:41:02.654518Z K 7 svn:log V 80 Merge r362 from libarchive.googlecode.com: Minor fix to custom argument parser. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T00:42:50.891955Z K 7 svn:log V 183 Merge r357 from libarchive.googlecode.com: bzip2 compression support can always be enabled even if bzlib doesn't exist on this platform; don't give up until we fail to open the file. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T00:44:12.000705Z K 7 svn:log V 138 Merge r356 and r358 from libarchive.googlecode.com: Remove a Windows special case from archive_entry.c, add one to archive_check_magic.c. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-05T00:57:01.368918Z K 7 svn:log V 158 Our realloc(3) and reallocf(3) can handle NULL, which turns it into a malloc(3) call, so don't test if a pointer is NULL. Obtained from: OpenBSD (in spirit) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T01:59:49.747512Z K 7 svn:log V 75 Correct r189383, which mis-merged a change from libarchive.googlecode.com. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T02:19:42.551928Z K 7 svn:log V 755 Merge r364, r378, r379, r393, and r539 from libarchive.googlecode.com: This is the last phase of the "big decompression refactor" that puts a lazy reblocking layer between each pair of read filters. I've also changed the terminology for this area---the two kinds of objects are now called "read filters" and "read filter bidders"---and moved ownership of these objects to the archive_read core. This greatly simplifies implementing new read filters, which can now use peek/consume I/O semantics both for bidding (arbitrary look-ahead!) and for reading streams (look-ahead simplifies handling concatenated streams, for instance). The first merge here is the overhaul proper; the remainder are small fixes to correct errors in the initial implementation. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T02:37:05.956892Z K 7 svn:log V 201 Merge r551,r561 from libarchive.googlecode.com: Update gzip read filter to fully take advantage of the new peek/consume I/O support. In particular, this now properly handles concatenated gzip streams. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-05T03:18:22.873805Z K 7 svn:log V 19 MFH r187693-189347 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T06:26:08.400190Z K 7 svn:log V 145 Argh. r189389 was supposed to include r539 from libarchive.googlecode.com but those compile fixes somehow got lost. This should fix the build. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-05T07:42:47.401768Z K 7 svn:log V 567 Merge a couple of changes from HEAD, plus fix a potential warning. In detail: + we used SYSCTL_LONG to show a 64-bit variable. For the time being just remove the variable from the list of sysctl-exported values. Unfortunately our SYSCTL macros do not do proper type checking of the arguments so we might have some more bugs of this kind across the codebase; + fw_debug has not been used for ages, so remove it; + gcc 4.2.4 tells me that src_ip.s_addr may be not initialized, so make sure it is. I need to check what is the status of this field in head. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-05T08:01:19.686987Z K 7 svn:log V 33 mark a function static, as it is END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-05T08:01:58.747596Z K 7 svn:log V 57 remove some signed/unsigned and one const/!const warning END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-05T08:08:09.279373Z K 7 svn:log V 134 move a variable declaration to the beginning of the block (unfortunately, it is far away; we need to pack this code in a better way). END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-03-05T08:57:35.895131Z K 7 svn:log V 648 Add a -o mountprog parameter to mount which explicitly allows an alternative program to be used for mounting a file system. Ideally, all file systems should be converted to pass string arguments to nmount(), so that /sbin/mount can handle them. However, certain file systems such as FUSE have not done this, and want to have their own userland mount programs. For example, to mount an NTFS file system with the FUSE NTFS driver: mount -t ntfs -o mountprog=/usr/local/bin/ntfs-3g /dev/acd0 /mnt or via an fstab entry: /dev/acd0 /mnt ntfs ro,noauto,mountprog=/usr/local/bin/ntfs-3g 0 0 PR: 120784 Requested by: Dominic Fandrey END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-05T11:45:42.995270Z K 7 svn:log V 249 Systematically use vm_size_t to specify the size of the segment for VM KPI. Do not overload the local variable size in kern_shmat() due to vm_size_t change. Fix style bug by adding explicit comparision with 0. Discussed with: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-05T12:04:42.380508Z K 7 svn:log V 187 Hopefully, improve the grammar and wording in the changes to shmctl(2) manpage and UPDATING entry 20090302. UPDATING changes suggested by bf2006a yahoo com. man page corrections by bde. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T15:28:46.612374Z K 7 svn:log V 355 Honor the prefetchable flag in memory BARs by setting the RF_PREFETCHABLE flag when calling bus_alloc_resource() to allocate resources from a parent PCI bridge. For PCI-PCI bridges this asks the bridge to satisfy the request using the prefetchable memory range rather than the normal memory range. Reviewed by: imp Reported by: scottl MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T15:33:04.031871Z K 7 svn:log V 242 Always read/write the full 64-bit value of 64-bit BARs. Specifically, when determining the size of a BAR by writing all 1's to the BAR and reading back the result, always operate on the full 64-bit size. Reviewed by: imp MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T15:46:41.692732Z K 7 svn:log V 70 MFC: Don't throw away the upper 32-bits of the HT MSI address window. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T15:50:39.925412Z K 7 svn:log V 70 MFC: Don't throw away the upper 32-bits of the HT MSI address window. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T16:03:44.355432Z K 7 svn:log V 324 At least one BIOS bogusly includes duplicate entries for I/O APICs. The bogus entries have a starting IRQ that is invalid (> 255, so won't fit into a PCI intline config register). It had the side effect of breaking MSI by "claiming" several IRQs in the MSI range. Fix this by ignoring such I/O APICs. MFC after: 2 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-05T16:15:07.595706Z K 7 svn:log V 87 Add support for the UNION interface descriptor, used by Nokia phones. PR: usb/117185 END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-05T16:22:32.743938Z K 7 svn:log V 139 SAs are valid (but dying) when they reached soft lifetime, even if they have never been used. Approved by: gnn(mentor) MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T16:43:33.438136Z K 7 svn:log V 292 Add support for the single-port NetMos NM9835 serial adapter. The puc(4) entry is a specific entry to override the generic NetMos entry so that puc(4) will leave this device alone and let uart(4) claim it. Submitted by: Navdeep Parhar nparhar @ gmail Reviewed by: marcel MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-05T16:46:17.670888Z K 7 svn:log V 31 temporarily disable preemption END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-05T16:48:23.235636Z K 7 svn:log V 123 merge r189377: add the desired channel to the scan list if not already present and compatible with other scan controls END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-05T16:49:13.689144Z K 7 svn:log V 52 merge r189380: add a sysctl to ena/dis frobbing cca END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T16:52:50.755607Z K 7 svn:log V 74 Move the PCB flag macros up next to the 'pcb_flags' member in the struct. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T16:56:16.147891Z K 7 svn:log V 393 A few cleanups to the FPU code on amd64: - fpudna() always returned 1 since amd64 CPUs always have FPUs. Change the function to return void and adjust the calling code in trap() to assume the return 1 case is the only case. - Remove fpu_cleanstate_ready as it is always true when it is tested. Also, only initialize fpu_cleanstate when fpuinit() is called on the BSP. Reviewed by: bde END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-03-05T17:54:28.574328Z K 7 svn:log V 95 MFC r183057 Add missing prototypes for uuid_enc,dec_le,be() functions. Pointy hat goes to me. END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-03-05T18:03:46.118724Z K 7 svn:log V 326 MFC r187938 Add btpand(8) daemon from NetBSD. This daemon provides support for Bluetooth Network Access Point (NAP), Group Ad-hoc Network (GN) and Personal Area Network User (PANU) profiles. MFC r188013 Fix client mode. Pick up service availability changes. MFC r188014 Hook up btpand(8) to the build Obtained from: NetBSD END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-05T18:11:26.879536Z K 7 svn:log V 193 Make pmap_copy() more TLB friendly. Specifically, make it use the kernel's direct map instead of the pmap's recursive mapping to access the lowest level in the page table. MFC after: 6 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-03-05T18:27:16.567110Z K 7 svn:log V 119 libc_r_* library is no more required, so just axe it. Approved by: marcel, emaste Sponsored by: Sandvine Incorporated END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T18:30:50.354387Z K 7 svn:log V 253 Merge r386,r395,r451 from libarchive.googlecode.com: On Windows, break into the debugger on test setup failures (otherwise, the console window just goes away and you can't see what went wrong). On all platforms, clean up a stray buffer before exiting. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T18:32:43.216726Z K 7 svn:log V 791 Some cleanups to the i386 FPU support: - Remove the control word parameter to npxinit(). It was always set to __INITIAL_NPXCW__. - Remove npx_cleanstate_ready as the cleanstate is always initalized when it is used. - Improve the handling of the case when the FPU isn't present. Now the npx0 device no longer succeeds in its probe so all of npx_attach() is skipped. Also, we allow this case with SMP (though that shouldn't actually occur as all i386 systems that support SMP have FPUs) now. SMP was only an issue back when we had an FPU emulator which was not per-CPU. - MFamd64: Clear some of the state in npx_cleanstate rather than leaving it as garbage. - MFamd64: When a user thread first uses the FPU, use npx_cleanstate for the initial FPU state. Reviewed by: bde END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T18:38:36.909342Z K 7 svn:log V 141 Merge r389 from libarchive.googlecode.com: Fix a memory leak in ISO9660 handler structure whenever a file entry has a nonsensical CE offset. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T18:43:54.243233Z K 7 svn:log V 91 Remove unused arg from npxinit(). Forgot to commit this file in the last i386 FPU change. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T19:10:17.659481Z K 7 svn:log V 303 Allow syscons to work on amd64 and i386 without any hints: - Enable keyboard autodetection by default for ISA syscons attachments. - If there are no syscons hints at all, assume there is a single sc0 device anyway. The console probe will still fail unless a VGA adapter is found. MFC after: 2 weeks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-05T19:20:17.550234Z K 7 svn:log V 118 Fix usb2_poll not to return an error number as the function return value is a bitmask of events. Pointed out by: HPS END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-05T19:42:11.167403Z K 7 svn:log V 689 A better fix for handling different FPU initial control words for different ABIs: - Store the FPU initial control word in the pcb for each thread. - When first using the FPU, load the initial control word after restoring the clean state if it is not the standard control word. - Provide a correct control word for Linux/i386 binaries under FreeBSD/amd64. - Adjust the control word returned for fpugetregs()/npxgetregs() when a thread hasn't used the FPU yet to reflect the real initial control word for the current ABI. - The Linux/i386 ABI for FreeBSD/i386 now properly sets the right control word instead of trashing whatever the current state of the FPU is. Reviewed by: bde END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-05T21:18:10.152853Z K 7 svn:log V 221 Merge r390,r391,r392,r397 from libarchive.googlecode.com: Virtualize "close" and "finish" across both read and write interfaces. (Someday, "finish" should be renamed to "free" to better reflect what it actually does...) END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-03-06T01:27:51.131430Z K 7 svn:log V 56 MFC r188132 Allow unprivileged users to run l2ping(8). END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-03-06T01:34:30.632893Z K 7 svn:log V 90 MFC r188130 Clenup code a bit and do not call fork(2) before dameon(3) where not needed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T04:21:23.133670Z K 7 svn:log V 139 Merge r394,r396 from libarchive.googlecode.com: Plug some memory leaks in the ACL test, correctly mark that FreeBSD has acl_get_perm_np(). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T04:22:34.468988Z K 7 svn:log V 107 Merge r398 from libarchive.googlecode.com: Check that bidder object was allocated before we try to use it. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T04:35:31.257930Z K 7 svn:log V 633 Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590 from libarchive.googlecode.com: Add a new "archive_read_disk" API that provides the important service of reading metadata from the disk. In particular, this will make it possible to remove all knowledge of extended attributes, ACLs, etc, from clients such as bsdtar and bsdcpio. Closely related, this API also provides pluggable uid->uname and gid->gname lookup and caching services similar to the uname->uid and gname->gid services provided by archive_write_disk. Remember this is also required for correct ACL management. Documentation is still pending... END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T04:50:39.335918Z K 7 svn:log V 500 Merge r407,r508 from libarchive.googlecode.com: Correctly handle Zip entries that are zero length but stored with deflate. This is arguably a silly thing to do (deflating a zero-length file actually makes it bigger) but apparently quite a few Zip writers do this. This was broken in two places: archive_write_disk disliked being asked to write data to zero-length files (even if the write was zero-length) and zip_read_file_header tripped over itself when non-regular files had compressed bodies. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T04:55:51.867708Z K 7 svn:log V 204 Merge r416 from libarchive.googlecode.com: Restoring POSIX.1e Extended Attributes on FreeBSD, part 1 This implements the basic ability to restore extended attributes on FreeBSD, including a test suite. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:04:15.743414Z K 7 svn:log V 145 Merge r435,r443 from libarchive.googlecode.com: Read config files from include path; this makes it easier to support multiple build frameworks. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:07:03.075395Z K 7 svn:log V 146 Merge r420,r494 from libarchive.googlecode.com: Prettify the test harness a bit: remove a dead comment, tweak the wording of the summary report. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:13:12.456820Z K 7 svn:log V 337 Merge r457 from libarchive.googlecode.com: Stop appending strerror() information to error strings. This caused a lot of unnecessary duplication in error messages; in particular, there are a few cases where error messages get copied from one archive object to another and this would cause the strerror() info to get appended each time. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:14:55.350542Z K 7 svn:log V 214 Merge r505 from libarchive.googlecode.com: Fix %ju support. Simplify the code here a bit by making the int formatting functions static to archive_string_sprintf.c, which is the only place this has ever been used. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:38:53.356464Z K 7 svn:log V 149 Merge r403,702,721 from libarchive.googlecode.com: Handle odd pathnames on Windows by mapping '\\' to '/' and converting illegal characters to '_'. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:40:09.394828Z K 7 svn:log V 134 Merge r448 from libarchive.googlecode.com: Suppress testing write_disk failures on Windows for now. Someday this will be revisited. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T05:58:56.313800Z K 7 svn:log V 194 Merge r491,493,500,507,510,530,543 from libarchive.googlecode.com: This implements the new generic options framework that provides a way to override format- and compression-specific parameters. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T06:13:25.594186Z K 7 svn:log V 88 Merge r541,r542 from libarchive.googlecode.com: Two sign mismatches in the Zip reader. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-06T06:14:44.033375Z K 7 svn:log V 155 Merge r668 from libarchive.googlecode.com: Style correction to the 'ar' reader: Don't redefine 'isdigit' and don't create a macro that's only used once. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-06T10:44:11.098532Z K 7 svn:log V 79 Deadlock test scenario involving two UFS2 file systems using a 64k block size. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-06T10:45:14.011848Z K 7 svn:log V 44 Added now missing sys/param.h include file. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-03-06T10:45:57.548132Z K 7 svn:log V 25 Fixed type: Missing '#'. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-03-06T11:03:52.517672Z K 7 svn:log V 215 Fixes for window probes: 1) WP should never be marked unless flight size is 0 2) When recovering from wp if the peer ack's it we don't mark for retran 3) When recovering, we must assure a timer is still running. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-06T11:10:31.022988Z K 7 svn:log V 180 MFi386: part of 189421 - If there are no syscons hints at all, assume there is a single sc0 device anyway. The console probe will still fail unless a VGA adapter is found. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-06T11:15:24.218982Z K 7 svn:log V 102 MFi386: 189423 A better fix for handling different FPU initial control words for different ABIs. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-06T11:24:42.326468Z K 7 svn:log V 91 Invert the logic error for the MSI/MSIX vs INTx case. Pointyhat to: me MFC after: 3 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-03-06T13:24:54.604094Z K 7 svn:log V 18 Too good to pass. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2009-03-06T14:53:51.600947Z K 7 svn:log V 167 Add a couple of more things to the FTDI driver I came across: . Dresden Elektronik "Wireless Handheld Terminal" . Atmel STK541 "Zigbee Controller" MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-06T15:35:37.365128Z K 7 svn:log V 251 Extract the no_poll() and vop_nopoll() code into the common routine poll_no_poll(). Return a poll_no_poll() result from devfs_poll_f() when filedescriptor does not reference the live cdev, instead of ENXIO. Noted and tested by: hps MFC after: 1 week END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-03-06T16:47:50.359932Z K 7 svn:log V 92 Finish implementing the balloon driver and update it to be closer to current Linux sources. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-06T17:04:47.969906Z K 7 svn:log V 183 Ensure the cached rq pointer is still valid before waking up the address, the zyd_cmd function may have timed out. It wouldnt cause a panic but could wakeup someone. Spotted by: HPS END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-06T17:13:12.554876Z K 7 svn:log V 157 MFp4 //depot/projects/usb@158692 Workaround a EHCI performance problem by issuing a doorbell after queueing a bulk xfer. Submitted by: Hans Petter Selasky END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-06T17:40:58.016199Z K 7 svn:log V 101 If the PDE is known, then use the direct mapping instead of the recursive mapping to access the PTE. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-06T20:17:16.133917Z K 7 svn:log V 205 - Try to handle rcsfile write failures in the same way as cvsup, as they are not necessarily fatal. If the file was incorrectly written, the checksum will detect it and the file will be retransferred. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-06T20:40:09.652259Z K 7 svn:log V 60 o simplify code in ixppcib_conf_setup o fixup debug printfs END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-06T23:22:09.648170Z K 7 svn:log V 29 fix legacy usb configuration END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-06T23:22:23.714582Z K 7 svn:log V 47 create branch for backporting networking stack END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-06T23:26:50.050989Z K 7 svn:log V 56 legacy USB is required on these platforms at the moment END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-06T23:27:47.094986Z K 7 svn:log V 102 enable tdma support by default; many people using these boards are using them to setup tdma p2p links END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-06T23:29:00.605931Z K 7 svn:log V 145 remove unneeded static mappings for NPE and MAC regions; these are already mapped through the IO region so never used Reviewed by: imp, thompsa END K 10 svn:author V 4 emax K 8 svn:date V 27 2009-03-06T23:30:07.430081Z K 7 svn:log V 163 Add Bluetooth compatibility shims. Inspired by Linux BlueZ and NetBSD. Discussed with: Iain Hibbert plunky -at- rya-online -dot- net of NetBSD MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-06T23:32:45.864031Z K 7 svn:log V 573 Cleanup virtual device mapping some more: o improves understandability by replacing numerous relative address calculations with fixed addresses; everything should now match up more easily with the vm layout shown at the top of the file o move the expansion bus chip select regions to be contiguous with the expansion bus configuration area; this is not exploited right now but allows map consolidation in the future o leave a gap between the expansion bus regions and the pci config space in case we want to map more exp bus cs regions Reviewed by: imp, thompsa END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T00:25:33.300010Z K 7 svn:log V 260 Merge r659 from libarchive.googlecode.com: Correctly report "none" as the compression name when no other read filter bid. Add some assertions to various tests to verify that read filters are properly setting the textual name as well as the compression code. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T00:36:50.579129Z K 7 svn:log V 82 Merge r283,r529 from libarchive.googlecode.com: Fix ext2_fs.h includes for Linux. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T00:52:02.153810Z K 7 svn:log V 137 Merge r552,r559 from libarchive.googlecode.com: Support high-resolution timestamps on Tru64, AIX, and GNU Hurd. Thanks to Björn Jacke. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T01:08:16.403894Z K 7 svn:log V 76 Minor whitespace adjustment to reduce diffs with libarchive.googlecode.com. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T01:12:01.432469Z K 7 svn:log V 133 Merge the rest of r453 from libarchive.googlecode.com: Test using libarchive APIs to read extended attributes from disk on FreeBSD. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T01:17:13.328917Z K 7 svn:log V 144 Merge r564,r566 from libarchive.googlecode.com: Fix segfault when specifying an option and the current format doesn't have an options handler. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-07T01:18:21.418037Z K 7 svn:log V 89 multiq step 1: - atomic_barriers: add atomic barriers to atomic.h on all architectures END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T01:18:30.882913Z K 7 svn:log V 82 Merge r608 from libarchive.googlecode.com: Clear a newly-allocated bidder object. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T01:21:46.068006Z K 7 svn:log V 213 Merge r714,r715 from libarchive.googlecode.com: Fix Debian bug #516577. Don't crash if client does not provide a skip function. Extend one of the test cases to use archive_read_open2() with only a read callback. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T02:09:21.661511Z K 7 svn:log V 121 Merge r658 from libarchive.googlecode.com: Only flush and close the file if it was actually opened. Test for this case. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T02:24:32.667352Z K 7 svn:log V 292 Merge r558,567,569,571,581,582,583,598 from libarchive.googlecode.com: Support Joliet extensions. This currently ignores Rockridge extensions if both exist on the same disk unless the '!joliet' option is provided. e.g.: tar -xvf example.iso --options '!joliet' Thanks to: Andreas Henriksson END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T02:29:43.202199Z K 7 svn:log V 66 Merge r591 from libarchive.googlecode.com: signed/unsigned fixes. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T02:47:04.363240Z K 7 svn:log V 606 Merge r550,584,587,609,647,674 from libarchive.googlecode.com: Refactor the read_compression_program to add two new abilities: * Public API: You can now include a signature string when you register a program; the program will run only on input that matches the signature string. * Internal API: You can use the init() function to instantiate an external program as part of a filter pipeline. This can be used for graceful fallback (if zlib is unavailable, use external gzip instead) and to use external programs with bidders that are more sophisticated than a static signature check. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T02:51:18.877195Z K 7 svn:log V 174 Merge r585,r669 from libarchive.googlecode.com: If zlib is unavailable, use external "gunzip" instead. With this in place, we can unconditionally enable gzip read support. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T02:58:15.292843Z K 7 svn:log V 155 Merge r511,r513,r607 from libarchive.googlecode.com: Mtree reader tweaks: Support nanosecond timestamps, handle attributes broken across multiple lines. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T03:00:44.887178Z K 7 svn:log V 114 Merge r723 from libarchive.googlecode.com: Don't try to restore owner or SUID bits on Windows; just ignore them. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T03:04:06.023103Z K 7 svn:log V 92 Merge r540 from libarchive.googlecode.com: Interix doesn't have inttypes.h either. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T03:16:16.245619Z K 7 svn:log V 214 Merge r280,281,496,595,675,712 from libarchive.googlecode.com: Various test improvements, including some work on Windows compatibility and an extra check to verify that no test leaves open file descriptors around. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T03:30:35.348288Z K 7 svn:log V 410 Merge r335,653,676 from libarchive.googlecode.com: Instead of conditioning tests on HAVE_ZLIB, etc, just ask libarchive for the service and handle the failure coming back from libarchive. This gives us better test coverage of common client usage where clients simply try to use libarchive services and handle the errors coming back instead of trying to second-guess which libarchive services are compiled in. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T03:34:34.656046Z K 7 svn:log V 118 Merge r596,r690 from libarchive.googlecode.com: Minor style and compile warning fixes for test_read_pax_truncated.c. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T03:41:29.048530Z K 7 svn:log V 174 Merge r348 from libarchive.googlecode.com: Suppress testing invalid conversions if there aren't any. In particular, Cygwin's "C" locale has no invalid inputs for wctomb(). END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-07T05:39:55.699475Z K 7 svn:log V 42 Backport HEAD network stack as of r189450 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T07:19:25.141545Z K 7 svn:log V 14 Fix spelling. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-07T07:23:04.463337Z K 7 svn:log V 159 Merge r718 from libarchive.googlecode.com: Some additional tests of restoring files to disk with unusual characters, specifically to exercise Windows issues. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2009-03-07T07:26:22.634426Z K 7 svn:log V 251 o port NDIS USB support from USB1 to the new usb(USB2). o implement URB_FUNCTION_ABORT_PIPE handling. o remove unused code related with canceling the timer list for USB drivers. o whitespace cleanup and style(9) Obtained from: hps's original patch END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-07T10:21:37.113120Z K 7 svn:log V 174 Clarify some comments, fix some types, and rename ZBUF_FLAG_IMMUTABLE to ZBUF_FLAG_ASSIGNED to make it clear why the buffer can't be written to: it is assigned to userspace. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-07T17:07:29.321598Z K 7 svn:log V 73 Mark the bpf stats sysctl as being mpsafe. We do not require Giant here. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-07T18:08:59.132005Z K 7 svn:log V 68 Fix some missed htole32 conversions to htoehci32. Reviewed by: hps END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-07T18:20:21.424285Z K 7 svn:log V 67 A branch for the implementation of 802.11s wireless mesh protocol. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-07T18:57:03.718982Z K 7 svn:log V 35 Add code to support IE processing. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-07T19:08:58.671650Z K 7 svn:log V 182 On architectures with strict alignment requirements compensate the misalignment of the IP header that prepending the EtherIP header might have caused. PR: 131921 MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-07T19:13:59.686153Z K 7 svn:log V 58 Sync with the latest Linux numbers from wireless-testing. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-07T19:49:47.329584Z K 7 svn:log V 601 (re)merge r186415,186416 from the old usb stack; o add Transaction Translator support (still missing ISOC xfers) o add EHCI_SCFLG_BIGEMMIO flag to force big-endian byte-select to be set in USBMODE o split reset work into new public routine ehci_reset so bus shim drivers can force big-endian byte-select before ehci_init o enable TT and big-endian MMIO o force a reset before ehci_init to get byte-select setup Also go back to using USB_EHCI_BIG_ENDIAN_DESC at compile time to enable the byteswapping and reduce diffs to the original commits. This fixes the new USB stack on the Cambria board. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-07T19:54:30.529461Z K 7 svn:log V 97 Reenable ndis in the LINT build now that it has been updated for USB. Thanks to HPS and Weongyo. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-03-07T20:39:42.388567Z K 7 svn:log V 64 MFC r188860,188879,188923,188951: Altivec support for PowerPC. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-07T21:36:57.265967Z K 7 svn:log V 410 Import support for ATI Radeon R600 and R700 series chips. Tested on an HD3850 (RV670) on loan from Warren Block. Currently, you need one of the following for this to be useful: x11-drivers/xf86-video-radeonhd-devel (not tested) xf86-video-ati from git (EXA works, xv is too fast) xf86-video-radeonhd from git (EXA works, xv works) There is no 3d support available from dri just yet. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-07T22:05:58.879264Z K 7 svn:log V 502 Revert the part of change 107879 that employs the unused bytes after the disklabel in the 2nd sector for boot code. Even with both UFS1 and UFS2 supported, there's enough bytes left that we don't have to nibble from the disklabel. Thus, the entire 2nd sector is now reserved for the disklabel, which makes the bootcode compatible again with disklabels that have more than 8 partitions -- such as those created and supported by gpart. i386: 135 bytes available amd64: 151 bytes available Ok'd by: jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-07T22:17:44.816840Z K 7 svn:log V 988 When resetting a BPF descriptor, properly check that zero-copy buffers are not currently owned by userspace before clearing or rotating them. Otherwise we may not play by the rules of the shared memory protocol, potentially corrupting packet data or causing userspace applications that are playing by the rules to spin due to being notified that a buffer is complete but the shared memory header not reflecting that. This behavior was seen with pflogd by a number of reporters; note that this fix is not sufficient to get pflogd properly working with zero-copy BPF, due to pflogd opening the BPF device before forking, leading to the shared memory buffer not being propery inherited in the privilege-separated child. We're still deciding how to fix that problem. This change exposes buffer-model specific strategy information in reset_d(), which will be fixed at a later date once we've decided how best to improve the BPF buffer abstraction. Reviewed by: csjp Reported by: keramida END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-08T00:11:26.494854Z K 7 svn:log V 483 MFC rev.188571 Clarify and reimplement the bioq API so that bioq_disksort() has the correct behaviour (sorting by distance from the current head position in the scan direction) and bioq_insert_head() and bioq_insert_tail() have a well defined (and useful) behaviour, especially when intermixed with calls to bioq_disksort(). See the original commit log for more details. NO API/ABI changes (except from fixing bugs and defining unspecified behaviour that no code should rely on). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T00:50:37.656648Z K 7 svn:log V 909 Add static DTrace probes for MAC Framework access control checks and privilege grants so that dtrace can be more easily used to monitor the security decisions being generated by the MAC Framework following policy invocation. Successful access control checks will be reported by: mac_framework:kernel::mac_check_ok Failed access control checks will be reported by: mac_framework:kernel::mac_check_err Successful privilege grants will be reported by: mac_framework:kernel:priv_grant:mac_grant_ok Failed privilege grants will be reported by: mac_framework:kernel:priv_grant:mac_grant_err In all cases, the return value (always 0 for _ok, otherwise an errno for _err) will be reported via arg0 on the probe, and subsequent arguments will hold entrypoint-specific data, in a style similar to privilege tracing. Obtained from: TrustedBSD Project Sponsored by: Google, Inc. END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-08T03:10:37.249437Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-08T03:14:08.689135Z K 7 svn:log V 49 Add the jbuild system makefiles. These are a WIP END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-08T03:15:36.437277Z K 7 svn:log V 66 Add a heap of Buildfiles. jbuild uses these instead of Makefiles. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T04:20:19.893124Z K 7 svn:log V 184 Merge a bunch of changes through r722 from libarchive.googlecode.com: mtree writer now supports a variety of checksum keys; it also provides option hooks to set what keys get written. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T04:32:38.004067Z K 7 svn:log V 181 Set version to 2.6.901a to indicate this now matches libarchive.googlecode.com r745. (Except for the lzma/xz support, which needs a little more attention before it can be merged.) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2009-03-08T05:01:39.579266Z K 7 svn:log V 68 Small comment nit: "run time" -> "run-time". Submitted by: rwatson END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:10:51.136027Z K 7 svn:log V 66 Merge r273 from libarchive.googlecode.com: Use open() correctly. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:14:16.288195Z K 7 svn:log V 154 Merge r278 from libarchive.googlecode.com: Reduce the number of patterns tested here from 200 to 170, which seems to be the most that Cygwin can handle. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:17:58.999582Z K 7 svn:log V 59 Merge r369 from libarchive.googlecode.com: Test -s option. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:19:36.463653Z K 7 svn:log V 78 Merge r374 from libarchive.googlecode.com: Stupid typo in open() call. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:22:50.930939Z K 7 svn:log V 243 Merge r283,r423 from libarchive.googlecode.com: Use libarchive's new archive_read_disk API to pull metadata off of disk. This removes a lot of platform-specific knowledge of things like ACLs, file flags, and extended attributes from bsdtar. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:24:37.474684Z K 7 svn:log V 106 Merge r435,r443 from libarchive.googlecode.com: Let the compiler options determine how to read config.h. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:28:52.772408Z K 7 svn:log V 90 Merge r529 from libarchive.googlecode.com: Fix how we read ext2fs_fs.h headers on Linux. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:34:20.811995Z K 7 svn:log V 131 Merge r552,r559 from libarchive.googlecode.com: High-resolution time support on Tru64, AIX, and GNU Hurd, thanks to Björn Jacke. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:35:59.197455Z K 7 svn:log V 90 Merge r622 from libarchive.googlecode.com: Avoid warning on platforms that lack regex.h. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:38:45.692210Z K 7 svn:log V 158 Merge r368,496,625,626 from libarchive.googlecode.com: A number of style and portability tweaks to the test harness. Most significantly, don't use getopt(). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T05:47:21.942951Z K 7 svn:log V 188 Merger r629-631,633-646,648,654,678,681,682 from libarchive.googlecode.com: Many changes for Windows compatibility. bsdtar_test now runs successfully on both POSIX platforms and Windows. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T06:03:15.022743Z K 7 svn:log V 556 Merge r687-689,691,693-701,720 from libarchive.googlecode.com: Translate getdate.y into C for portability. Make the get_date() function easier to test as well: * Have it accept a time_t "now" to use as a reference so that test code can verify relative time specifications against known starting points. * Set up default date after parsing the string so that we can use the specified timezone (if any) instead of the local default. Otherwise, local DST makes it almost impossible to reliably test time specifications such as "sunday UTC" END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-08T06:03:28.977424Z K 7 svn:log V 72 Fix endian conversion from htole16 to htole32. Tested with: ARM xscale END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T06:07:35.749230Z K 7 svn:log V 79 Merge r709,r710 from libarchive.googlecode.com: More work on Windows support. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T06:09:20.939847Z K 7 svn:log V 70 Match a comment to reduce differences with libarchive.googlecode.com. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-08T06:14:33.921439Z K 7 svn:log V 92 Don't declare bin_search() as an inline function, since there's no inline definition of it. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T06:19:28.351021Z K 7 svn:log V 131 Merge r492 from libarchive.googlecode.com: First cut at exposing the new options mechanism to userland. Documentation pending... END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-08T06:20:35.220433Z K 7 svn:log V 130 Update version to 2.6.901a to indicate this is synced up with r745 of libarchive.googlecode.com (except for the lzma/xz support). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-08T06:56:13.851266Z K 7 svn:log V 143 Move m_getcl() into its own function. This also fixes a bug where the m_adj for ETHER_ALIGN was having no effect since m_len had not been set. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T10:58:37.973676Z K 7 svn:log V 1042 Improve the consistency of MAC Framework and MAC policy entry point naming by renaming certain "proc" entry points to "cred" entry points, reflecting their manipulation of credentials. For some entry points, the process was passed into the framework but not into policies; in these cases, stop passing in the process since we don't need it. mac_proc_check_setaudit -> mac_cred_check_setaudit mac_proc_check_setaudit_addr -> mac_cred_check_setaudit_addr mac_proc_check_setauid -> mac_cred_check_setauid mac_proc_check_setegid -> mac_cred_check_setegid mac_proc_check_seteuid -> mac_cred_check_seteuid mac_proc_check_setgid -> mac_cred_check_setgid mac_proc_check_setgroups -> mac_cred_ceck_setgroups mac_proc_check_setregid -> mac_cred_check_setregid mac_proc_check_setresgid -> mac_cred_check_setresgid mac_proc_check_setresuid -> mac_cred_check_setresuid mac_proc_check_setreuid -> mac_cred_check_setreuid mac_proc_check_setuid -> mac_cred_check_setuid Obtained from: TrustedBSD Project Sponsored by: Google, Inc. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-08T11:12:23.531858Z K 7 svn:log V 163 MFC r189232, r189313: Fix range-check error introduced in r182292. Panic in case the ncpus == 0. it helps to catch bugs in the callers. Approved by: kib (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T11:20:54.502146Z K 7 svn:log V 298 Merge missed routing lock fix r186061 from head to stable/7: Dont leak the rnh lock on error. Original change was from thompsa. This may correct routing-related panics seen by uses of ppp, including the following PRs: PR: 132215, 132222, 132404 Reported by: Ethan END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T12:22:00.225628Z K 7 svn:log V 169 Rename 'ucred' argument to mac_socket_check_bind() to 'cred' to match other use of the same variable type. Obtained from: TrustedBSD Project Sponsored by: Google, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T12:32:06.203160Z K 7 svn:log V 333 Remove 'uio' argument from MAC Framework and MAC policy entry points for extended attribute get/set; in the case of get an uninitialized user buffer was passed before the EA was retrieved, making it of relatively little use; the latter was simply unused by any policies. Obtained from: TrustedBSD Project Sponsored by: Google, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-08T14:28:40.475759Z K 7 svn:log V 215 Document several notifications, among them are DEVFS, update to ifneti, coretemp and kern. The asmc(4) and zfs(5) are still not documented. Based on the patch by Roland Smith . MFC after: 1 week END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-08T16:16:55.856254Z K 7 svn:log V 55 Port to jbuild. We don't use the default name, y.tab.h END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-03-08T16:19:29.814301Z K 7 svn:log V 124 Fix a mismerge from head that I somehow missed last night. This caused builds with KDB enabled to fail. Pointy hat to: me END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-03-08T16:29:59.565325Z K 7 svn:log V 68 Apply the jbuild patches to support Buildfiles in the kernel config END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-03-08T18:02:30.740533Z K 7 svn:log V 21 o Spell. Sort .Xrs. END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-03-08T19:05:53.793326Z K 7 svn:log V 392 Add a default implementation for VOP_VPTOCNP(9) which scans the parent directory of a vnode to find a dirent with a matching file number. The name from that dirent is then used to provide the component name. Note: if the initial vnode argument is not a directory itself, then the default VOP_VPTOCNP(9) implementation still returns ENOENT. Reviewed by: kib Approved by: kib Tested by: pho END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-03-08T19:06:26.321589Z K 7 svn:log V 103 Add a prototype for the new vop_stdvptocnp function. Reviewed by: kib Approved by: kib Tested by: pho END K 10 svn:author V 6 marcus K 8 svn:date V 27 2009-03-08T19:07:44.110145Z K 7 svn:log V 77 Document the new default implementation of VOP_VPTOCNP(9). Approved by: kib END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-08T19:09:55.589013Z K 7 svn:log V 590 Don't disable CR-to-NL translation when waiting for data to arrive. A difference between the old and the new TTY layer is that the new implementation does not perform any post-processing before returning data back to userspace when calling read(). sh(1)'s read turns the TTY into a raw mode before calling select(). This means that the first character will not receive any ICRNL processing. Inherit this flag from the original terminal attributes. Even though this issue is not present on RELENG_*, I'm MFCing it to make sh(1) in jails behave better. PR: bin/129566 MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T21:06:02.006662Z K 7 svn:log V 131 In UNIX domain socket GC regression test, after setting a socket non-blocking, EINPROGRESS is an acceptable result from connect(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T21:48:29.926826Z K 7 svn:log V 819 Decompose the global UNIX domain sockets rwlock into two different locks: a global list/counter/generation counter protected by a new mutex unp_list_lock, and a global linkage rwlock, unp_global_rwlock, which protects the connections between UNIX domain sockets. This eliminates conditional lock acquisition that was previously a property of the global lock being held over sonewconn() leading to a call to uipc_attach(), which also required the global lock, but couldn't rely on it as other paths existed to uipc_attach() that didn't hold it: now uipc_attach() uses only the list lock, which follows the linkage lock in the lock order. It may also reduce contention on the global lock for some workloads. Add global UNIX domain socket locks to hard-coded witness lock order. MFC after: 1 week Discussed with: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-08T22:19:28.964609Z K 7 svn:log V 428 By default, don't compile in counters of calls to various time query functions in the kernel, as these effectively serialize parallel calls to the gettimeofday(2) system call, as well as other kernel services that use timestamps. Use the NetBSD version of the fix (kern_tc.c:1.32 by ad@) as they have picked up our timecounter code and also ran into the same problem. Reported by: kris Obtained from: NetBSD MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-08T22:55:17.334967Z K 7 svn:log V 118 MFp4 //depot/projects/usb@158869 Fix sael init code. Reported by: Alberto Mijares Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-08T22:58:19.442957Z K 7 svn:log V 290 MFp4 //depot/projects/usb@158868 Fix bugs and improve HID parsing. - fix possible memory leak found - fix possible NULL pointer access - fix possible invalid memory read - parsing improvements - reset item data position when a new report ID is detected. Submitted by: Hans Petter Selasky END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-08T23:45:56.172510Z K 7 svn:log V 61 o mark unexpected callbacks more clearly o unwrap some lines END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2009-03-09T02:34:02.155440Z K 7 svn:log V 146 Don't reference non-existent __fcntl_compat if WITHOUT_SYSCALL_COMPAT is defined. Submitted by: Pawel Worach "pawel dot worach at gmail dot com" END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-09T02:37:52.232934Z K 7 svn:log V 194 Fix TXPMGT handling: o correct dBm<->mW conversion logic o set net80211 TXPMGT capability only if driver reports it is capable PR: kern/132342 Submitted by: "Paul B. Mahol" END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-09T03:35:25.667483Z K 7 svn:log V 201 Change pmap_enter_quick_locked() so that it uses the kernel's direct map instead of the pmap's recursive mapping to access the lowest level of the page table when it maps a user-space virtual address. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-09T05:41:04.347808Z K 7 svn:log V 105 A system with plenty of memory would not require so much swap for generic usage. Discussed with: dillon END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2009-03-09T05:54:43.209446Z K 7 svn:log V 127 Don't ignore other fcntl functions, directly call __sys_fcntl if WITHOUT_SYSCALL_COMPAT is not defined. Reviewed by: deischen END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-03-09T06:02:05.136645Z K 7 svn:log V 32 Merge r188705:188939 from head. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-09T06:02:55.229144Z K 7 svn:log V 394 Add a new tunable hw.re.prefer_iomap which disables memory register mapping. The tunable is OFF for all controllers except RTL8169SC family. RTL8169SC seems to require more magic to use memory register mapping. r187483 added a fix for RTL8169SCe controller but it does not looke like fix other variants of RTL8169SC. Tested by: Gavin Stone-Tolcher g.stone-tolcher <> its dot uq dot edu dot au END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2009-03-09T06:14:27.304481Z K 7 svn:log V 33 Merge r188939:r189554 from head. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-09T07:24:32.961955Z K 7 svn:log V 67 Call the right function for the right chipset. MFC after: 10 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-09T07:33:35.380709Z K 7 svn:log V 108 -Make the PCI(E)/AGP calculations consistent -Calculate the scratch address correctly MFC after: 10 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-09T07:38:22.388096Z K 7 svn:log V 209 Fix the flags to bus_dmamem_* to allow the allocation to sleep while waiting for resources. It is really the load that we can't defer. BUS_DMA_NOCACHE belongs on bus_dmamap_load() as well. MFC after: 3 days END