Ħ248167 165 402 129 113 122 535 191 271 305 237 217 148 171 562 225 178 216 629 364 359 299 287 232 192 99 99 132 329 325 189 169 187 219 271 409 152 246 194 215 99 120 342 343 162 247 212 393 147 229 230 256 258 97 122 222 217 214 187 99 158 767 288 99 121 166 418 138 212 151 151 365 337 125 300 240 259 223 223 253 247 463 107 1519 733 175 170 348 184 165 242 914 120 132 205 1634 99 120 194 2418 166 299 306 270 183 448 446 194 136 111 132 314 201 108 280 1087 409 322 148 721 110 120 600 105 128 235 359 6765 786 136 223 111 472 190 224 340 166 444 361 208 316 114 264 269 268 268 542 260 215 123 214 198 322 148 498 170 275 309 167 168 286 161 625 358 206 228 1067 K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-11T16:33:05.226222Z K 7 svn:log V 309 Fix the 'C' field for a running thread to match the behavior described in the manpage by having it display the current CPU (ki_oncpu) rather than the previously used CPU (ki_lastcpu). ki_lastcpu is still used for all other thread states. Reported by: Chris Ross MFC after: 1 week END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-03-11T17:21:21.171086Z K 7 svn:log V 36 Disconnect files removed in r248151 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-11T17:21:52.192416Z K 7 svn:log V 21 Updated dependencies END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-11T17:29:09.595538Z K 7 svn:log V 30 Add "else" missed at r248154. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-03-11T17:36:37.126045Z K 7 svn:log V 441 Convert the offset into the bar that contains the MSI-X table to an offset into the MSI-X table before using it to calculate the table index. In the common case where the MSI-X table is located at the begining of the BAR these two offsets are identical and thus the code was working by accident. This change will fix the case where the MSI-X table is located in the middle or at the end of the BAR that contains it. Obtained from: NetApp END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-03-11T17:43:55.795406Z K 7 svn:log V 96 Return an error if sctp_peeloff() fails because a socket can't be allocated. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-03-11T18:01:55.949142Z K 7 svn:log V 175 Don't use SCTP checksum offloading for SCTP/IPv6. At least the loopback interface in stable/8 doesn't support it. Please note that this is a direct commit! Approved by: re@ END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-03-11T20:01:38.516280Z K 7 svn:log V 208 When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute time, not a relative time. Rework futex_wait to handle this. On the side fix the futex leak in error case and remove useless parentheses. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-03-11T22:17:39.172792Z K 7 svn:log V 142 Add support for Optoelectronics USB barcode readers to uftdi(4). Add entries for other Optoelectronics devices to usbdevs. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-11T22:59:07.219299Z K 7 svn:log V 124 Fix memory leak when one process send descriptor over UNIX domain socket, but the other process exited before receiving it. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-11T23:04:52.459031Z K 7 svn:log V 53 Update this to compile with the libradarpkt changes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-11T23:05:32.596510Z K 7 svn:log V 76 Add a simple (!) but dirty hack to parse out the EVM data from the RX path. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-12T02:12:47.896565Z K 7 svn:log V 469 When a superpage promotion occurs, the page table page that the superpage mapping replaces is added to an ordered collection of page table pages. Rather than preserving the code that implements the splay tree of pages in the pmap for just this one purpose, use the new MI radix tree. The extra overhead of using a radix tree for this purpose is small enough, about 4% added run-time to pmap_promote_pde(), that I don't see the point of preserving the splay tree code. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-03-12T02:20:20.927833Z K 7 svn:log V 133 Take the inpcb rlock before calculating checksum, it was accidentally moved in r191672. Obtained from: Yandex LLC MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-12T02:54:49.264252Z K 7 svn:log V 83 Shift this over to a new location in contrib/, in preparation to push this public. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-12T03:03:24.610187Z K 7 svn:log V 120 Use the correct antenna configuration variable here. "diversity" just controls whether it's on or off. Found by: clang END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-12T03:48:05.463109Z K 7 svn:log V 536 MFamd64 When a superpage promotion occurs, the page table page that the superpage mapping replaces is added to an ordered collection of page table pages. Rather than preserving the code that implements the splay tree of pages in the pmap for just this one purpose, use the new MI radix tree. The extra overhead of using a radix tree for this purpose is small enough, about 4% added run-time to pmap_promote_pde(), that I don't see the point of preserving the splay tree code. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-12T04:37:04.441574Z K 7 svn:log V 268 Remove two members of portmgr that have recently stepped down. Thank you for your time on portmgr. Remove one member from bugmeister that has stepped down recently. Thank you for your time on bugmeister. While here clean up the graph a bit (remove dead cvs repos) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-03-12T06:14:31.804282Z K 7 svn:log V 266 When transferring the page from one object to another, don't insert the page into its new object until the page's pindex has been updated. Otherwise, one code path within vm_radix_insert() may use the wrong pindex value. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-12T06:58:49.077060Z K 7 svn:log V 206 Make kern_nanosleep() and pause_sbt() to use per-CPU sleep queues. This removes significant sleep queue lock congestion on multithreaded microbenchmarks, making them scale to multiple CPUs almost linearly. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T08:45:42.699228Z K 7 svn:log V 190 More Lenovo headphones redirection quirks: Lenovo T430, Lenovo T430S. Submitted by: Sergey Nasonov , T430 Submitted by: Johannes Dieterich , T430S END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T08:59:51.139619Z K 7 svn:log V 135 Finish r243882: mechanically substitute flags from historic mbuf allocator with malloc(9) flags within sys. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T10:05:36.036794Z K 7 svn:log V 96 Use m_get2() to get an mbuf of appropriate size. Reviewed by: marius Sponsored by: Nginx, Inc. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T12:02:06.745071Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T12:07:45.284394Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T12:10:32.180565Z K 7 svn:log V 36 Revert brainfart. Reported by: alc END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T12:12:16.498831Z K 7 svn:log V 232 The m_extadd() can fail due to memory allocation failure, thus: - Make it return int, not void. - Add wait parameter. - Update MEXTADD() macro appropriately, defaults to M_NOWAIT, as before this change. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T12:15:24.369239Z K 7 svn:log V 228 In kern_sendfile() use m_extadd() instead of MEXTADD() macro, supplying appropriate wait argument and checking return value. Before this change m_extadd() could fail, and kern_sendfile() ignored that. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T12:17:19.126026Z K 7 svn:log V 93 Use m_get(), m_gethdr() and m_getcl() instead of historic macros. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T12:19:23.042516Z K 7 svn:log V 73 Use m_get2() to get mbuf of appropriate size. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T12:20:49.633430Z K 7 svn:log V 91 Simplify vm_page_is_valid(). Sponsored by: EMC / Isilon storage division Reviewed by: alc END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T12:23:47.579891Z K 7 svn:log V 122 - Use m_get2() instead of nfsm_reqhead(). - Use m_get(), m_getcl() instead of historic macros. Sponsored by: Nginx, Inc. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-03-12T12:33:50.996369Z K 7 svn:log V 175 Modify the mmu_map_hold_va() to indicate if it had to allocate backing pages. 'const'ify memrchr() to reflect its level of access to datatypes. Approved by: gibbs (implicit) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-12T12:35:02.279898Z K 7 svn:log V 316 Remove fortunes-o from the base system. Debating what does or does not belong in this file is not a useful exercise or conducive to producing a high quality advanced operating system. While here, simplify the make rules to autocompute BLDS and FILES from a single DB variable. Approved by: core MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-12T13:03:31.514085Z K 7 svn:log V 57 Update Ruslan's last name per request. Submitted by: rm END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-03-12T13:10:51.449688Z K 7 svn:log V 150 Add two functions to free and to find existing PV entries. Do not use the DMAP va for pc allocation - it is read-only. Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-03-12T13:13:00.961861Z K 7 svn:log V 99 Add a function to set a descriptor entry within a descriptor table. Approved by: gibbs (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-03-12T13:17:24.739670Z K 7 svn:log V 119 Implement DMAP using 4K pages. This is a temporary shim until we figure out superpages. Approved by: gibbs (implicit) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T13:26:12.457252Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T13:29:24.363097Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-12T13:42:47.314960Z K 7 svn:log V 245 Functions m_getm2() and m_get2() have different order of arguments, and that can drive someone crazy. While m_get2() is young and not documented yet, change its order of arguments to match m_getm2(). Sorry for churn, but better now than later. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T13:46:30.266494Z K 7 svn:log V 246 The per-page act_count is almost always protected already by the page-lock, hence mark it formally as so, adjusting the only 2 places that leave it uncovered, but where the lock was still held nearby. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-03-12T14:21:52.545055Z K 7 svn:log V 67 Remove netncp cscope entry missed in r248097 Reviewed by: attilio END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-12T14:30:36.273315Z K 7 svn:log V 150 Bump __FreeBSD_version after r248084, breaking VM KPI to introduce read/write lockers. Sponsored by: EMC / Isilon storage division Requested by: flo END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-12T17:21:03.703384Z K 7 svn:log V 119 Apply DEP_DIRDEPS_FILTER.${DEP_MACHINE} as needed. Use DEP_DIRDEPS_FILTER.host to supress dependencies for host tools. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-12T17:23:23.627651Z K 7 svn:log V 300 If .MAKE.DEPENDFILE_DEFAULT is not machine qualified, and we find oursleves creating a machine qualified .MAKE.DEPENDFILE which is identical to a default which exists - skip it. This allows us to create Makefile.depend.host where it matters, while leveraging Makefile.depend where it is sufficient. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-12T18:57:12.188724Z K 7 svn:log V 51 Identify as 8.4-PRERELEASE. Approved by: re (kib) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-03-12T19:18:10.303501Z K 7 svn:log V 134 Revert r246917, as it is causing incorrect behaviour as reported on freebsd-current. PR: bin/175213 Approved by: emaste (co-mentor) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-03-12T19:28:41.850868Z K 7 svn:log V 135 MFC r248214: Revert r246917, as it is causing incorrect behaviour as reported on freebsd-current. Approved by: emaste (co-mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-12T21:42:55.386082Z K 7 svn:log V 164 Update vendor-sys/illumos/dist to illumos-gate 13979:b01a4832cdf9 Illumos ZFS issues: 3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-12T21:46:29.046967Z K 7 svn:log V 166 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13980:d7059eb1884c Illumos ZFS issues: 3598 want to dtrace when errors are generated in zfs END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-03-12T22:18:31.156382Z K 7 svn:log V 4 MFH END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-12T23:07:34.963797Z K 7 svn:log V 27 Welcome Bryan to the team. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-03-12T23:14:18.832135Z K 7 svn:log V 126 Remove pav from portmgr whom had also stepped down a few months ago. Thank you for your years of service. Reported by: rene END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T00:41:37.106591Z K 7 svn:log V 120 For uniformity, use the user provided index. Sponsored by: EMC / Isilon storage division Reviewed and reported by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T01:00:34.289069Z K 7 svn:log V 117 Add a further safety belt to prevent inconsistencies. Sponsored by: EMC / Isilon storage division Submitted by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T01:02:11.424373Z K 7 svn:log V 91 Use the _KERNEL protectors. Sponsored by: EMC / Isilon storage division Requested by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T01:05:42.399004Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T01:38:32.915794Z K 7 svn:log V 62 Fix compilation. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-03-13T01:40:01.389493Z K 7 svn:log V 670 r241438 broke IPMI access on Sun Fire X2200 M2(BCM5715). Fix the IPMI regression by sending BGE_FW_DRV_STATE_UNLOAD to ASF/IPMI firmware in driver attach phase. Sending heartheat to ASF/IPMI is enabled only after upping interface so setting driver state to BGE_FW_DRV_STATE_START in attach phase broke IPMI access. While I'm here, add NVRAM arbitration lock before performing controller reset. ASF/IPMI firmware may be able to access the NVRAM while controller reset is in progress. Without the arbitration lock before resetting the controller, ASF/IPMI may not initialize properly. Special thanks to Miroslav Lachman who provided full remote debugging environments. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-03-13T02:11:45.634835Z K 7 svn:log V 191 Disable TX IP header checksum offloading on RL_HWREV_8168CP. The controller generates wrong checksummed frame if the IP packet has IP options. Submitted by: Alexander Bluhm via brad@openbsd END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T03:25:04.307011Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T03:27:32.624406Z K 7 svn:log V 25 Merge from vmcontention. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-13T06:42:01.660611Z K 7 svn:log V 74 Fix incorrect assertion that caused panic when periodic-only timers used. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-03-13T09:41:55.146310Z K 7 svn:log V 325 Unlike OpenBSD's, our setusercontext() will intentionally ignore the user's own umask setting (from ~/.login.conf) unless running with the user's UID. Therefore, we need to call it again with LOGIN_SETUMASK after changing UID. PR: bin/176740 Submitted by: John Marshall MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-13T09:54:11.249005Z K 7 svn:log V 46 MFC r233463 (by trasz): Remove unused define. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-13T10:01:05.987426Z K 7 svn:log V 119 MFC r247388: Work around the hold of references to the struct dquot by the freeblk workitems for some time at unmount. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-13T10:04:47.694540Z K 7 svn:log V 59 MFC r247389: Make recursive getblk() slightly more useful. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-03-13T10:45:36.417122Z K 7 svn:log V 60 MFC r244209: Add an #include guard to the sys/fnv_hash.h. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-03-13T12:23:14.011804Z K 7 svn:log V 267 - Make the FreeBSD's USB library compile under Linux. - Fix a compile warning where the return value of a call to a write() function was ignored. - Remove redundant include files from userland USB header files. - Add some now needed include files to various C-files. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-03-13T13:41:28.351654Z K 7 svn:log V 236 MFC miscellaneous bug fixes (r228042,228192,230522,232531,233473,233904, 235228,239500,241902,242188,243832,243854,244858,245333). This is mostly documentation fixes and updates to the default FTP list that got left behind in -CURRENT. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-03-13T13:44:08.075538Z K 7 svn:log V 25 Record merge of r228048. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-03-13T13:45:47.200536Z K 7 svn:log V 199 MFC r245680: Make "Finish" the default choice in the partition editor. This lets you successfully complete an installation with all defaults by pressing Enter repeatedly until your machine reboots. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-03-13T13:50:50.045497Z K 7 svn:log V 139 MFC r245700,245701,245702,245706,245707,245758,245759,245760,245792,245796, 245980,246013: Automated installation support for bsdinstall. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-03-13T14:01:58.184923Z K 7 svn:log V 158 MFC r245742: Fix typo and simplify condition. Submitted by: Christoph Mallon Missed MFC pointed out by: Garrett Cooper END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-13T14:36:48.765298Z K 7 svn:log V 128 Create branch to implement TCP-AO (TCP Authentication Option) according to RFC5925 and RFC5926. Sponsored by: Juniper Networks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-13T15:05:11.164623Z K 7 svn:log V 128 Add tcp_ao.c file to contain the implementation. Describe tcp-ao and the steps to implement it. Sponsored by: Juniper Networks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-13T15:09:00.081248Z K 7 svn:log V 158 Add TCP-AO option of kind 29. The length is variable depending on the algorithm selected and can't be determined in advance. Sponsored by: Juniper Networks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-13T15:20:18.346842Z K 7 svn:log V 150 Revert read locking in brelse(). For the time being vm_page_set_invalid() requires write locking on obj. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-03-13T15:38:01.785183Z K 7 svn:log V 365 - Make quirk for reading device descriptor from broken USB devices. Else they won't enumerate at all: hw.usb.full_ddesc=1 - Reduce the USB descriptor read timeout from 1000ms to 500ms. Typical value for LOW speed devices is 50-100ms. - Enumerate USB device a maximum of 3 times when a port connection change event is detected, before giving up. MFC after: 1 month END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-03-13T15:42:04.644671Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-03-13T17:34:42.023363Z K 7 svn:log V 1423 MFC kernel fixes to userland dtrace support. r247049 ------- Avoid panic when tearing down the DTrace pid provider for a process that has crashed. sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c: In fasttrap_pid_disable(), we cannot PHOLD the proc structure for a process that no longer exists, but we still have other, fasttrap specific, state that must be cleaned up for probes that existed in the dead process. Instead of returning early if the process related to our probes isn't found, conditionalize the locking and carry on with a NULL proc pointer. The rest of the fasttrap code already understands that a NULL proc is possible and does the right things in this case. r247820 ------- Fix assertion failure when using userland DTrace probes from the pid provider on a kernel compiled with INVARIANTS. sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c: In fasttrap_probe_pid(), attempts to write to the address space of the thread that fired the probe must be performed with the process of the thread held. Use _PHOLD() to ensure this is the case. In fasttrap_probe_pid(), use proc_write_regs() instead of calling set_regs() directly. proc_write_regs() performs invariant checks to verify the calling environment of set_regs(). PROC_LOCK()/UNLOCK() around the call to proc_write_regs() so that it's invariants are satisfied. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-03-13T17:37:13.462618Z K 7 svn:log V 638 MFC r247048. Orphaned processes that are being traced are killed by the kernel. Properly restore, continue, and detach from processes being DTraced when DTrace exits with an error so the program being inspected is not terminated. cddl/contrib/opensolaris/cmd/dtrace/dtrace.c: In fatal(), the generic error handler, close the DTrace handle as is done in the "probe/script" error handler dfatal(). fatal() can be invoked after DTrace attaches to processes (e.g. a script specified by command line argument can't be found) and closing the handle will release them. Submitted by: Spectra Logic Corporation Reviewed by: rpaulo, gnn END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-03-13T18:18:16.181424Z K 7 svn:log V 79 Add the getcontextx prototype to SYNOPSIS. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-03-13T18:19:33.166727Z K 7 svn:log V 74 Link getcontextx(3) to getcontext(3). Reviewed by: kib MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-03-13T18:38:18.511516Z K 7 svn:log V 252 libc: Avoid SIGPIPE when nscd closes the connection unexpectedly. It is almost always a bug if nscd closes the connection unexpectedly but programs should not be killed with SIGPIPE for it. Reviewed by: bushman Tested by: Jan Beich MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-03-13T18:43:25.155114Z K 7 svn:log V 88 Add missed `_load' to the `if_foo_load="YES"' line. PR: docs/176915 MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-13T20:35:51.653877Z K 7 svn:log V 69 Add quirk for Lenovo T530 headphone redirection. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-03-13T21:06:03.867718Z K 7 svn:log V 149 Revert 195703 and 195821 as this special stop handling in NFS is now implemented via VFCF_SBDRY rather than passing PBDRY to individual sleep calls. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-03-13T22:01:31.995712Z K 7 svn:log V 820 - Fix two possible overflows when testing if ELF program headers are on the first page: 1. Cast uint16_t operands in a multiplication to unsigned int because otherwise the implicit promotion to int results in a signed multiplication that can overflow and the behaviour on integer overflow is undefined. 2. Replace (offset + size > PAGE_SIZE) with (size > PAGE_SIZE - offset) because the sum may overflow. - Use the same tests to see if the path to the interpreter is on the first page. There's no overflow here because size is already limited by MAXPATHLEN, but the compiler optimises the new tests better. Also fix an off-by-one error. - Simplify tests to see if an ELF note program header is on the first page. This also fixes an off-by-one error. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-13T22:27:01.242138Z K 7 svn:log V 27 vinum isn't a new product. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-03-13T22:50:14.666748Z K 7 svn:log V 37 No need to call an external program. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-14T00:27:53.852869Z K 7 svn:log V 109 Disable warning/errors for two files for now - they don't compile clean with clang. I'll work on this soon. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-14T01:53:32.428349Z K 7 svn:log V 1536 Move the page handling of sleeping on a page for a specific condition under the protection of the page lock. In detail: 1) VPO_WANTED is moved to be a per-page flag, removing it and introducing PG_WANTED. 2) The function vm_page_sleep_onpage() is introduced to work as an underlying version of vm_page_sleep() / vm_page_sleep_if_busy() to specify priority and timo of the sleeping operation. 3) Convert all the current sleepers on the page to not use anymore VM_OBJECT_SLEEP() but use vm_page_sleep(). In one case, where special timo, priority and return value are needed, vm_page_sleep_onpage() is used directly. 4) The operation results without races because the object lock is now dropped after the page-lock is held. This creates a chain of trust. Further notes: - vm_page_sleep() and neighboor functions now always want the page-lock held. The semantic of the unlocking is left unchanged. - The burden to deal with page-locking is on the callers of the function. This is because soon more per-page attributes will be moved under the per-page lock, making the protection path a single critical section. - The vm_page_sleep_if_busy() is temporary made an hard function. This is to avoid namespace pollution by the object locking. With more changes the object locking won't be necessary anymore there and it will be made inline again as it should be. - vm_page_flash() and vm_page_sleep() lost the necessity to be called with the object lock held. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-14T02:00:21.702769Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-03-14T02:03:33.376130Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-03-14T05:24:25.836880Z K 7 svn:log V 101 MFC r247918: Fix panic when Secondary_Element_Count == 1 and Secondary_Element_Seq is not set (255). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-14T06:20:02.778718Z K 7 svn:log V 2321 Implement "holding buffers" per TX queue rather than globally. When working on TDMA, Sam Leffler found that the MAC DMA hardware would re-read the last TX descriptor when getting ready to transmit the next one. Thus the whole ATH_BUF_BUSY came into existance - the descriptor must be left alone (very specifically the link pointer must be maintained) until the hardware has moved onto the next frame. He saw this in TDMA because the MAC would be frequently stopping during active transmit (ie, when it wasn't its turn to transmit.) Fast-forward to today. It turns out that this is a problem not with a single MAC DMA instance, but with each QCU (from 0->9). They each maintain separate descriptor pointers and will re-read the last descriptor when starting to transmit the next. So when your AP is busy transmitting from multiple TX queues, you'll (more) frequently see one QCU stopped, waiting for a higher-priority QCU to finsh transmitting, before it'll go ahead and continue. If you mess up the descriptor (ie by freeing it) then you're short of luck. Thanks to rpaulo for sticking with me whilst I diagnosed this issue that he was quite reliably triggering in his environment. This is a reimplementation; it doesn't have anything in common with the ath9k or the Qualcomm Atheros reference driver. Now - it in theory doesn't apply on the EDMA chips, as long as you push one complete frame into the FIFO at a time. But the MAC can DMA from a list of frames pushed into the hardware queue (ie, you concat 'n' frames together with link pointers, and then push the head pointer into the TXQ FIFO.) Since that's likely how I'm going to implement CABQ handling in hostap mode, it's likely that I will end up teaching the EDMA TX completion code about busy buffers, just to be "sure" this doesn't creep up. Tested - iperf ap->sta and sta->ap (with both sides running this code): * AR5416 STA * AR9160/AR9220 hostap To validate that it doesn't break the EDMA (FIFO) chips: * AR9380, AR9485, AR9462 STA Using iperf with the -S to set the TCP client side DSCP bits, mapping to different TIDs and thus different TX queues. TODO: * Make this work on the EDMA chips, if we end up pushing lists of frames to the hardware (eg how we eventually will handle cabq in hostap/ibss mode.) END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-14T08:18:40.083128Z K 7 svn:log V 75 Update zfs.8 manpage date (missing in r247585) MFC: together with r247585 END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-14T08:25:10.064886Z K 7 svn:log V 207 Update vendor/illumos/dist to illumos-gate 13983:fe80600e1f8e Illumos ZFS issues: 3604 zdb should print bpobjs more verbosely (fix zdb hang) 3606 zpool status -x shouldn't warn about old on-disk format END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-03-14T10:02:59.602398Z K 7 svn:log V 214 MFV r248266: Import minor ZFS changes from vendor Illumos ZFS issues: 3604 zdb should print bpobjs more verbosely (fix zdb hang) 3606 zpool status -x shouldn't warn about old on-disk format MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-14T16:24:50.757311Z K 7 svn:log V 175 Recognize TCP-AO options in tcp_dooptions() and add them in tcp_addoptions(). The necessary definitions and fields are added to struct tcpopt. Sponsored by: Juniper Networks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-14T16:27:01.722601Z K 7 svn:log V 89 Add IPv6 pseudo header for use in checksum calculations. Sponsored by: Juniper Networks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-14T16:33:43.333490Z K 7 svn:log V 353 Add HMAC and CMAC functions from OpenBSD: HMAC_MD5 HMAC_SHA1 HMAC_SHA256 AES_CMAC This is a pure copy of the files. Any adjustments to FreeBSD will happen in later commits. Note: Our crypto code and support functions are scattered in different places. This layout should be reconsidered at a later point in time. Sponsored by: Juniper Networks END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-14T16:40:42.088069Z K 7 svn:log V 351 First skeleton of the TCP-AO segment authentication verification and computation functions. tcp_ao_mac() Setup of authentication computation for IPv4 and IPv6 tcp_ao_hmac() HMAC-SHA-1-(96), RFC5926, Section 3.2.1 tcp_ao_cmac() AES-128-CMAC-(96), RFC5926, Section 3.2.2 tcp_ao_md5() legacy compatibility to TCP-MD5 Sponsored by: Juniper Networks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-14T17:48:07.682282Z K 7 svn:log V 98 Merge OpenSSL 0.9.8y. This is a direct commit to stable/9 as HEAD is on a different release now. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-14T18:46:11.746722Z K 7 svn:log V 43 Add GEOM_* kernel options to the SYNOPSIS. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-14T18:55:41.033184Z K 7 svn:log V 18 Minor mdoc fixes. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-14T19:36:20.006545Z K 7 svn:log V 39 Fix minor spelling error in a comment. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-14T19:48:25.358384Z K 7 svn:log V 221 Rewrite the vfs_bio_clrbuf(9) to not access the b_data for B_VMIO buffers directly, use pmap_zero_page_area(9) for each zeroing page region instead. Sponsored by: The FreeBSD Foundation Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-14T19:50:09.341295Z K 7 svn:log V 108 Remove excessive and inconsistent initializers for the various kernel maps and submaps. MFC after: 2 weeks END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-14T19:56:21.456380Z K 7 svn:log V 15 Sort sections. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-03-14T20:05:49.440775Z K 7 svn:log V 183 Correct type for DIOCGSTRIPESIZE. Without this there would be a stack overflow which will crash the program later. PR: bin/176953 Submitted by: r4721 tormail org MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-14T20:18:12.649377Z K 7 svn:log V 994 Add pmap function pmap_copy_pages(), which copies the content of the pages around, taking array of vm_page_t both for source and destination. Starting offsets and total transfer size are specified. The function implements optimal algorithm for copying using the platform-specific optimizations. For instance, on the architectures were the direct map is available, no transient mappings are created, for i386 the per-cpu ephemeral page frame is used. The code was typically borrowed from the pmap_copy_page() for the same architecture. Only i386/amd64, powerpc aim and arm/arm-v6 implementations were tested at the time of commit. High-level code, not committed yet to the tree, ensures that the use of the function is only allowed after explicit enablement. For sparc64, the existing code has known issues and a stab is added instead, to allow the kernel linking. Sponsored by: The FreeBSD Foundation Tested by: pho (i386, amd64), scottl (amd64), ian (arm and arm-v6) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-14T20:22:52.164557Z K 7 svn:log V 316 When pidptr was passed as NULL to pidfile_open(3), we were returning EAGAIN/EWOULDBLOCK when another daemon was running and had the pidfile open. We should return EEXIST in that case, fix it. Reported by: Dirk Engling Reviewed by: jhb, Dirk Engling MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-14T20:28:26.862679Z K 7 svn:log V 229 Add currently unused flag argument to the cluster_read(), cluster_write() and cluster_wbuild() functions. The flags to be allowed are a subset of the GB_* flags for getblk(). Sponsored by: The FreeBSD Foundation Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-14T20:31:39.498300Z K 7 svn:log V 56 Some style fixes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-03-14T21:18:19.136025Z K 7 svn:log V 628 MFC r247960: Make ctfconvert work correctly on clang-compiled object files. Clang puts the full original source filename in the STT_FILE entry of the ELF symbol table, while gcc saves only the basename. Since the DWARF DW_AT_name attribute contains the full source filename, both for clang and gcc, ctfconvert takes just the basename of it, for matching with the STT_FILE entry. So when attempting to match with such an entry, use its basename, if necessary. Reported by: avg MFC r247962: Fix error in r247960: actually assign the basename to match.iim_file. Pointed out by: avg Pointy hat to: dim END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-03-14T21:20:46.605791Z K 7 svn:log V 17 Add FreeBSD 9.1. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-14T21:21:14.923782Z K 7 svn:log V 28 Removed redundant includes. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-03-14T21:39:39.267531Z K 7 svn:log V 507 MFC of the ixgbe driver including the follow revisions: 235547,235964,241616,241646,241856,241885,242403, 242421,243714,243716,243718,243721,243724,243725, 243728,243729,243733,243735,243736,243741,243833, 244514,246128,246482,247035,247056,247822,247823 Note: 246482 includes only the changes in the ixgbe driver and the buf_ring supporting code in if_var.h and buf_ring.h igb and em will be seperate commits, and non-Intel drivers can commit the changes at will. Reviewed by:rss, jhb END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-14T22:04:25.080586Z K 7 svn:log V 13 Build kernel END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-03-14T22:04:53.483585Z K 7 svn:log V 36 We want meta.stage.mk when cleaning END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-14T22:16:13.214963Z K 7 svn:log V 139 FDT_DTS_FILE is expanded in a Makefile so use :R to remove the suffix rather than using echo|cut to remove everything after the first '.'. END K 10 svn:author V 5 marck K 8 svn:date V 27 2013-03-14T22:29:37.770044Z K 7 svn:log V 264 Rename 'status' command to 'list' and introduce new 'status' which produces more terse output more observable for both scripts and humans. Also, it shifts hastctl closer to GEOM utilities with their list/status command pairs. Approved by: pjd MFC after: 4 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-03-14T22:55:59.249451Z K 7 svn:log V 6671 MFC of the E1000 drivers including revisions: ------------------------------------------------------------------------ r238765 | luigi | 2012-07-25 04:28:15 -0700 (Wed, 25 Jul 2012) | 7 lines Use legacy interrupts as a default. This gives up to 10% speedup when used in qemu (and this driver is for non-PCIe cards, so probably its largest use is in virtualized environments). ------------------------------------------------------------------------ r238770 | luigi | 2012-07-25 05:51:33 -0700 (Wed, 25 Jul 2012) | 4 lines remove some extra testing code that slipped into the previous commit ------------------------------------------------------------------------ r238953 | jfv | 2012-07-31 11:44:10 -0700 (Tue, 31 Jul 2012) | 6 lines Clean up some unused leftover code from em Make IRQ style a tuneable Fix lock handling in the interrupt handler ------------------------------------------------------------------------ r238981 | sbruno | 2012-08-01 17:00:34 -0700 (Wed, 01 Aug 2012) | 9 lines CPU_NEXT() already handles wrapping around to the beginning. Also, in a system with sparse CPU IDs, you can have a valid CPU ID > mp_ncpus (e.g. if you have two CPUs 0 and 4, with mp_maxid == 4 and mp_ncpus == 2). ------------------------------------------------------------------------ r239105 | jfv | 2012-08-06 13:44:05 -0700 (Mon, 06 Aug 2012) | 5 lines Correct the mq_start routine to avoid out-of-order packet delivery, always enqueue when possible. Also correct the DEPLETED test as multiple bits might be set. Thanks to Randall Stewart for the changes! ------------------------------------------------------------------------ r239109 | jfv | 2012-08-06 15:43:49 -0700 (Mon, 06 Aug 2012) | 6 lines Make the polling interface in igb able to handle multiqueue, and correct the rxdone handling. Update the polling man page to include igb as well. ------------------------------------------------------------------------ r239304 | jfv | 2012-08-15 10:12:40 -0700 (Wed, 15 Aug 2012) | 10 lines Customer report of a panic on boot due to the old "m_getjcl:invalid cluster type" that occurred some time back with the igb driver. This happens often when booting over the net. I believe the NIC hardware is left in a warm state when handed over to the driver, and a stray RX interrupt happens earlier than the code is prepared for it to happen. This change was verified to fix the problem, its kind of a bandaid... but it is similar to what was done in the igb code. ------------------------------------------------------------------------ r240693 | gavin | 2012-09-19 05:27:23 -0700 (Wed, 19 Sep 2012) | 5 lines Switch some PCI register reads from using magic numbers to using the names defined in pcireg.h ------------------------------------------------------------------------ r241856 | eadler | 2012-10-21 20:41:14 -0700 (Sun, 21 Oct 2012) | 7 lines Now that device disabling is generic, remove extraneous code from the device drivers that used to provide this feature. ------------------------------------------------------------------------ r241885 | eadler | 2012-10-22 06:06:09 -0700 (Mon, 22 Oct 2012) | 7 lines This isn't functionally identical. In some cases a hint to disable unit 0 would in fact disable all units. This reverts r241856 ------------------------------------------------------------------------ r243570 | glebius | 2012-11-26 12:03:57 -0800 (Mon, 26 Nov 2012) | 14 lines drbr_enqueue() awlays consumes mbuf, no matter did it fail or not. The mbuf pointer is no longer valid, so can't be reused after. Fix igb_mq_start() where mbuf pointer was used after drbr_enqueue(). This eventually leads us to all invocations of igb_mq_start_locked() called with third argument as NULL. This allows us to simplify this function. ------------------------------------------------------------------------ r245334 | smh | 2013-01-12 08:05:55 -0800 (Sat, 12 Jan 2013) | 9 lines Fixed mbuf free when receive structures fail to allocate. This prevents quad igb card on high core machines, without any nmbcluster or igb queue tuning wedging the boot process if all nics are configured. ------------------------------------------------------------------------ r246128 | sbz | 2013-01-30 10:01:20 -0800 (Wed, 30 Jan 2013) | 5 lines Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays ------------------------------------------------------------------------ r246482 | rrs | 2013-02-07 07:20:54 -0800 (Thu, 07 Feb 2013) | 30 lines This fixes a out-of-order problem with several of the newer drivers. The basic problem was that the driver was pulling the mbuf off the drbr ring and then when sending with xmit(), encounting a full transmit ring. Thus the lower layer xmit() function would return an error, and the drivers would then append the data back on to the ring. For TCP this is a horrible scenario sure to bring on a fast-retransmit. The fix is to use drbr_peek() to pull the data pointer but not remove it from the ring. If it fails then we either call the new drbr_putback or drbr_advance method. Advance moves it forward (we do this sometimes when the xmit() function frees the mbuf). When we succeed we always call advance. The putback will always copy the mbuf back to the top of the ring. Note that the putback *cannot* be used with a drbr_dequeue() only with drbr_peek(). We most of the time, in putback, would not need to copy it back since most likey the mbuf is still the same, but sometimes xmit() functions will change the mbuf via a pullup or other call. So the optimial case for the single consumer is to always copy it back. If we ever do a multiple_consumer (for lagg?) we will need a test and atomic in the put back possibly a seperate putback_mc() in the ring buf. ------------------------------------------------------------------------ r247064 | jfv | 2013-02-20 16:25:45 -0800 (Wed, 20 Feb 2013) | 19 lines Refresh on the shared code for the E1000 drivers. - bear with me, there are lots of white space changes, I would not do them, but I am a mere consumer of this stuff and if these drivers are to stay in shape they need to be taken. em driver changes: support for the new i217/i218 interfaces igb driver changes: - TX mq start has a quick turnaround to the stack - Link/media handling improvement - When link status changes happen the current flow control state will now be displayed. - A few white space/style changes. lem driver changes: - the shared code uncovered a bogus write to the RLPML register (which does not exist in this hardware) in the vlan code,this is removed. ------------------------------------------------------------------------ END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-14T22:57:27.078139Z K 7 svn:log V 690 MFC all change to makefs through r247052. Key functional changes include: r239562: Add -p flag to create the image as a sparse file. r242501: If no contents keyword is specified, the default for files is the named file. r247041: Add a -D flag that causes duplicate entries in an mtree manifest to be treated as warnings rather than errors. r247042: Fix the -N option in manifest mode by using pwcache(3). This also speeds up image creation appreciably. r247043: Allow '.' components in manifest paths. They are always the first component of mtree -C and install -M output and are easily skipped. r247052: Support hardlinks in manifest files by the same logic as the treewalk code. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-14T23:03:48.439956Z K 7 svn:log V 44 Delete requests can be larger than MAXPHYS. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-14T23:07:01.050203Z K 7 svn:log V 130 We don't need buffer to handle BIO_DELETE, so don't check buffer size for it. This fixes handling BIO_DELETE larger than MAXPHYS. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-14T23:11:52.808501Z K 7 svn:log V 19 Minor corrections. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-14T23:14:47.449646Z K 7 svn:log V 379 Now that ioctl(2) is allowed in capability mode and we can limit ioctls for the given descriptors, use Capsicum sandboxing for hastd in primary and secondary modes. Allow for DIOCGDELETE and DIOCGFLUSH ioctls on provider descriptor and for G_GATE_CMD_MODIFY, G_GATE_CMD_START, G_GATE_CMD_DONE and G_GATE_CMD_DESTROY on GEOM Gate descriptor. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-03-14T23:20:18.756822Z K 7 svn:log V 96 Accessing td_state requires thread lock to be held. Submitted by: Rudo Tomori Reviewed by: kib END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-14T23:25:01.297475Z K 7 svn:log V 128 Fix the date command for tagging imports in the instructions and rename the resulting errant tags to from YYYYDDMM to YYYYMMDD. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-03-14T23:25:42.223652Z K 7 svn:log V 245 When throttling a process to enforce RACCT limits, do not use neither PBDRY (which simply doesn't make any sense) nor PCATCH (which could be used by a malicious process to work around the PCPU limit). Submitted by: Rudo Tomori Reviewed by: kib END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-14T23:35:52.668559Z K 7 svn:log V 71 Correct typo in update instuctions and resulting YYYYDDMM format tags. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-14T23:51:47.139027Z K 7 svn:log V 348 Update to the latest (un)vis(3) sources from NetBSD. This adds multibyte support[0] and the new functions strenvisx and strsenvisx. Add MLINKS for vis(3) functions add by this and the initial import from NetBSD[1]. PR: bin/166364, bin/175418 Submitted by: "J.R. Oldroyd" [0] stefanf[1] Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T00:05:50.384215Z K 7 svn:log V 265 Replace our (un)vis(1) commands with implementations from NetBSD to match our import of the (un)vis(3) APIs. This adds support for multibyte encoding and the -h and -m flags which support HTTP and MIME encoding respectively. PR: bin/175418 Obtained from: NetBSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-03-15T00:10:38.234348Z K 7 svn:log V 115 Make file name generation to work with both new and old versions of OpenSSL. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-03-15T00:17:19.390982Z K 7 svn:log V 221 Vendor import of tzdata2013b: Lots of historical data added. Morocco: add DST rules for the coming years Cuba: Doing DST in 2013. Chili: Will do DST in 2013 as it seems. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-03-15T00:25:54.162915Z K 7 svn:log V 20 Tag of tzdata 2013b END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-03-15T00:27:24.012607Z K 7 svn:log V 169 MFV of 248305, tzdata2013b Lots of historical data added. Morocco: add DST rules for the coming years Cuba: Doing DST in 2013. Chili: Will do DST in 2013 as it seems. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-03-15T00:48:55.986254Z K 7 svn:log V 174 Merge of current of tzdata2013b Lots of historical data added. Morocco: add DST rules for the coming years Cuba: Doing DST in 2013. Chili: Will do DST in 2013 as it seems. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-03-15T01:01:14.730962Z K 7 svn:log V 173 Merge of current of tzdata2013b Lots of historical data added. Morocco: add DST rules for the coming years Cuba: Doing DST in 2013. Chili: Will do DST in 2013 as it seems END K 10 svn:author V 5 edwin K 8 svn:date V 27 2013-03-15T01:02:35.891808Z K 7 svn:log V 173 Merge of current of tzdata2013b Lots of historical data added. Morocco: add DST rules for the coming years Cuba: Doing DST in 2013. Chili: Will do DST in 2013 as it seems END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-15T02:52:37.754156Z K 7 svn:log V 446 Add locking around the new holdingbf code. Since this is being done during buffer free, it's a crap shoot whether the TX path lock is held or not. I tried putting the ath_freebuf() code inside the TX lock and I got all kinds of locking issues - it turns out that the buffer free path sometimes is called with the lock held and sometimes isn't. So I'll go and fix that soon. Hence for now the holdingbf buffers are protected by the TXBUF lock. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-03-15T04:43:27.804527Z K 7 svn:log V 164 Remove a now incorrect comment. This comment dates back to my initial stab at TX aggregation completion, where I didn't even bother trying to do software retries. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-03-15T05:00:51.900977Z K 7 svn:log V 119 Add support for installation directly via HTTP. Submitted by: Rick Miller Reviewed by: jkh END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T09:19:19.461578Z K 7 svn:log V 27 Make this more compilable. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T10:15:07.373752Z K 7 svn:log V 117 Make m_get2() never use clusters that are bigger than PAGE_SIZE. Requested by: andre, jhb Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T10:17:24.197202Z K 7 svn:log V 101 - Use m_get2() instead of hand allocating. - No need for u_int cast here. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T10:20:15.840760Z K 7 svn:log V 225 Use m_get2() + m_align() instead of hand made key_alloc_mbuf(). Code examination shows, that although key_alloc_mbuf() could return chains, the callers never use chains, so m_get2() should suffice. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T10:21:18.031247Z K 7 svn:log V 52 Use m_get() and m_getcl() instead of compat macros. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-15T11:16:12.429956Z K 7 svn:log V 405 Implement the helper function vn_io_fault_pgmove(), intended to use by the filesystem VOP_READ() and VOP_WRITE() implementations in the same way as vn_io_fault_uiomove() over the unmapped buffers. Helper provides the convenient wrapper over the pmap_copy_pages() for struct uio consumers, taking care of the TDP_UIOHELD situations. Sponsored by: The FreeBSD Foundation Tested by: pho MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T12:33:23.461728Z K 7 svn:log V 74 Use m_getcl() instead of hand made allocation. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T12:50:29.875960Z K 7 svn:log V 178 - Use m_getcl() instead of hand allocating. - Use m_get()/m_gethdr() instead of macros. - Remove superfluous cleaning of mbuf fields after allocation. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T12:52:59.773835Z K 7 svn:log V 212 - Use m_getcl() instead of hand allocating. - Convert panic() to KASSERT. - Remove superfluous cleaning of mbuf fields after allocation. - Add comment on possible use of m_get2() here. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T12:53:53.639585Z K 7 svn:log V 71 - Use m_getcl() instead of hand allocating. Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T12:55:30.711474Z K 7 svn:log V 72 Use m_get/m_gethdr instead of compat macros. Sponsored by: Nginx, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-15T12:57:30.598348Z K 7 svn:log V 193 Add my copyright for the 2012 year work, in particular vn_io_fault() and f_offset locking. Add required Foundation notice for r248319. Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T13:10:06.404836Z K 7 svn:log V 65 We can, and should use M_WAITOK here. Sponsored by: Nginx, Inc. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-03-15T13:40:00.263812Z K 7 svn:log V 530 First skeleton of the TCP-AO traffic and master key derivation functions. tcp_ao_kdf() Setup of traffic key derivation for IPv4 and IPv6 tcp_ao_kdf_hmac() KDF_HMAC_SHA1, RFC5926, Section 3.1.1.1 tcp_ao_kdf_cmac() KDF_AES_128_CMAC, RFC5926, Section 3.1.1.2 tpc_ao_kdf_md5() legacy compatibility to TCP-MD5 (has no key-derivation) The first function is rather incomplete as I first have to analyze and decide on the key management and storage approach (ipsec keysock vs. setsockopt). Sponsored by: Juniper Networks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-03-15T13:48:53.887894Z K 7 svn:log V 261 - Use m_getcl() instead of hand allocating. - Do not calculate constant length values at run time, CTASSERT() their sanity. - Remove superfluous cleaning of mbuf fields after allocation. - Replace compat macros with function calls. Sponsored by: Nginx, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-03-15T14:01:37.465043Z K 7 svn:log V 113 Separate the copyright lines and the informational block by a blank line. Requested by: joel MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T14:53:29.882617Z K 7 svn:log V 132 MFC r245311: Add pwcache(3) and vis(3) to libegacy as install(1) is about to grow a dependency on them. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-03-15T15:19:33.669065Z K 7 svn:log V 971 MFC all changes to install(1) through r246784. Notable functional changes are: r245617: Introduce six new options from NetBSD: * -M Log metadata in mtree format. * -D Log paths relative to . * -h Log digest of type . * -T Specify which mtree tags to log. * -l Create hard or symbolic links (allows logging). * -U Install without root privileges (owner, group, mode, and flags can be logged via -M NOTE: In the interest of compatibility with NetBSD and because it is the obvious letter, the nearly useless -M option (disable mmap) has been repurposed. Sponsored by: DARPA, AFRL Obtained from: NetBSD Reviewed by: bz r245312: Implement the -N option which allows an alternate passwd and group file to be used. This is useful for installing on systems where a user or group does not currently exist. Sponsored by: DARPA, AFRL Obtained from: NetBSD END