238560 187 722 256 173 188 117 112 269 277 153 170 151 139 198 238 325 246 166 143 211 135 138 231 264 253 160 161 157 235 134 123 215 232 226 230 209 140 142 182 588 207 856 263 181 166 285 215 149 551 147 1666 148 335 160 426 247 228 171 429 150 1057 738 580 164 967 369 132 274 201 203 125 288 181 166 1220 163 307 141 254 191 220 123 123 121 123 163 137 233 200 126 246 113 142 101 186 259 244 203 174 981 121 243 189 219 196 116 136 218 715 895 1321 180 171 182 218 287 224 142 196 232 393 119 238 370 374 250 352 440 275 202 630 608 248 246 828 99 171 162 129 400 274 370 166 200 332 253 231 500 197 335 206 512 154 328 723 976 953 230 283 641 237 214 291 447 175 207 206 210 125 106 516 112 271 239 185 141 342 342 162 161 325 142 379 474 359 125 119 397 K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-07-18T04:52:37.698597Z K 7 svn:log V 629 MFC r238220, r238272: Unbreak handling of descriptors opened with O_EXEC by fexecve(2). While here return EBADF for descriptors opened for writing (previously it was ETXTBSY). Add fgetvp_exec function which performs appropriate checks. == Follow-up commit to r238220: Pass only FEXEC (instead of FREAD|FEXEC) in fgetvp_exec. _fget has to check for !FWRITE anyway and may as well know about FREAD. Make _fget code a bit more readable by converting permission checking from if() to switch(). Assert that correct permission flags are passed. PR: kern/169651 In collaboration with: kib Approved by: re (hrs), trasz (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-18T05:21:34.931119Z K 7 svn:log V 163 Move what remains of vm/vm_contig.c into vm/vm_pageout.c, where similar code resides. Rename vm_contig_grow_cache() to vm_pageout_grow_cache(). Reviewed by: kib END K 10 svn:author V 6 avatar K 8 svn:date V 27 2012-07-18T05:50:40.119463Z K 7 svn:log V 78 Removing bsd{ar,ranlib} found on my ancient installation. MFC after: 3 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-18T05:57:42.987128Z K 7 svn:log V 93 a ";" tells make we want the shell to be used Submitted by: Simon Gerraty END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-07-18T07:07:54.141769Z K 7 svn:log V 22 Sort per the comment. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-18T07:26:20.988279Z K 7 svn:log V 18 Add missing free. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T07:48:04.412768Z K 7 svn:log V 177 Update vendor/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) Add ZFS bits to vendor/opensolaris Obtained from: https://hg.openindiana.org/upstream/oracle/onnv-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T08:12:04.332942Z K 7 svn:log V 185 Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50) Add ZFS bits to vendor-sys/opensolaris Obtained from: https://hg.openindiana.org/upstream/oracle/onnv-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T08:17:39.536328Z K 7 svn:log V 62 Tag vendor/opensolaris and vendor-sys/opensolaris as 20100818 END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T08:23:48.475852Z K 7 svn:log V 79 Remove vendor-sys/illumos/dist for repopulation from latest vendor/opensolaris END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T08:24:59.755181Z K 7 svn:log V 60 Copy vendor-sys/opensolaris/dist to vendor-sys/illumos/dist END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T08:37:08.686928Z K 7 svn:log V 48 Tag initial vendor-sys/illumos/dist as 20100818 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-18T08:41:00.535516Z K 7 svn:log V 101 When traversing global in_ifaddr list in the IFP_TO_IA() macro, we need to obtain IN_IFADDR_RLOCK(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-18T08:58:30.278102Z K 7 svn:log V 141 Plug a reference leak: before doing 'goto again' we need to unref ia->ia_ifa if there is any. Submitted by: Andrey Zonov END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-18T09:06:07.099991Z K 7 svn:log V 227 Fix a small memory leak in mpssas_get_sata_identify(). The change has been submitted upstream as well. Reviewed by: ken, scottl Obtained from: DragonFly BSD (change df8658e030226dd015cff9749452666d8fe1e87b) MFC after: 5 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T09:10:54.200522Z K 7 svn:log V 154 Update vendor-sys/illumos/dist to pre libzfs_core state illumos-gate revision 13742:b6bbdd77139c Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T09:15:58.821081Z K 7 svn:log V 75 Remove vendor/illumos/dist for repopulation from latest vendor/opensolaris END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T09:16:47.005668Z K 7 svn:log V 52 Copy vendor/opensolaris/dist to vendor/illumos/dist END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-18T09:16:59.869260Z K 7 svn:log V 115 MFC r238475: #ifdef INET and INET6 consistently. This also fixes a bug, where it was done wrong. Approved by: re@ END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T09:37:59.250008Z K 7 svn:log V 44 Tag initial vendor/illumos/dist as 20100818 END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T09:47:48.087319Z K 7 svn:log V 47 Move dtrace manual page to new vendor location END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T09:53:20.981426Z K 7 svn:log V 139 Import relevant vendor manual pages from illumos-gate revision 13304:b54231762cfa Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:19:06.158521Z K 7 svn:log V 172 Update vendor/illumos/dist to pre libzfs_core state (dtrace and ctf part) illumos-gate revision 13742:b6bbdd77139c Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:19:51.108780Z K 7 svn:log V 161 Update vendor/illumos/dist to pre libzfs_core state (zfs part) illumos-gate revision 13742:b6bbdd77139c Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:24:47.528907Z K 7 svn:log V 69 Tag vendor-sys/illumos as 20120614 (illumos-gate 13742:b6bbdd77139c) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:26:50.736757Z K 7 svn:log V 70 Tag vendor/illumos/dist as 20120614 (illumos-gate 13742:b6bbdd77139c) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-18T10:42:30.378416Z K 7 svn:log V 60 MFC: r238486 Fix typo in a message. Approved by: re (hrs) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:42:43.434733Z K 7 svn:log V 143 Add zhack command missing from vendor import illumos-gate revision 13742:b6bbdd77139c Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-18T10:45:38.582028Z K 7 svn:log V 37 MFC: r238486 Fix typo in a message. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:46:31.850522Z K 7 svn:log V 32 Merge r238587 into 20120614 tag END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:51:11.536134Z K 7 svn:log V 123 Update vendor-sys/illumos/dist to illumos-gate 13752:9f5f6c52ba19 Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-18T10:56:48.310124Z K 7 svn:log V 134 MFC: r238363 - fix description of SECURITY_FREEZE_LOCK - add missing underscores to SECURITY_DISABLE_PASSWORD Approved by: re (hrs) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:58:07.269834Z K 7 svn:log V 134 Update vendor-sys/illumos/dist to illumos-gate 13752:9f5f6c52ba19 (zfs part) Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-18T10:58:30.235450Z K 7 svn:log V 138 Update vendor-sys/illumos/dist to illumos-gate 13752:9f5f6c52ba19 (non-zfs part) Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-18T11:36:59.850543Z K 7 svn:log V 111 MFC: r238363 - fix description of SECURITY_FREEZE_LOCK - add missing underscores to SECURITY_DISABLE_PASSWORD END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-18T12:23:45.969322Z K 7 svn:log V 48 Add bunch of new ASC/ASCQ values from T10 site. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-18T12:41:09.386684Z K 7 svn:log V 50 Fix some typos in r238595. Reported by: brueffer END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-18T15:36:03.274515Z K 7 svn:log V 90 Add stmxcsr. Submitted by: Ed Alley PR: amd64/169927 MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-18T15:43:47.136605Z K 7 svn:log V 495 On AMD64, provide siginfo.si_code for floating point errors when error occurs using the SSE math processor. Update comments describing the handling of the exception status bits in coprocessors control words. Remove GET_FPU_CW and GET_FPU_SW macros which were used only once. Prefer to use curpcb to access pcb_save over the longer path of referencing pcb through the thread structure. Based on the submission by: Ed Alley PR: amd64/169927 Reviewed by: bde MFC after: 3 weeks END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-07-18T15:52:09.476159Z K 7 svn:log V 113 Return zero from get_addrselectpolicy() when no source-address-selection policy is installed. MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-18T16:13:03.954763Z K 7 svn:log V 759 Merge r230119, r238498 from head: ------------------------------------------------------------------------ r230119 | csjp | 2012-01-15 02:51:34 +0400 (вс, 15 янв 2012) | 9 lines Revert to the old behavior of allocating table/table entries using M_NOWAIT. Currently, the code allows for sleeping in the ioctl path to guarantee allocation. However code also handles ENOMEM gracefully, so propagate this error back to user-space, rather than sleeping while holding the global pf mutex. Reviewed by: glebius Discussed with: bz ------------------------------------------------------------------------ r238498 | glebius | 2012-07-15 23:10:00 +0400 (вс, 15 июл 2012) | 2 lines Use M_NOWAIT while holding the pf giant lock. Approved by: re (kib) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-07-18T18:10:27.916493Z K 7 svn:log V 167 On BIO_ERROR, set bio_resid to stop losing data in the error case. Submitted by: Mark Johnston Reviewed by: scottl@freebsd.org MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-18T19:28:22.136681Z K 7 svn:log V 89 Add -g (gigabyte) flag to complement -k (kilobyte) and -m (megabyte). MFC after: 1 week END K 10 svn:author V 5 joerg K 8 svn:date V 27 2012-07-18T21:30:17.164879Z K 7 svn:log V 72 Add some examples about how to use FreeBSD's libusb20 in your own code. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-18T21:47:50.732564Z K 7 svn:log V 192 Do not restart scan of the inactive queue when non-inactive page is found. Rather, we shall not find such pages on inactive queue at all. Requested and reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2012-07-18T23:01:23.534885Z K 7 svn:log V 122 Move -n ${_jail} before ${_flags} so that any -n options in ${_flags} will override ours instead of the other way around. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-07-18T23:32:12.873416Z K 7 svn:log V 57 Xref mwl(4) and rum(4) in hostapd(8). MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-19T02:25:14.505188Z K 7 svn:log V 455 Break out the TX descriptor link field into HAL methods. The DMA FIFO chips (AR93xx and later) differ slightly to th elegacy chips: * The RX DMA descriptors don't have a ds_link field; * The TX DMA descriptors have a ds_link field however at a different offset. This is a reimplementation based on what the reference driver and ath9k does. A subsequent commit will enable it in the TX and beacon paths. Obtained from: Linux ath9k, Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-19T03:18:15.800333Z K 7 svn:log V 52 Use HAL_NUM_RX_QUEUES rather than a magic constant. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-19T03:51:16.614834Z K 7 svn:log V 1569 Convert the TX path to use the new HAL methods for accessing the TX descriptor link pointers. This is required for the AR93xx and later chipsets. The RX path is slightly different - the legacy RX path directly accesses ath_desc->ds_link for now, however this isn't at all done for EDMA (FIFO) RX. Now, for those performing a little software archeology here: This is all a bit sub-optimal. "struct ath_desc" is only really relevant for the pre-AR93xx NICs - where ds_link and ds_data is always in the same location. The AR93xx and later NICs have different descriptor layouts altogether. Now, for AR93xx and later NICs, you should never directly reference ds_link and ds_data, as: * the RX descriptors don't have either - the data is _after_ the RX descriptor. They're just one large buffer. There's also no need for a per-descriptor RX buffer size as they're all fixed sizes. * the TX descriptors have 4 buffer and 4 length fields _and_ a link pointer. Each frame takes up one TX FIFO pointer, but it can contain multiple subframes (either multiple frames in a buffer, and/or multiple frames in an aggregate/RIFS burst.) * .. so, when TX frames are queued to a hardware queue, the link pointer is ONLY for buffers in that frame/aggregate. The next frame starts in a new FIFO pointer. * Finally, descriptor completion status is in a different ring. I'll write something up about that when its time to do so. This was inspired by Linux ath9k and the reference driver but is a reimplementation. Obtained from: Linux ath9k, Qualcomm Atheros END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-19T05:34:19.164005Z K 7 svn:log V 56 Don't unnecessarily set PGA_REFERENCED in pmap_enter(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-19T08:42:31.360118Z K 7 svn:log V 240 Removing $ALL_FETCH was a mistake because the reason it existed previously is that $UPDATE_ALL cannot be exported to the children. So bring it back as $PM_ALL_FETCH. This is basically a cosmetic bug which will only show up when using -Faf END K 10 svn:author V 7 zeising K 8 svn:date V 27 2012-07-19T08:56:30.951226Z K 7 svn:log V 64 Update my e-mail to my FreeBSD one. Approved by: joel (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-19T09:32:59.933077Z K 7 svn:log V 330 MFC r238501, r 238514: Changes which improve compilation if neither INET nor INET6 is defined. Allow netstat to be build if INET is not defined in the kernel. Thanks to Garrett Cooper for reporting the issue. This also fixes a bug where netstat doesn't work correctly for SCTP on INET only (no INET6) kernels. Approved by: re@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-19T10:22:54.768443Z K 7 svn:log V 154 Implement F_DUPFD_CLOEXEC command for fcntl(2), specified by SUSv4. PR: standards/169962 Submitted by: Jukka A. Ukkonen MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-19T10:23:59.048376Z K 7 svn:log V 135 Document F_DUPFD_CLOEXEC. Also provide some wording changes for F_DUPFD to make it less confusing, at least for me. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-07-19T10:28:29.347191Z K 7 svn:log V 74 MFC r213705: Add the XHCI USB controller to NOTES. Suggested by: dougb @ END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-19T11:15:53.639334Z K 7 svn:log V 336 Fix several reads beyond the mapped first page of the binary in the ELF parser. Specifically, do not allow note reader and interpreter path comparision in the brandelf code to read past end of the page. This may happen if specially crafter ELF image is activated. Submitted by: Lukasz Wojcik MFC after: 3 days END K 10 svn:author V 5 joerg K 8 svn:date V 27 2012-07-19T11:18:41.752700Z K 7 svn:log V 56 Add share/examples/libusb20 to the list of directories. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-19T11:43:31.742559Z K 7 svn:log V 959 MFC r219182, r219229, r220769, r223706, r223787, r223822, r232921, r237162, r237163, r237164, r237226, r237227 Merge netflow v9 support (kernel side) r219182 - Add support for NetFlow version 9 into ng_netflow(4) node. r219229 - Unbreak the build for no options INET6. r220769 - ng_netflow_cache_init() can be void. r223706 - Fix double free. r223787 - Eliminate flow6_hash_entry in favor of flow_hash_entry r223822 - Add missing unlocks. r232921 - Use rt_numfibs variable instead of compile-time RT_NUMFIBS. r237162 - Fix improper L4 header handling for IPv6 packets passed via DLT_RAW. r237163 - Set netflow v9 observation domain value to fib number instead of node id r237164 - Use time_uptime instead of getnanotime for accouting integer number of seconds. r237226 - Simplify IP pointer recovery in case of mbuf reallocation. r237227 - Make radix lookup on src and dst flow addresses optional No objection from: glebius Approved by: ae(mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-19T13:00:31.774114Z K 7 svn:log V 640 MFC r223788, r223790, r223824 236808 Merge netflow v9 support (user side) r223788 - Rewrite the flowctl utility to add it support for displaying both IPv4 and IPv4 flows. r223790 - Update manual page. Mention IPv6 support, .. r223824 - Conditionally compile in the IPv4/IPv6 address family support. r236808 - Add "human" option to print IPv4/IPv6 flows in human-readable format. Additionally, implement compatibility code for syntax changes introduced in r223788. Flowctl supports specifying node both as absolute path (new style) and as node name without colon (old style). No objection from: glebius Approved by: ae(mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-19T14:43:46.004050Z K 7 svn:log V 484 Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user data introduced in r236061. Using that flag doesn't make that much sense on this case as the DMA maps using it are also created during sym_pci_attach(). Moreover, due to the maxsegsz parameter used, doing so may exhaust the bounce pages pool on architectures requiring bounce pages. [1] While at it, use a slightly more appropriate maxsegsz parameter. PR: 169526 Submitted by: Mike Watters [1] MFC after: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-07-19T15:36:36.712495Z K 7 svn:log V 71 Allow to specify no source-address-selection policy MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-19T19:09:12.923270Z K 7 svn:log V 874 Introduce curpcb magic variable, similar to curthread, which is MD amd64. It is implemented as __pure2 inline with non-volatile asm read from pcpu, which allows a compiler to cache its results. Convert most PCPU_GET(pcb) and curthread->td_pcb accesses into curpcb. Note that __curthread() uses magic value 0 as an offsetof(struct pcpu, pc_curthread). It seems to be done this way due to machine/pcpu.h needs to be processed before sys/pcpu.h, because machine/pcpu.h contributes machine-depended fields to the struct pcpu definition. As result, machine/pcpu.h cannot use struct pcpu yet. The __curpcb() also uses a magic constant instead of offsetof(struct pcpu, pc_curpcb) for the same reason. The constants are now defined as symbols and CTASSERTs are added to ensure that future KBI changes do not break the code. Requested and reviewed by: bde MFC after: 3 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-19T19:15:47.822904Z K 7 svn:log V 276 Merge more cosmetical changes from NetBSD's libedit. makelist: change tr '[a-z]' '[A-Z]' to tr '[:lower:]' '[:upper:]' so that POSIX systems work proerly regardsless of environment variable settings. tokenizer.c: pass lint on _LP64 Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-19T19:57:23.161268Z K 7 svn:log V 38 Convert ARM GIC driver to INTRNG API. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-19T20:05:31.911400Z K 7 svn:log V 179 TI port refactoring: switched to INTRNG and mmu_init() in ti_machdep.c. There's some problem with PL310 L2 cache controller which hangs up the system - this will be investigated. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-19T20:38:03.880871Z K 7 svn:log V 108 Remove line which was accidentally kept in r238614. Submitted by: pjd Pointy hat to: kib MFC after: 1 week END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-07-19T22:33:13.493740Z K 7 svn:log V 107 Fix syntax errors (s/:=/:-/). Reviewed by: emaste (mentor) Approved by: emaste (mentor) MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-07-19T22:41:00.382430Z K 7 svn:log V 30 Revert SVN r238628 (mistake). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T00:47:23.982806Z K 7 svn:log V 192 Prepare for (re)using this header file in userland. Remove the inlined code from the header file if it's compiled in userland. It's not required and it shouldn't be there in the first place. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-20T01:11:53.544287Z K 7 svn:log V 85 Import an updated version of moduli(5) manual page from OpenBSD. MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T01:27:20.393237Z K 7 svn:log V 71 Create an ioctl API for fetching the current rate control information. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T01:36:02.969365Z K 7 svn:log V 1123 Add a per-node rate control routine for each rate control module. For now, the only module implement is 'sample', and that's only partially implemented. The main issue here with reusing this structure in userland is that it uses 'rix' everywhere, which requires the userland code to have access to the current HAL rate table. For now, this is a very large work in progress. Specific details: * The rate control information is per-node at the moment and wrapped in a TLV, to ease parsing and backwards compatibility. * .. but so I can be slack for now, the userland statistics are just a copy of the kernel-land sample node state. * However, for now use a temporary copy and change the rix entries to dot11rate entries to make it slightly easier to eyeball. Problems: * The actual rate information table is unfortunately indexed by rix and it doesn't contain a rate code. So the userland side of this currently has no way to extract out a mapping. TODO: * Add a TLV payload to dump out the rate control table mapping so 'rix' can be turned into a dot11 / MCS rate. * .. then remove the temporary copy. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T01:36:46.163592Z K 7 svn:log V 68 Enable the basic node-based rate control statistics via an ioctl(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T01:38:03.261847Z K 7 svn:log V 211 Implement a first cut of the 'sample' rate statistics userland utility. This outputs almost exactly the same information as the kernel sysctl does, however the rix -> rate mapping isn't yet available as a TLV. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T01:41:18.316154Z K 7 svn:log V 46 Bump this up to match what the HAL is at now. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T01:56:14.643941Z K 7 svn:log V 157 Don't forget to release a thread reference count, replace _thr_ref_add() with _thr_find_thread(), so reference count is no longer needed. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T02:17:48.886377Z K 7 svn:log V 96 Introduce a rate table TLV so rate table statistics consumers know how to map rix -> rate code. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T02:18:47.486708Z K 7 svn:log V 124 Use the rate control table to display the rate rather than the rix, making the output of this program much more meaningful. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T03:00:41.320212Z K 7 svn:log V 27 Eliminate duplicated code. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T03:16:52.673408Z K 7 svn:log V 27 Eliminate duplicated code. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T03:22:17.541716Z K 7 svn:log V 25 Don't assign same value. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T03:27:07.194775Z K 7 svn:log V 27 Eliminate duplicated code. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T03:37:19.952586Z K 7 svn:log V 67 Simplify code by replacing _thr_ref_add() with _thr_find_thread(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-20T05:47:12.024583Z K 7 svn:log V 41 Don't forget to initialize return value. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T06:11:26.872321Z K 7 svn:log V 137 Tidy things up substantially: * remove some debugging; * introduce command line arguments; * introduce support for non-ath0 interfaces. END K 10 svn:author V 3 pgj K 8 svn:date V 27 2012-07-20T06:50:57.867876Z K 7 svn:log V 107 MFC r238527: - Add support for displaying process stack memory regions. Approved by: re (kib), rwatson END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T07:17:24.284985Z K 7 svn:log V 31 Add the new athratestats tool. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-20T07:22:37.869402Z K 7 svn:log V 151 Use a more robust method of determining portdir from $PWD. This also works for bare 'portmaster' with no arguments now, if you're in a port directory. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T07:38:11.934853Z K 7 svn:log V 18 Add missing SRCS. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-20T07:49:26.576760Z K 7 svn:log V 47 Add a needed #include due to my recent change. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-07-20T08:31:36.944357Z K 7 svn:log V 10 style(9). END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-07-20T08:33:23.957616Z K 7 svn:log V 95 Use proper error message when fstat(2) fails on stdout. PR: bin/159746 Submitted by: Alex K. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-20T08:36:53.383222Z K 7 svn:log V 164 Bug fix: Do read_distinfos() in the background for multiport() too, oops Update the comment re read_distinfos() in the single port code to reflect current reality END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-20T09:49:50.229965Z K 7 svn:log V 148 MFC r238550: Fix a refcount bug when freeing an association. While there: Change code to be consistent. Discussed with: rrs Approved by: re (kib) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-20T16:56:34.780445Z K 7 svn:log V 108 Make ZVOL resizing ('zfs set volsize') properly resize the GEOM provider. Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-20T17:51:20.127879Z K 7 svn:log V 80 Make it possible to resize opened partitions. Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-20T19:35:20.078798Z K 7 svn:log V 888 Partially MFC r212541: Refactor cpu_idle() on x86. Use MONITOR/MWAIT instrunctions (if supported) under high sleep/wakeup rate, as fast alternative to other methods. It allows SMP scheduler to wake up sleeping CPUs much faster without using IPI, significantly increasing performance on some highly task-switching loads. Also on such loads it hides two ACPI timer reads, otherwise done by acpi_cpu_idle(), that are reported to be slow on some systems. MFC r225936 (by attilio): Add some improvements in the idle table callbacks: - Replace instances of manual assembly instruction "hlt" call with halt() function calling. - In cpu_idle_mwait() avoid races in check to sched_runnable() using the same pattern used in cpu_idle_hlt() with the 'hlt' instruction. - Add comments explaining the logic behind the pattern used in cpu_idle_hlt() and other idle callbacks. PR: kern/170021 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-20T21:09:36.821655Z K 7 svn:log V 29 Fix XEN build after r238658. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-20T23:56:23.940970Z K 7 svn:log V 150 Add a new script, hotopen, which shows what uid is opening files on a per second basis. While here clean up the Makefile as well. MFC after: 1 week END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-07-21T00:28:11.128728Z K 7 svn:log V 93 Allow target filespecs to have comments in them. Lines beginning with comments are skipped. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-07-21T01:07:05.785282Z K 7 svn:log V 126 MFC r231257, r238606: r231257 (kevlo): Mention run(4) r238606: Xref mwl(4) and rum(4) in hostapd(8). Approved by: re (kib) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-07-21T01:13:45.528014Z K 7 svn:log V 103 MFC r231257, r238606: r231257 (kevlo): Mention run(4) r238606: Xref mwl(4) and rum(4) in hostapd(8). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-07-21T04:15:38.315654Z K 7 svn:log V 19 Fix the type here. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-21T07:14:52.578908Z K 7 svn:log V 44 Remove copy/pasteo in the copyright notice. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-21T08:19:43.466528Z K 7 svn:log V 125 Fix typo in bzero length argument during sense fetching. For me it at least fixed CD burning in PIO mode. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T13:02:11.992264Z K 7 svn:log V 622 (Incomplete) fixes for symbols visibility issues and style in fcntl.h. Append '__' prefix to the tag of struct oflock, and put it under BSD namespace. Structure is needed both by libc and kernel, thus cannot be hidden under #ifdef _KERNEL. Move a set of non-standard F_* and O_* constants into BSD namespace. SUSv4 explicitely allows implemenation to pollute F_* and O_* names after fcntl.h is included, but it costs us nothing to adhere to the specification if exact POSIX compliance level is requested by user code. Change some spaces after #define to tabs. Noted by and discussed with: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T13:05:34.602234Z K 7 svn:log V 802 Stop clearing x87 exceptions in the #MF handler on amd64. If user code understands FPU hardware enough to catch SIGFPE and unmask exceptions in control word, then it may as well properly handle return from SIGFPE without causing an infinite loop of #MF exceptions due to faulting instruction restart, when needed. Clearing exceptions causes information loss for handlers which do understand FPU hardware, and struct siginfo si_code member cannot be considered adequate replacement for en_sw content due to translation. Supposed reason for clearing the exceptions, which is IRQ13 handling oddities, were never applicable to amd64. Note: this change will be merged to i386 kernel as well, since we do not support IRQ13 delivery of #MF notifications for some time. Requested by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T13:06:37.390897Z K 7 svn:log V 1227 The PT_I386_{GET,SET}XMMREGS and PT_{GET,SET}XSTATE operate on the stopped threads. Implementation assumes that the thread's FPU context is spilled into the PCB due to stop. This is mostly true, except when FPU state for the thread is not initialized. Then the requests operate on the garbage state which is currently left in the PCB, causing confusion. The situation is indeed observed after a signal delivery and before #NM fault on execution of any FPU instruction in the signal handler, since sendsig(9) drops FPU state for current thread, clearing PCB_FPUINITDONE. When inspecting context state for the signal handler, debugger sees the FPU state of the main program context instead of the clear state supposed to be provided to handler. Fix this by forcing clean FPU state in PCB user FPU save area by performing getfpuregs(9) before accessing user FPU save area in ptrace_machdep.c. Note: this change will be merged to i386 kernel as well, where it is much more important, since e.g. gdb on i386 uses PT_I386_GETXMMREGS to inspect FPU context on CPUs that support SSE. Amd64 version of gdb uses PT_GETFPREGS to inspect both 64 and 32 bit processes, which does not exhibit the bug. Reported by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T13:47:37.286391Z K 7 svn:log V 88 Stop caching curpcb in the local variable. Requested by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T13:53:00.745899Z K 7 svn:log V 79 Constently use 2-space sentence breaks. Submitted by: bde MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-21T14:07:43.122205Z K 7 svn:log V 86 Fix typo in comment, should be MHz here. Submitted by: Daan Vreeken END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-21T14:59:43.749149Z K 7 svn:log V 125 Use 16bit PIO instead of 32bit in case of misaligned buffer. It fixes kernel panic during CD write with cdrecord on sparc64. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-21T19:46:14.264198Z K 7 svn:log V 194 MFC 233362: Don't cast a bus address to a uint8_t pointer just to add an offset to it. Instead, add the offset directly to the bus address. This permits linking emu10k to an i386 PAE kernel. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T21:39:02.139735Z K 7 svn:log V 131 MFamd64 r238669: Force clean FPU state in PCB user FPU save area for PT_I386_{GET,SET}XMMREGS. Reported by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T21:39:23.275793Z K 7 svn:log V 50 MFamd64 r238597: Add stmxcsr. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T21:49:05.601352Z K 7 svn:log V 103 MFamd64 r238668: Stop clearing x87 exceptions in the #MF handler. Requested by: bde MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-21T21:52:48.819152Z K 7 svn:log V 139 MFCamd64 r238598: Provide siginfo.si_code for floating point errors when error occurs using the SSE math processor. MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-22T00:44:22.918576Z K 7 svn:log V 300 MFC r238617: Fix several reads beyond the mapped first page of the binary in the ELF parser. Specifically, do not allow note reader and interpreter path comparision in the brandelf code to read past end of the page. This may happen if specially crafter ELF image is activated. Approved by: re (hrs) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-22T07:52:58.550357Z K 7 svn:log V 25 More minor code cleanups END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-22T09:04:26.605474Z K 7 svn:log V 143 Simplify update_build_l(). Nowadays when we call it we always know the origin, and if the port is installed we don't need to search for either END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-22T10:21:42.939024Z K 7 svn:log V 277 MFC r238617: Fix several reads beyond the mapped first page of the binary in the ELF parser. Specifically, do not allow note reader and interpreter path comparision in the brandelf code to read past end of the page. This may happen if specially crafter ELF image is activated. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-22T11:00:02.158157Z K 7 svn:log V 278 MFC r238063: - Make ipfw's sched rules case insensitive, for user-friendliness. - Add a note to the ipfw(8) man page about the rules no longer being case sensitive. - Fix some typos in the man page. PR: docs/164772 Reviewed by: bz Approved by: gavin Approved by: re (kib) END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-22T11:07:59.485561Z K 7 svn:log V 154 Fix mergeinfo that should have been committed as part of r238683. Approved by: gavin Approved by: re (kib), implicit, approved in original merge request END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-22T11:22:04.698870Z K 7 svn:log V 256 MFC r238063: - Make ipfw's sched rules case insensitive, for user-friendliness. - Add a note to the ipfw(8) man page about the rules no longer being case sensitive. - Fix some typos in the man page. PR: docs/164772 Reviewed by: bz Approved by: gavin END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-22T12:09:42.777342Z K 7 svn:log V 343 Merge r234034 from head to stable/8: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail directories. This fix will be merged upstream in an identical form, but hasn't yet appeared in an OpenBSM release. Submitted by: guido Obtained from: TrustedBSD Project END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-22T13:41:45.939337Z K 7 svn:log V 182 Cosmetics: define FREEBSD32_MINUSER and AOUT32_MINUSER for struct sysentvec .sv_minuser. Also improve style. Submitted by: Oliver Pinter MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T14:31:42.465224Z K 7 svn:log V 105 Handle the case where there are collision in the inode vfs hash struct. Reported by: pho Tested by: pho END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-22T14:32:49.418312Z K 7 svn:log V 534 MFC: r238621 Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user data introduced in r236061 (MFC'ed to stable/9 in r237186). Using that flag doesn't make that much sense on this case as the DMA maps using it are also created during sym_pci_attach(). Moreover, due to the maxsegsz parameter used, doing so may exhaust the bounce pages pool on architectures requiring bounce pages. [1] While at it, use a slightly more appropriate maxsegsz parameter. PR: 169526 Submitted by: Mike Watters [1] Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-22T14:33:04.216420Z K 7 svn:log V 512 MFC: r238621 Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user data introduced in r236061 (MFC'ed to stable/8 in r237187). Using that flag doesn't make that much sense on this case as the DMA maps using it are also created during sym_pci_attach(). Moreover, due to the maxsegsz parameter used, doing so may exhaust the bounce pages pool on architectures requiring bounce pages. [1] While at it, use a slightly more appropriate maxsegsz parameter. PR: 169526 Submitted by: Mike Watters [1] END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T14:33:14.464966Z K 7 svn:log V 151 Fix ISDOTDOT lookup that is completely broken by inlining vn_vget_ino() (for using internal nodes handover function). Reported by: pho Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T14:37:28.961344Z K 7 svn:log V 149 - Add a lock assert - Remove a wrong assert because the aw could be rescheduled again while the lock was dropped. Reported by: pho Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T14:41:35.990143Z K 7 svn:log V 731 Rewrite the fuse interface to the device: - Remove entirely the usage of interface cloning - Reimplement the passing of fdata using the devfs_*_cdevpriv interface - Implement a real refcounting for the fdata objects representing the former check on mnt and drv1 members This requires that mount_fusefs now passes the filedescriptor number when trying to mount a specific filesystem instance. Also, now all the devices will open /dev/fuse specifically and nothing else. This avoids some nasty races in the device cloning entries reusing from the cloning list or alternatively a big wastage of memory in situations where filesystems are frequently unmounted and mounted on long-running systems. Reported by: pho Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T14:47:15.978508Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T15:07:35.767626Z K 7 svn:log V 75 Remove bogus __FreeBSD_version opt-in, caming probabily from the port era. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-22T15:08:34.121594Z K 7 svn:log V 66 Remove a debugging knob (good that not anyone can speak italian). END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-07-22T15:40:31.292118Z K 7 svn:log V 35 Use NULL instead of 0 for pointers END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-22T16:56:59.022848Z K 7 svn:log V 303 Merge r234032 from head to stable/8: When allocation of labels on files is implicitly disabled due to MAC policy configuration, avoid leaking resources following failed calls to get and set MAC labels by file descriptor. Reported by: Mateusz Guzik + clang scan-build END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-22T17:31:36.943666Z K 7 svn:log V 177 Update some stale comments regarding tcbinfo locking in the TCP input path: read locks on tcbinfo are no longer used, so won't happen. No functional change. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-22T17:46:05.024382Z K 7 svn:log V 278 Fix a bug introduced in r221129 that leads to a panic wen using bundled SAs. For now allow same address family bundles. While discovered with ESP and AH, which does not make a lot of sense, IPcomp could be a possible problematic candidate. PR: kern/164400 MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-22T18:59:31.536771Z K 7 svn:log V 74 Fix a bug which prevents "nfsstat -W" for server statistics from working. END K 10 svn:author V 3 phk K 8 svn:date V 27 2012-07-22T19:32:27.071234Z K 7 svn:log V 107 Replace hardcoded /mnt with ${SBMNT} which defaults to /mnt.sysbuild Submitted by: Flemming "F3" Jacobsen END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-22T20:08:38.832571Z K 7 svn:log V 239 Put struct ostat and struct nstat under #ifdef _KERNEL. The compatibility definitions are only needed for implementation of the syscalls, they cause namespace pollution and are not useful for applications. Noted by: bde MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2012-07-22T20:55:42.105188Z K 7 svn:log V 160 Derive FREEBSD_PART from /etc/fstab, and make it full device name. Give suggestion for next steps when done. Inspired by patches from: Flemming "F3" Jacobsen END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-22T21:43:46.165226Z K 7 svn:log V 135 Correct ugen.4 to show that it has been integrated into usb(4). Also fix some punctuation errors. Approved by: hps MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-22T22:37:20.380500Z K 7 svn:log V 405 In check_dependency_files() unset the grep_deps var if we unlink the file In find_dl_distfiles() we only need to test -s $dist_list if we're looking at the old file, since the test for the new file already does this. Optimize determination of $new_port: * When first set, let it be global * Use a function to incorporate/optimize the various tests from the 2 different places that it was being set END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-07-22T23:21:21.855410Z K 7 svn:log V 104 Document the following in rc.conf.5: - rtsold_enable - rtsold_flags - rtsol_flags MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-23T02:26:33.311287Z K 7 svn:log V 239 Begin modifying the descriptor allocation functions to support a variable sized TX descriptor. This is required for the AR93xx EDMA support which requires 128 byte TX descriptors (which is significantly larger than the earlier hardware.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-23T02:49:25.130119Z K 7 svn:log V 110 Flesh out a new DMA map for the EDMA TX completion status, as well as a lock to go with that whole code path. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-23T03:52:18.296915Z K 7 svn:log V 416 Begin separating out the TX DMA setup in preparation for TX EDMA support. * Introduce TX DMA setup/teardown methods, mirroring what's done in the RX path. Although the TX DMA descriptor is setup via ath_desc_alloc() / ath_desc_free(), there TX status descriptor ring will be allocated in this path. * Remove some of the TX EDMA capability probing from the RX path and push it into the new TX EDMA path. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-23T03:55:19.472048Z K 7 svn:log V 59 Revert this; it wasn't supposed to be part of this commit. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-23T04:48:58.349807Z K 7 svn:log V 233 When -r, print a clearer message for term-title about what we're doing when we are going through the ports that depend on the -r port(s) If there is an installed version, always print that message, not just when we're in the parent END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-23T09:19:14.409355Z K 7 svn:log V 626 Merge from head r238572, r238573: ------------------------------------------------------------------------ r238572 | glebius | 2012-07-18 12:41:00 +0400 (ср, 18 июл 2012) | 3 lines When traversing global in_ifaddr list in the IFP_TO_IA() macro, we need to obtain IN_IFADDR_RLOCK(). ------------------------------------------------------------------------ r238573 | glebius | 2012-07-18 12:58:30 +0400 (ср, 18 июл 2012) | 5 lines Plug a reference leak: before doing 'goto again' we need to unref ia->ia_ifa if there is any. Submitted by: Andrey Zonov Approved by: re (kib) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-23T09:33:31.059985Z K 7 svn:log V 879 Merge r238637,r238640,r238641,r238642: ------------------------------------------------------------------------ r238637 | davidxu | 2012-07-20 09:56:14 +0800 (Fri, 20 Jul 2012) | 6 lines Don't forget to release a thread reference count, replace _thr_ref_add() with _thr_find_thread(), so reference count is no longer needed. ------------------------------------------------------------------------ r238640 | davidxu | 2012-07-20 11:00:41 +0800 (Fri, 20 Jul 2012) | 2 lines Eliminate duplicated code. ------------------------------------------------------------------------ r238641 | davidxu | 2012-07-20 11:16:52 +0800 (Fri, 20 Jul 2012) | 2 lines Eliminate duplicated code. ------------------------------------------------------------------------ r238642 | davidxu | 2012-07-20 11:22:17 +0800 (Fri, 20 Jul 2012) | 2 lines Don't assign same value. Approved by: re (kib) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-23T09:34:19.719159Z K 7 svn:log V 856 Merge r238637,r238640,r238641,r238642: ------------------------------------------------------------------------ r238637 | davidxu | 2012-07-20 09:56:14 +0800 (Fri, 20 Jul 2012) | 6 lines Don't forget to release a thread reference count, replace _thr_ref_add() with _thr_find_thread(), so reference count is no longer needed. ------------------------------------------------------------------------ r238640 | davidxu | 2012-07-20 11:00:41 +0800 (Fri, 20 Jul 2012) | 2 lines Eliminate duplicated code. ------------------------------------------------------------------------ r238641 | davidxu | 2012-07-20 11:16:52 +0800 (Fri, 20 Jul 2012) | 2 lines Eliminate duplicated code. ------------------------------------------------------------------------ r238642 | davidxu | 2012-07-20 11:22:17 +0800 (Fri, 20 Jul 2012) | 2 lines Don't assign same value. END K 10 svn:author V 3 pgj K 8 svn:date V 27 2012-07-23T09:38:10.408517Z K 7 svn:log V 137 Take rafan's commit bit into safekeeping per his request. Thanks for all the work on FreeBSD in the past! Approved by: core (implicit) END K 10 svn:author V 3 rea K 8 svn:date V 27 2012-07-23T14:22:45.857306Z K 7 svn:log V 190 u3g: add support for Huawei E392 LTE modem I am using it rebranded and it carries the label "Megafon" (it is Russian mobile operator); works fine with my 3G network. Approved by: hselasky END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-23T15:14:28.865003Z K 7 svn:log V 545 Quirk MS keyboard so that function keys work The function keys on a Microsoft Natural Egronomic Keyboard 4000 have been repurposed as "Help", "Undo", "Redo" etc., and a special "F Lock" key is required to return them to their normal purpose. This change enables the UQ_KBD_BOOTPROTO quirk for the MS Natural 4000 keyboard to get the keys working again. More extensive changes to the USB keyboard infrastructure would be needed to fully support the "F Lock" mode and the extended keys on this keyboard. PR: usb/116947 Approved by: hselasky@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-23T15:19:21.942529Z K 7 svn:log V 144 MFC r238666: Fix typo in bzero() length argument during sense fetching. For me it at least fixed CD burning in PIO mode. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-23T15:20:52.156801Z K 7 svn:log V 121 MFC r238666: Fix typo in bzero() length argument during sense fetching. For me it at least fixed CD burning in PIO mode. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-23T16:36:13.335949Z K 7 svn:log V 198 When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers in OptionalObsoleteFiles.inc. PR: misc/169902 Submitted by: Thomas Eberhardt MFC after: 3 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-07-23T19:13:55.610387Z K 7 svn:log V 352 Compute the exponential of x for Intel 80-bit format and IEEE 128-bit format. These implementations are based on PTP Tang, "Table-driven implementation of the exponential function in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 15, 144-157 (1989). PR: standards/152415 Submitted by: kargl Reviewed by: bde, das Approved by: das (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-23T19:16:31.476495Z K 7 svn:log V 83 Forcibly shut up clang warning about NULL pointer dereference. MFC after: 3 weeks END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-07-23T19:23:49.968713Z K 7 svn:log V 112 Hook ld80/s_expl.c or ld128/s_expl.c into the building of libm. PR: standards/152415 Approved by: das (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-23T20:20:00.979572Z K 7 svn:log V 114 Update vendor/illumos to illumos-gate 13753:2aba784c276b Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-23T20:20:23.960989Z K 7 svn:log V 118 Update vendor-sys/illumos to illumos-gate 13753:2aba784c276b Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-23T21:31:53.998544Z K 7 svn:log V 29 Vendor import of v451 (beta) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-23T21:32:37.378393Z K 7 svn:log V 10 Tag v451. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-23T23:40:13.108838Z K 7 svn:log V 420 Modify ath_descdma_setup() to take a descriptor size parameter. The AR9300 and later descriptors are 128 bytes, however I'd like to make sure that isn't used for earlier chips. * Populate the TX descriptor length field in the softc with sizeof(ath_desc) * Use this field when allocating the TX descriptors * Pre-AR93xx TX/RX descriptors will use the ath_desc size; newer ones will query the HAL for these sizes. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-07-24T01:09:11.409160Z K 7 svn:log V 16 MFV: less v451. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-24T01:18:19.688599Z K 7 svn:log V 175 Add a new HAL method - the AR93xx and later NICs have a separate TX descriptor ring for TX status completion. This API call will pass the allocated buffer details to the HAL. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-24T02:35:30.160376Z K 7 svn:log V 146 Addendum to r238604. If the inactive queue scan isn't restarted, then the variable "addl_page_shortage_init" isn't needed. X-MFC after: r238604 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-24T02:58:10.212447Z K 7 svn:log V 93 Import dtc from git://git.jdl.com/software/dtc hash f807af192828222dee7a5c9f94d999673bb4d8a1 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-24T03:03:12.416816Z K 7 svn:log V 49 Tag DTC f807af192828222dee7a5c9f94d999673bb4d8a1 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-24T03:46:58.509307Z K 7 svn:log V 246 MFC r230454: Use provided name when allocating ksid domain. It isn't really used on FreeBSD, but should fix a panic when pool is imported from another OS that is using this. Requested by: nox No objections: pjd Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-24T03:47:49.345890Z K 7 svn:log V 246 MFC r230454: Use provided name when allocating ksid domain. It isn't really used on FreeBSD, but should fix a panic when pool is imported from another OS that is using this. Requested by: nox No objections: pjd Approved by: cperciva (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-24T04:12:44.113148Z K 7 svn:log V 70 Add missing files in f807af192828222dee7a5c9f94d999673bb4d8a1 import. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-24T04:14:16.982568Z K 7 svn:log V 69 Recopy after fixing f807af192828222dee7a5c9f94d999673bb4d8a1 import. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-24T13:08:43.120705Z K 7 svn:log V 232 Do not call ses_softc_cleanup() in case of configuration read failure. Just free inclomplete daemon cache instead to let it retry next time. Premature ses_softc_cleanup() caused NULL dereference when freed softc was accessed later. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-24T13:32:49.317857Z K 7 svn:log V 50 Fix off by one error in ses_enc_desc_last_byte(). END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-07-24T16:03:28.598482Z K 7 svn:log V 285 Don't ever build files depending on the directory where they are placed in. It is obvious that its modification time will change with each such file builded. This bug cause whole libelf to rebuild itself each second make run (and relink that files on each first make run) in the loop. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-24T16:29:33.305860Z K 7 svn:log V 381 Update to latest git version of dtc to get new dtsv2 support, including the include directive. Fix minor build issue corrected by converting yypush_buffer_state and yypop_buffer_state to yy_set_buffer_state and a hard-coded 100-deep stack. It was easier to fix it here than to import that support into our flex. The new tools and test hardness remain unsupported at the moment. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-24T18:01:28.173207Z K 7 svn:log V 266 Fix a bug in interrupt handling so that we're only considered impatient if we sent more than 2 INT signals. This fixes a bug where we wouldn't see aggregations print on the command line if we Ctrl-C'd a dtrace script or command line invocation. MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T18:48:17.087720Z K 7 svn:log V 31 Vendor import of BIND 9.8.3-P2 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T18:49:18.539929Z K 7 svn:log V 25 Tag the 9.8.3-P2 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T18:53:28.596429Z K 7 svn:log V 302 Heavy DNSSEC Validation Load Can Cause a "Bad Cache" Assertion Failure in BIND9 High numbers of queries with DNSSEC validation enabled can cause an assertion failure in named, caused by using a "bad cache" data structure before it has been initialized. CVE: CVE-2012-3817 Posting date: 24 July, 2012 END