ƒ°u234662 181 158 182 395 149 997 183 183 242 242 173 173 164 503 304 215 152 152 154 154 275 275 258 324 134 251 107 279 165 172 555 189 357 357 289 136 205 222 239 254 237 138 192 239 186 257 347 301 158 266 629 222 623 201 164 216 312 439 312 208 245 245 400 251 218 1239 134 130 157 160 168 238 136 308 880 1589 237 240 132 469 181 573 259 144 541 473 503 211 231 218 333 1140 938 337 508 249 186 207 328 129 386 134 200 177 318 169 404 163 229 223 347 448 176 613 479 347 386 178 178 433 433 287 115 404 282 309 178 187 184 186 153 217 203 387 180 129 159 129 808 155 170 233 325 178 188 186 153 203 385 128 158 128 155 169 234 109 195 275 328 249 292 258 223 290 698 353 162 162 209 188 294 208 267 306 132 925 398 220 201 428 253 2154 K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-24T21:38:41.945627Z K 7 svn:log V 65 Add support for pkgng Reviewed by: linimon Approved by: linimon END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-25T01:24:39.491935Z K 7 svn:log V 87 Add a note that explains what the current state of the register byte order macros are. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-25T01:42:22.674525Z K 7 svn:log V 299 Add placeholder methods for WMI command access (USB, perhaps SDIO later) which will be needed for AR7010 and AR9287 USB access. The names differ slightly from Linux and Atheros, for the sake of consistency. A lot more work is required in order to convert the 11n HAL support to fully support USB. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-04-25T02:05:14.796206Z K 7 svn:log V 54 Fix cut-and-paste comment error Submitted by: sbruno END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-04-25T02:46:13.664791Z K 7 svn:log V 900 For Yukon II controllers that implement optional temperature sensor and voltage sensor, TWSI is used to get sensor data. msk(4) does not monitor these sensors and interrupt for TWSI completion is disabled by default. However, due to unknown reason, the TWSI completion interrupt fires and it resulted in interrupt storm. To fix it, acknowledges the TWSI completion interrupt if driver see the event. Given that not all Yukon II controllers show the issue it could be a silicon bug which does not honor interrupt masking. Probably the right way to address the issue is disabling automatic TWSI cycle initiation against these sensors. It would be even better to implement reading voltage/temperature from the NIC but it requires access to National LM80 through TWSI and documentation to do that is not available yet(probably will never happen). Reported by: jhb Tested by: jhb MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-25T04:53:04.662348Z K 7 svn:log V 91 MFC r234416: Fix string buffer overflow when preparing the line of output. PR: bin/161739 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-25T04:57:29.659011Z K 7 svn:log V 91 MFC r234416: Fix string buffer overflow when preparing the line of output. PR: bin/161739 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-25T06:18:49.891430Z K 7 svn:log V 149 MFC r234414: Alike to SCSI make adaclose() to not return error if device gone. This fixes KASSERT panic inside GEOM if kernel built with INVARIANTS. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-25T06:22:22.087363Z K 7 svn:log V 149 MFC r234414: Alike to SCSI make adaclose() to not return error if device gone. This fixes KASSERT panic inside GEOM if kernel built with INVARIANTS. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T06:43:40.630671Z K 7 svn:log V 81 MFC r234207: bump INTRCNT_COUNT values to reflect actual numbers of IPI counters END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T06:48:57.294577Z K 7 svn:log V 81 MFC r234207: bump INTRCNT_COUNT values to reflect actual numbers of IPI counters END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T06:52:26.122901Z K 7 svn:log V 72 MFC r234208: add actual interrupt counters to back ipi_invlcache_counts END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-25T07:04:48.501506Z K 7 svn:log V 406 Merge r233257, r233258 from head: Don't run through time checks when entry is definitely oversized. This leads to newsyslog rotating on (size OR time) if both are specified. Fix a sentence in a paragraph that describes time and interval based trimming. This sentence vaguely can be interpreted as if it was speaking about time and size interaction, while it wasn't about it. PR: 100018, 160432 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-25T07:09:02.657776Z K 7 svn:log V 207 Merge r233167 from head: Rotate auth.log and messages at the beginning of a year. Otherwise, daily security checks 800.loginfail and 900.tcpwrap may produce false positive alerts. PR: 142467, 165331 END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T07:10:17.893214Z K 7 svn:log V 122 MFC r234208: add actual interrupt counters to back ipi_invlcache_counts Note: i386 only as r209248 has never been MFCed. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T07:13:16.257836Z K 7 svn:log V 60 MFC r234338: intpm: add ATI IXP400 pci id PR: kern/136762 END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T07:18:04.201007Z K 7 svn:log V 60 MFC r234338: intpm: add ATI IXP400 pci id PR: kern/136762 END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T07:23:35.109208Z K 7 svn:log V 62 MFC r234339: zfsboot: honor -q if it's present in boot.config END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-04-25T07:27:13.399683Z K 7 svn:log V 62 MFC r234339: zfsboot: honor -q if it's present in boot.config END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-25T09:55:34.048160Z K 7 svn:log V 177 MFC r234574 Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. Tested by: Maxim Ignatenko Approved by: ae(mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-25T09:56:35.711783Z K 7 svn:log V 177 MFC r234574 Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. Tested by: Maxim Ignatenko Approved by: ae(mentor) END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-25T12:02:06.857098Z K 7 svn:log V 166 MFC r234574 (by melifaro): Fix panic in ng_patch(4) caused by checksum flags being added to mbuf flags. Tested by: Maxim Ignatenko END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-25T17:54:26.385102Z K 7 svn:log V 226 Fix binary compatibility to the official LibUSB 1.0. This is useful for GNU/kFreeBSD and the libusb2debian port. Applications using the asynchronous API of LibUSB 1.0 needs to be recompiled after this update. Found by: lme @ END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-25T18:07:35.096925Z K 7 svn:log V 42 I stopped using my middle name years ago. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-25T21:50:20.889226Z K 7 svn:log V 153 Bump the libusb major version due to the last commit, which changes the libusb 1.0 API. While at it, correct a manual page symlink. Suggested by: kib @ END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-25T21:59:56.369930Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 4 stas K 8 svn:date V 27 2012-04-25T22:44:07.349728Z K 7 svn:log V 185 - Disable MMU before reconfiguring the pagetables in the trampoline code. Otherwise we might end up overwriting the PTEs we're currently using for some reason. Reviewed by: cognet END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-26T00:18:38.209007Z K 7 svn:log V 68 Add support to the NFSv4.1 PNFS client for returning stale layouts. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-04-26T00:51:43.746051Z K 7 svn:log V 77 Correct r228114 and use the same implementation for tilde.h as for history.h END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-04-26T01:07:03.919869Z K 7 svn:log V 459 Implement the D "cpu" variable, which returns curcpu. I have chosen not to follow the example of OpenSolaris and its descendants, which implemented cpu as an inline that took a value out of curthread. At certain points in the FreeBSD scheduler curthread->td_oncpu will no longer be valid (in particukar, just before the thread gets descheduled) so instead I have implemented this as its own built-in variable. Sponsored by: Sandvine Inc. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-26T02:03:16.792028Z K 7 svn:log V 94 Add the BT register definitions for AR9285/AR9287 BT coexistence. Obtained from: Linux ath9k END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-26T05:17:25.610416Z K 7 svn:log V 265 MFC r234692: Read backup GPT header from the last LBA only when primary GPT header and table aren't valid. If they are ok, use hdr_lba_alt value to read backup header. This will make gptboot happy when GPT used atop of some GEOM provider, e.g. GEOM_MIRROR. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-04-26T05:17:48.020697Z K 7 svn:log V 265 MFC r234692: Read backup GPT header from the last LBA only when primary GPT header and table aren't valid. If they are ok, use hdr_lba_alt value to read backup header. This will make gptboot happy when GPT used atop of some GEOM provider, e.g. GEOM_MIRROR. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-04-26T07:52:28.639498Z K 7 svn:log V 193 IFC @ r234692 sys/amd64/include/cpufunc.h sys/amd64/include/fpu.h sys/amd64/amd64/fpu.c sys/amd64/vmm/vmm.c - Add API to allow vmm FPU state init/save/restore. FP stuff discussed with: kib END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-04-26T08:37:51.159848Z K 7 svn:log V 44 Added regression test for posix_fadvise(2). END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-04-26T09:07:32.591493Z K 7 svn:log V 113 Fixed a misspelling of OLD_LIBS in r232671 by pluknet@. (The patch in the PR 165523 had this spelled correctly.) END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-04-26T09:14:52.597606Z K 7 svn:log V 130 MFC r234697: Fixed a misspelling of OLD_LIBS in r232671 by pluknet@. (The patch in the PR 165523 had this spelled correctly.) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-26T11:07:15.832997Z K 7 svn:log V 143 Fix a type in an SCTP AUTH related notification. Keep the old name for backwards compatibility. Spotted by Irene Ruengeler. MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-26T12:59:08.395629Z K 7 svn:log V 158 Document the standardization status of err* and warn* PR: docs/164939 Submitted by: Niclas Zeising Approved by: bcr MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-26T13:45:17.302321Z K 7 svn:log V 141 Fix a bug in the TCP tracerouting which resulted in not accepting any incoming packets. So all packets seemed to be lost. MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-26T13:46:16.219743Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-26T13:55:15.175427Z K 7 svn:log V 92 MFC r234156: We don't need kcopy() in any of the remaining places it is used, so remove it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-26T13:56:38.358760Z K 7 svn:log V 138 MFC r234517: Make sure all pending operations have completed on the existing thread before (potentially) migrating it to a different CPU. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-26T13:57:41.444619Z K 7 svn:log V 86 MFC r234589: Correctly specify assembler constrains for synchronization instructions. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-26T13:59:00.702109Z K 7 svn:log V 156 MFC r234542: Organize some members of ucontext_t in the same order they are in the trap frame. These are usually not used, and so this changes very little. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-26T14:00:29.208831Z K 7 svn:log V 246 MFC r234579: Avoid a lock order reversal in pmap_extract_and_hold() from relocking the page. This PMAP requires an additional lock besides the PMAP lock in pmap_extract_and_hold(), which vm_page_pa_tryrelock() did not release. Suggested by: kib END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-26T14:02:39.425554Z K 7 svn:log V 200 MFC r234615: Fix copy-and-paste error in r230400 that would cause ppc64 executables built with -fvisibility=hidden to fail to link with a message about hidden symbol main being referenced from a DSO. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-26T14:34:46.946629Z K 7 svn:log V 61 Add libusb.so.2 to obsolete files. Suggested by: dumbbell @ END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-26T14:51:12.428022Z K 7 svn:log V 168 Change the tag (which is useful for debugging when looking at packet traces) for the read from a DS to ReadDS, although it is otherwise the same as a read from an MDS. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-26T17:35:11.911640Z K 7 svn:log V 531 fix EAP server support after the 0.7.3 import: - eap_xxx.c files have been renamed to eap_server_xxx.c - additional crypto files are required for some options - EAP_MD5 and EAP_GTC is now enabled by default to match vendor config - move each file on its own line to hopefully make further diffs easier to read EAP_SERVER is now enabled by default. Fiddling with HOSTAPD_CFLAGS in src.conf is no longer required to get a basic WPA-EAP/radius setup running. Tested by: Johann Hugo MFC after: 2 weeks END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-04-26T17:36:05.264396Z K 7 svn:log V 127 A new jail(8) with a configuration file, ultimately to replace the work currently done by /etc/rc.d/jail. MFC after: 3 months END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-04-26T18:16:44.079520Z K 7 svn:log V 529 MFC: r233580 - Do not clobber softc when psm(4) is reintialized. - Make INITAFTERSUSPEND flag independent of HOOKRESUME flag. - Automatically set INITAFTERSUSPEND flag when ALPS GlidePoint is detected. - Always probe Synaptics Touchpad. Allow MOUSE_SYN_GETHWINFO ioctl and automatically set INITAFTERSUSPEND flag when a supported device is detected, regardless of "hw.psm.synaptics_support" tunable setting. - Update psm(4) to reflect the above changes. - Remove long-time defunct SYNCHACK flag while I am in the neighborhood. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-26T19:21:58.354304Z K 7 svn:log V 105 Use the .Bx macro instead of BSD Submitted by: ru Approved by: ru MFC after: 3 days X-MFC-With: r234700 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-26T19:31:16.624325Z K 7 svn:log V 69 Export symbols for sctp_sendv() and sctp_recvv(). MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-26T19:56:06.059290Z K 7 svn:log V 120 Move sctp_sendv and sctp_recvv to FBSD_1.3 as suggested by Konstantin Belousov. MFC after: 1 week. X-MFC with: r234715 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-26T20:11:57.923799Z K 7 svn:log V 219 MFC r232157, r232158: r232157: Fix various typos in manual pages. Submitted by: amdmi3 PR: 165431 r232158: Whitespace cleanup: o Wrap sentences on to new lines o Cleanup trailing whitespace END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-26T20:14:26.604131Z K 7 svn:log V 345 100% jailed operation, all the operation on remote hosts are done in jails, with only the fetch section having access to the network. The bonus, is that it simplifies a lot cleanup While here cleanup the detection of mount points to umount, and don't forget anymore any /dev/md* device if any is used Reviewed by: linimon Approved by: linimon END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-26T20:16:00.316177Z K 7 svn:log V 219 MFC r232157, r232158: r232157: Fix various typos in manual pages. Submitted by: amdmi3 PR: 165431 r232158: Whitespace cleanup: o Wrap sentences on to new lines o Cleanup trailing whitespace END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-26T20:19:05.723349Z K 7 svn:log V 115 MFC r234289: Add files and directories to be cleaned up if WITHOUT_GCC is in effect to OptionalObsoleteFiles.inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-26T20:22:14.620569Z K 7 svn:log V 152 MFC r232159: Whitespace cleanup: o Wrap sentences on to new lines o Rewrap lines where possible while trying to keep the diff to a minimum END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-26T20:23:14.804472Z K 7 svn:log V 152 MFC r232159: Whitespace cleanup: o Wrap sentences on to new lines o Rewrap lines where possible while trying to keep the diff to a minimum END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-04-26T20:24:25.348513Z K 7 svn:log V 303 Clean up the intr* MD KPI from the SMP dependency, removing a cause of discrepancy between modules and kernel, but deal with SMP differences within the functions themselves. As an added bonus this also helps in terms of code readability. Requested by: gibbs Reviewed by: jhb, marius MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-04-26T23:12:52.274566Z K 7 svn:log V 158 Fix ordering issue. 'make xdev' can fail with -jN because it tries to run the xdev-install step while xdev-build is still running. Submitted by: Ian Lepore END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-26T23:57:24.427303Z K 7 svn:log V 122 Remove some of the redundant locking done in the TX completion path, when checking whether BAR frames need to be checked. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-27T06:49:35.574385Z K 7 svn:log V 1145 MFC r234502: After r217375, some startup objects under lib/csu are built in a special way: first they are compiled to assembly, then some sed'ing is done on the assembly, and lastly the assembly is compiled to an object file. This last step is done using ${CC}, and not ${AS}, because when the compiler is clang, it outputs directives that are too advanced for our old gas. So we use clang's integrated assembler instead. (When the compiler is gcc, it just calls gas, and nothing is different, except one extra fork.) However, in the .s to .o rules in lib/csu/$ARCH/Makefile, I still passed CFLAGS to the compiler, instead of ACFLAGS, which are specifically for compiling .s files. In case you are using '-g' for debug info anywhere in your CFLAGS, it causes the .s files to already contain debug information in the assembly itself. In the next step, the .s files are also compiled using '-g', and if the compiler is clang, it complains: "error: input can't have .file dwarf directives when -g is used to generate dwarf debug info for assembly code". Fix this by using ${ACFLAGS} for compiling the .s files instead. Reported by: jasone END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-27T08:49:15.654705Z K 7 svn:log V 42 Fix RAID5 level names changed at r234603. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-27T09:22:46.094105Z K 7 svn:log V 33 Style. Suggested by: dumbbell @ END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-27T11:29:09.187219Z K 7 svn:log V 65 r234173 missed one instance of FREE(line). Noticed by: glebius@ END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-04-27T13:41:20.107994Z K 7 svn:log V 63 Turn releng/8.3 over to secteam. Approved by: core (implicit) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-27T13:58:09.438737Z K 7 svn:log V 73 Remove unused structure. Reported by Irene Ruengeler. MFC after: 3 days END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-04-27T15:35:09.303791Z K 7 svn:log V 140 Add a note to hostapd.conf about an unhelpful error message in the hope that it won't confuse anyone else in the future. MFC after: 1 week END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-04-27T17:25:13.241654Z K 7 svn:log V 43 Remove wrong jail options added by mistake END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-27T18:05:24.450905Z K 7 svn:log V 215 MFC r234503: Replace homegrown list implementation in sys/dev/asr/asr.c with STAILQ(). While here, fix another clang warning about a switch which tests an enum type for a regular integer value. Submitted by: jhb END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-27T18:08:15.347765Z K 7 svn:log V 787 MFC r234506: Fix the following compilation warnings in nxge(4): sys/dev/nxge/if_nxge.c:1276:11: error: case value not in enumerated type 'xge_hal_event_e' (aka 'enum xge_hal_event_e') [-Werror,-Wswitch] case XGE_LL_EVENT_TRY_XMIT_AGAIN: ^ sys/dev/nxge/if_nxge.c:1289:11: error: case value not in enumerated type 'xge_hal_event_e' (aka 'enum xge_hal_event_e') [-Werror,-Wswitch] case XGE_LL_EVENT_DEVICE_RESETTING: ^ This is because the switch uses xge_queue_item_t::event_type, which is an enum xge_hal_event_e, while the XGE_LL_EVENT_xx values are of the enum xge_event_e. Since messing around with the enum definitions is too disruptive, the simplest fix is to cast the argument of the switch to int. Reviewed by: gnn END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-27T18:21:45.383855Z K 7 svn:log V 1495 MFC r234507: Fix the following compilation warnings in sys/contrib/rdma/rdma_cma.c: sys/contrib/rdma/rdma_cma.c:1259:8: error: case value not in enumerated type 'enum iw_cm_event_status' [-Werror,-Wswitch] case ECONNRESET: ^ @/sys/errno.h:118:20: note: expanded from macro 'ECONNRESET' #define ECONNRESET 54 /* Connection reset by peer */ ^ sys/contrib/rdma/rdma_cma.c:1263:8: error: case value not in enumerated type 'enum iw_cm_event_status' [-Werror,-Wswitch] case ETIMEDOUT: ^ @/sys/errno.h:124:19: note: expanded from macro 'ETIMEDOUT' #define ETIMEDOUT 60 /* Operation timed out */ ^ sys/contrib/rdma/rdma_cma.c:1260:8: error: case value not in enumerated type 'enum iw_cm_event_status' [-Werror,-Wswitch] case ECONNREFUSED: ^ @/sys/errno.h:125:22: note: expanded from macro 'ECONNREFUSED' #define ECONNREFUSED 61 /* Connection refused */ ^ This is because the switch uses iw_cm_event::status, which is an enum iw_cm_event_status, while ECONNRESET, ETIMEDOUT and ECONNREFUSED are just plain defines from errno.h. It looks like there is only one use of any of the enumeration values of iw_cm_event_status, in: sys/contrib/rdma/rdma_iwcm.c: if (iw_event->status == IW_CM_EVENT_STATUS_ACCEPTED) { So messing around with the enum definitions to fix the warning seems too disruptive; the simplest fix is to cast the argument of the switch to int. Reviewed by: kmacy END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-27T19:26:19.469232Z K 7 svn:log V 144 Fix several 'format string is not a literal' warnings in sysinstall. Since sysinstall does not exist anymore in head, this is a direct commit. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-27T20:10:43.563638Z K 7 svn:log V 144 MFC 234611: Update the bugs section. We don't consider tmpfs as experimental, though we do not claim to support all mount options equally well. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-04-27T20:16:20.065009Z K 7 svn:log V 37 Allow building a powerpc cross-kgdb. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-27T20:23:24.183322Z K 7 svn:log V 371 Fix a leak of namei lookup path buffers that occurs when a ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server code didn't handle the case where a file system sets the SAVENAME flag in its VOP_LOOKUP() and ZFS does this for the DELETE case. Tested by: Oliver Brandmueller (ob at gruft.de), hrs PR: kern/167266 MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-27T21:40:51.847828Z K 7 svn:log V 89 MFH r203377, r215680, r227044, r227105: mainly, respect passwordtime. PR: 93310, 93473 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-27T22:23:06.509302Z K 7 svn:log V 475 It was reported via email that some non-FreeBSD NFS servers do not include file attributes in the reply to an NFS create RPC under certain circumstances. This resulted in a vnode of type VNON that was not usable. This patch adds an NFS getattr RPC to nfs_create() for this case, to fix the problem. It was tested by the person that reported the problem and confirmed to fix this case for their server. Tested by: Steven Haber (steven.haber at isilon.com) MFC after: 2 weeks END K 10 svn:author V 3 rmh K 8 svn:date V 27 2012-04-27T22:27:21.608943Z K 7 svn:log V 166 Increase DFLDSIZ from 128 MiB to 32 GiB. On amd64 there's plenty of virtual memory available, so there is no need to be so conservative about it. Reviewed by: arch END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-04-27T23:39:21.927067Z K 7 svn:log V 50 Fix the dates and history as of the move to HEAD. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-28T00:12:23.660264Z K 7 svn:log V 440 After switching mutexes to use lwsync, they no longer provide sufficient guarantees on acquire for the tlbie mutex. Conversely, the TLB invalidation sequence provides guarantees that do not need to be redundantly applied on release. Roll a small custom lock that is just right. Simultaneously, convert the SLB tree changes back to lwsync, as changing them to sync was a misdiagnosis of the tlbie barrier problem this commit actually fixes. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-04-28T02:48:51.897920Z K 7 svn:log V 377 Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd. 1. The licensing terms for the MD2 routines from RFC is not under a BSD-like license. Instead it is only granted for non-commercial Internet Privacy-Enhanced Mail. 2. MD2 is quite deprecated as it is no longer considered a cryptographically strong algorithm. Discussed with: so (cperciva), core END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T03:07:36.572748Z K 7 svn:log V 407 Add an AR5416 PCU DMA stop method, as a check for the AR9130 is needed. The reference driver has a 3ms delay for the AR9130 but I'm not as yet sure why. From what I can gather, it's likely waiting for some FIFO flush to occur. At some point in the future it may be worthwhile adding a WMAC FIFO flush here, but that'd require some side-call through to the SoC DDR flush routines. Obtained from: Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T05:00:47.417202Z K 7 svn:log V 115 Add a comment about this DELAY(), I'm not sure whether it's supposed to be for a DDR/FIFO flush or something else. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T08:12:51.242024Z K 7 svn:log V 135 Extend the HAL channel survey statistics: * include ext_chan_busy; * include ofdm/cck phy error counts, which aren't yet implemented. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T08:15:40.013113Z K 7 svn:log V 122 Fetch the channel survey code from the HAL. This information is currently not being populated by any of the HAL modules. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T08:17:19.262768Z K 7 svn:log V 237 Add a tool to print out min, average and max channel survey information from the current channel. There seem to be some occasional issues with the extension channel counters reporting more than 100% of use. I'll investigate that soon. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T08:29:46.465579Z K 7 svn:log V 1043 Extend the ANI code to implement basic channel survey support. * Always call ar5416GetListenTime() * Modify ar5416GetListenTime() to: + don't update the ANI state if there isn't any ANI state; + don't update the channel survey state if there's no active channel - just to be paranoid + copy the channel survey results into the current sample slot based on the current channel; then increment the sample counter and sample history counter. * Modify ar5416GetMIBCyclesPct() to simply return a HAL_SURVEY_SAMPLE, rather than a set of percentages. The ANI code wasn't using the percentages anyway. TODO: * Create a new function which fetches the survey results periodically * .. then modify the ANI code to use the pre-fetched values rather than fetching them again * Roll the 11n ext busy function from ar5416_misc.c to update all the counters, then do the result calculation * .. then, modify the MIB counter routine to correctly fetch a snapshot - freeze the counters, fetch the values, then reset the counters. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-28T09:15:01.166049Z K 7 svn:log V 845 MFC r225941: Fix an unaligned access issue; tidy up OFDM/DS rate decoding from the PLCP. This fixes a panic on PPC. Submitted by: novel Obtained from: OpenBSD, sys/dev/ic/bwi.c r1.89 MFC r226181: Update from OpenBSD: Include 0x4402 in the bbp id mapping table used on older devices. http://bcm-specs.sipsolutions.net/BackPlane agrees. Obtained from: OpenBSD, sys/dev/ic/bwi.c r1.88 MFC r226182: Fix an incorrect use of sizeof(). Obtained from: OpenBSD sys/dev/ic/bwi.c r1.87 MFC r228621: Fix some net80211 enum nits: - ic_vap_create() uses an ieee80211_opmode argument - ieee80211_rate2media() takes an ieee80211_phymode argument - ieee80211_plcp2rate() takes an ieee80211_phytype argument - cast to enum ieee80211_protmode and ieee80211_roamingmode to silence compiler warnings Submitted by: arundel@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-28T09:18:20.414203Z K 7 svn:log V 244 MFC r228572: Fix format string Z --> z, since the former is a deprecated and (in FreeBSD) unsupported form of the latter. This change has been reviewed and accepted in the -hackers list. Submitted by: Alexander Best Reviewed by: David Schulz END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-28T09:21:43.809414Z K 7 svn:log V 415 MFC r234540: Fix the following clang warning in dpt(4): sys/dev/dpt/dpt_scsi.c:612:18: error: implicit truncation from 'int' to bitfield changes value from -2 to 2 [-Werror,-Wconstant-conversion] dpt->cache_type = DPT_CACHE_WRITEBACK; ^ ~~~~~~~~~~~~~~~~~~~ by defining DPT_CACHE_WRITEBACK as 2, since dpt_softc::cache_type is an unsigned bitfield. No binary change. MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-28T10:59:29.522228Z K 7 svn:log V 151 Follow up r234711 and do same for the supplicant, one file/option per line. While here merge the options which are always enabled. MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-28T11:01:12.703669Z K 7 svn:log V 89 enable EAP_GTC and EAP_OTP to match upstream's default configuration MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-28T11:02:32.934582Z K 7 svn:log V 109 not only the file names have changed from eap_xxx.c to eap_server_xxx.c, the defines too MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-28T11:11:53.663578Z K 7 svn:log V 230 Move crypto stuff into a common Makefile. While here fix the WITHOUT_OPENSSL build by using the wpa's internal crypto support if openssl is not available, this allows us to unconditionally enable EAP support. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-04-28T14:42:49.117291Z K 7 svn:log V 29 Fix build on 32-bit systems. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-04-28T16:28:00.597262Z K 7 svn:log V 290 MSI-x interrupt support for PCI pass-thru devices. Includes instruction emulation for memory r/w access. This opens the door for io-apic, local apic, hpet timer, and legacy device emulation. Submitted by: ryan dot berryhill at sandvine dot com Reviewed by: grehan Obtained from: Sandvine END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-28T16:32:49.135469Z K 7 svn:log V 39 Whitespace changes. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-28T17:29:08.896414Z K 7 svn:log V 107 MFC r232166 Simplify vm_mmap()'s control flow. Add a comment describing what vm_mmap_to_errno() does. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-28T17:54:54.680602Z K 7 svn:log V 85 MFC r234554 Updates to the vm_page's flags no longer require the page queues lock. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-28T18:03:57.876502Z K 7 svn:log V 225 MFC r233097 With the changes over the past year to how accesses to the page's dirty field are synchronized, there is no need for pmap_protect() to acquire the page queues lock unless it is going to access the pv lists. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-28T18:43:27.941941Z K 7 svn:log V 77 MFC r234039 Fix mincore(2) so that it reports PG_CACHED pages as resident. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-28T18:46:48.330336Z K 7 svn:log V 311 MFC r234556: When MAP_STACK mapping is created, the map entry is created only to cover the initial stack size. For MCL_WIREFUTURE maps, the subsequent call to vm_map_wire() to wire the whole stack region fails due to VM_MAP_WIRE_NOHOLES flag. Use the VM_MAP_WIRE_HOLESOK to only wire mapped part of the stack. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T18:56:17.092749Z K 7 svn:log V 68 Although not strictly needed, quieten a compiler warning by a user. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-28T18:57:27.637817Z K 7 svn:log V 136 Fix several memory and lock leaks on the out of memory condition. Reported by: Matt Miller MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-28T20:23:13.981351Z K 7 svn:log V 130 As of r226840, GELI starts one thread per CPU. PR: 167382 Submitted by: John W. O'Brien (john%saltant.com) X-Needs-MFC: r226840 END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-28T20:34:14.962602Z K 7 svn:log V 254 MFC r234038 If a page belonging a reservation is cached, then mark the reservation so that it will be freed to the cache pool rather than the default pool. Otherwise, the cached pages within the reservation may be recycled sooner than necessary. END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-04-28T20:52:20.351963Z K 7 svn:log V 355 Import stdbuf(1) and the shared library it relies on. This tool changes the default buffering behaviour of standard stdio streams. It only works on dynamic binaries. To make it work for static ones it would require cluttering stdio because there no single entry point. PR: 166660 Reviewed by: current@, jhb Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-04-28T21:50:30.442957Z K 7 svn:log V 84 Fix small documentation mistakes. Submitted by: brueffer Approved by: kib (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T22:03:19.401071Z K 7 svn:log V 517 After thinking about this a bit more, let's not keep statistics per-channel in the HAL. That's very memory hungry (32k just for channel statistics) which would be better served by keeping a summary in the ANI state. Or, later, keep a survey history in net80211. So: * Migrate the ah_chansurvey array to be a single entry, for the current channel. * Change the ioctl interface and ANI code to just reference that. * Clear the ah_chansurvey array during channel reset, both in the AR5212 and AR5416 reset path. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-04-28T22:48:00.513948Z K 7 svn:log V 386 As cron(8) is started with '-s' by default, timezones that observe DST should not need to worry about scheduling jobs when the DST time changes. Rather than removing the BUGS section in crontab(5) regarding this, note that disabling '-s' may still cause jobs to be executed twice or not at all. PR: 166318 Submitted by: Florian k Unglaub (f.unglaub%googlemail!com) MFC After: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-04-28T23:05:08.079478Z K 7 svn:log V 254 MFC r234038 If a page belonging a reservation is cached, then mark the reservation so that it will be freed to the cache pool rather than the default pool. Otherwise, the cached pages within the reservation may be recycled sooner than necessary. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-04-28T23:13:09.148482Z K 7 svn:log V 290 Change cc -> bc : "bc" is "busy count", which is the % of time the channel is considered "busy but not doing any active TX or frame RX." Just keep in mind that "frame RX" is "decoding what looks like a wifi signal", not necessarily "frame successfully decoded for this particular device." END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-29T00:59:38.841390Z K 7 svn:log V 81 Fix the last byte written field of the layout commit operation for NFSv4.1 PNFS. END K 10 svn:author V 3 jlh K 8 svn:date V 27 2012-04-29T08:17:44.375135Z K 7 svn:log V 86 Use standard getopt(3) error message. Submitted by: jilles Approved by: kib (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-04-29T08:50:50.260189Z K 7 svn:log V 341 MFC r233554: Export the udp_cksum sysctl for upcoming SCTP work. Rather than always, SCTP will only do IPv4 UDP checksum calculation as defined by the host policy. When tunneling SCTP always calculates the inner checksum already so not doing the outer UDP can save cycles. While here virtualize the variable. Requested by: tuexen END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-04-29T08:51:06.492825Z K 7 svn:log V 341 MFC r233554: Export the udp_cksum sysctl for upcoming SCTP work. Rather than always, SCTP will only do IPv4 UDP checksum calculation as defined by the host policy. When tunneling SCTP always calculates the inner checksum already so not doing the outer UDP can save cycles. While here virtualize the variable. Requested by: tuexen END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-29T09:32:44.167157Z K 7 svn:log V 194 Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-29T09:37:02.715236Z K 7 svn:log V 23 Regenerate src.conf(5) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-29T10:04:20.267596Z K 7 svn:log V 311 MFC r234556: When MAP_STACK mapping is created, the map entry is created only to cover the initial stack size. For MCL_WIREFUTURE maps, the subsequent call to vm_map_wire() to wire the whole stack region fails due to VM_MAP_WIRE_NOHOLES flag. Use the VM_MAP_WIRE_HOLESOK to only wire mapped part of the stack. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-04-29T11:04:31.382842Z K 7 svn:log V 189 Add a convenience macro for the returns_twice attribute, and apply it to the prototypes of the appropriate functions (getcontext, savectx, setjmp, sigsetjmp and vfork). MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-04-29T12:48:52.099006Z K 7 svn:log V 211 Fix WITHOUT_EXAMPLES build: While removing unnecessary entries from .PATH.c I missed that for the examples WPA_SUPPLICANT_DISTDIR/HOSTAPD_DISTDIR is explicitly added to .PATH. Tested by: lev MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T13:34:37.400325Z K 7 svn:log V 83 MFC r233311: Small cleanup of the code. No functional change (in FreeBSD kernel). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T13:37:32.246161Z K 7 svn:log V 92 MFC r233597: Honor the net.inet.udp.checksum sysctl when using SCTP/UDP/IPv4 encapsulation. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-29T15:54:40.399252Z K 7 svn:log V 89 Add multiple inclusion protection. PR: 165025 Submitted by: Gavin Mu MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:10:24.833203Z K 7 svn:log V 91 MFC r233660: Make stream our stream reset implementation compliant to RFC6525. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:12:31.479884Z K 7 svn:log V 58 MFC r233940: Remove duplicate condition in if statement. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-29T16:14:09.099373Z K 7 svn:log V 121 Drag in subr_acl_nfs4.c for ZFS automatically, otherwise it's unintuitive that "options zfs" requires "options ufs_acl". END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:16:31.114563Z K 7 svn:log V 107 MFC r234296,r234297: Bugfix: Don't send HBs on path which are not idle. Send always HBs when in PF state. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:20:29.484374Z K 7 svn:log V 291 MFC r234459: Fix a bug where we copy out more data from a mbuf chain that are actually in it. This happens when SCTP receives an unknown chunk, which requires the sending of an ERROR chunk, and there is no final padding but the chunk is not 4-byte aligned. Reported by yueting via rwatson@ END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-04-29T16:21:47.080821Z K 7 svn:log V 85 Partially revert r232938; ZFS only requires nfs4 but not posix1e. Submitted by: jhb END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:22:55.334629Z K 7 svn:log V 34 MFC r234460: Fix reported errno. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:25:01.023849Z K 7 svn:log V 64 MFC r234461: Use the same pattern for mbuf logging everywhere. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:26:55.063712Z K 7 svn:log V 34 MFC r234464: Whitespace changes. END K 10 svn:author V 3 das K 8 svn:date V 27 2012-04-29T16:28:39.558537Z K 7 svn:log V 715 Previously, vfscanf()'s wide character processing functions were reading wide characters manually. With this change, they now use fgetwc(). To make this work, we use an internal version of fgetwc() with a few extensions: it takes an mbstate * because non-wide streams don't have a built-in mbstate, and it indicates the number of bytes read. vfscanf() now resembles vfwscanf() more closely. Minor functional improvements include working xlocale support in vfscanf(), setting the stream error indicator on encoding errors, and proper handling of shift-based encodings. (Actually, making shift-based encodings work with non-wide streams is hopeless, but the implementation now matches the broken specification.) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:29:39.170459Z K 7 svn:log V 60 MFC r234539: Fix check used by stream reset related events. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:33:30.219148Z K 7 svn:log V 75 MFC r234614: Use the flags defined in RFC 6525 in the stream reset event. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T16:35:55.275015Z K 7 svn:log V 137 MFC r234699: Fix a type in an SCTP AUTH related notification. Keep the old name for backwards compatibility. Spotted by Irene Ruengeler. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-04-29T17:12:33.802841Z K 7 svn:log V 227 Add support for Multi-TT mode of modern USB HUBs. This will give you more bandwidth for isochronous FULL speed applications connected through a High Speed HUB. This patch has been tested with XHCI and EHCI. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:28:58.991932Z K 7 svn:log V 83 MFC r233311: Small cleanup of the code. No functional change (in FreeBSD kernel). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:31:29.575140Z K 7 svn:log V 93 MFC r233597: Honor the net.inet.udp.checksum sysctl when using SCTP/UDP/IPv4 encapsulation. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:35:19.550731Z K 7 svn:log V 91 MFC r233660: Make stream our stream reset implementation compliant to RFC6525. From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:37:26.794501Z K 7 svn:log V 58 MFC r233940: Remove duplicate condition in if statement. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:40:41.089773Z K 7 svn:log V 107 MFC r234296,r234297: Bugfix: Don't send HBs on path which are not idle. Send always HBs when in PF state. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:42:49.605015Z K 7 svn:log V 289 MFC r234459: Fix a bug where we copy out more data from a mbuf chain that are ctually in it. This happens when SCTP receives an unknown chunk, which requires the sending of an ERROR chunk, and there is no final padding but the chunk is not 4-byte aligned. Reported by yueting via rwatson@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:44:24.882881Z K 7 svn:log V 33 MFC r234460: Fix reported errno. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:46:19.896880Z K 7 svn:log V 63 MFC r234461: Use the same pattern for mbuf logging everywhere. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:48:00.416085Z K 7 svn:log V 33 MFC r234464: Whitespace changes. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:50:16.323907Z K 7 svn:log V 60 MFC r234539: Fix check used by stream reset related events. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:52:22.643479Z K 7 svn:log V 74 MFC r234614: Use the flags defined in RFC 6525 in the stream reset event. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-29T18:55:52.469610Z K 7 svn:log V 138 MFC r234699: Fix a type in an SCTP AUTH related notification. Keep the old name for backwards compatibility. Spotted by Irene Ruengeler. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-04-29T19:40:50.909747Z K 7 svn:log V 17 s/gmirror/graid/ END K 10 svn:author V 7 dmarion K 8 svn:date V 27 2012-04-29T20:27:44.312487Z K 7 svn:log V 99 GIC and MPCore Timers code is shared between all Cortex-A9 SoCs so move them to the neutral place. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-29T22:01:23.005454Z K 7 svn:log V 177 Fix the NFSv4.1 client so that it doesn't ask for a persistent session for read only mounts. Also, mark whether or not the server has provided a persistent session for the MDS. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-29T22:19:58.533605Z K 7 svn:log V 232 Allow users of gprof to get per run output files (using the pid) PR: bin/99800 Submitted by: Peter Jeremy Reviewed by: jilles (code) Reviewed by: dwhite (doc) Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-29T22:23:00.419542Z K 7 svn:log V 153 pread(2) might fail with EBUSY, so document it PR: docs/167201 Submitted by: Kurt Jaeger Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-29T22:28:15.404292Z K 7 svn:log V 196 Add support for: Olympus FE-210 camera LG UP3S MP3 player Laser MP3-2GA13 MP3 PR: usb/119201 Submitted by: Peter Jeremy Approved by: cperciva MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-04-29T22:29:28.869784Z K 7 svn:log V 160 Add a flag to nfsrpc_createsession() to indicate when it is called for the MDS, so that it can ask for a backchannel and flag that it got a persistent session. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-04-29T22:29:48.138835Z K 7 svn:log V 127 Copy recent changes from etc/root/dot.cshrc that make the defaults more user friendly Approved by: cperciva MFC after: 3 days END K 10 svn:author V 3 gad K 8 svn:date V 27 2012-04-30T00:54:10.297341Z K 7 svn:log V 197 Catch the user-error when no queue name was specified on an lpc-command which supports '-msg' (e.g.: setstatus). Print out a helpful error message instead hitting a seg-fault. MFC after: 3 weeks END K 10 svn:author V 3 das K 8 svn:date V 27 2012-04-30T01:08:18.375850Z K 7 svn:log V 605 Fix a bug in *wscanf's handling of non-wide %s, %c, and %[ conversions. Both the specification and the documentation say the width is interpreted as the max number of wide characters to read, but the implementation was interpreting it as the number of bytes to convert. (See also r105317.) This change has security implications for any applications that depend on the buggy behavior, but the impact in practice is probably nil. Any such application would already be buggy on other platforms that get the semantics right. Also, these conversions are rarely used; %ls, %lc, and %l[ are more appropriate. END K 10 svn:author V 3 gad K 8 svn:date V 27 2012-04-30T01:10:13.487337Z K 7 svn:log V 260 Print out a warning message if a `lpc setstatus' is done when the queue is not 'lpc stop'-ed. In that situation `lpq' will not display the status message to the user, and the operator may think the queue is already stopped when it is not. MFC after: 3 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-30T06:48:18.440107Z K 7 svn:log V 67 MFC r234731: Remove unused structure. Reported by Irene Ruengeler. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-30T06:54:44.287011Z K 7 svn:log V 67 MFC r234731: Remove unused structure. Reported by Irene Ruengeler. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-04-30T07:32:39.981972Z K 7 svn:log V 112 The returned file descriptor from pdfork(2) is via fdp, not pidp. Submitted by: Norman Hardy MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-04-30T08:00:52.096689Z K 7 svn:log V 92 fix a further typo in the pdfork(2) man page. Submitted by: Norman Hardy MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2012-04-30T08:44:10.427730Z K 7 svn:log V 202 Make sure that the firmware version is available in dev.t4nex.X.firmware_version even if the driver fails to attach properly. At least it'll be easy to tell what we're dealing with. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-04-30T08:44:21.980157Z K 7 svn:log V 112 Add support for missing gauth_number_of_chunks field. This Bug was found by Irene Ruengeler. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2012-04-30T09:46:05.936541Z K 7 svn:log V 175 Change the default to not use packet counters to generate rx interrupts. Rely solely on the timer based mechanism. Update man page to reflect this change. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-04-30T10:22:23.288153Z K 7 svn:log V 208 Move several enums and structures required for L2 filtering from ip_fw_private.h to ip_fw.h. Remove ipfw/ip_fw_private.h header from non-ipfw code. Approved by: ae(mentor) MFC after: 2 weeks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-04-30T11:14:46.345468Z K 7 svn:log V 36 Merge head r233826 through r234834. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-04-30T11:28:17.379555Z K 7 svn:log V 827 Remove incorrect __restrict qualifier on several pointers The typical case was: static __inline int convert_ccl(FILE *fp, char * __restrict p, [...]) { [...] if (p == SUPPRESS_PTR) { [...] } else { [...] } [...] } This qualifier says that the pointer is the only one at that time pointing to the resource. Here, clang considers that "p" will never match "SUPPRESS_PTR" and optimize the if{} block out. This leads to segfaults in programs calling vfscanf(3) and vfwscanf(3) with just the format string (no arguments following it). The following softwares were reported to abort with segmentation fault and this patch fixes it: o cmake o smartd o devel/ORBit2 dim@ opened an LLVM PR to discuss this clang optimization: http://llvm.org/bugs/show_bug.cgi?id=12656 Tested by: bsam@ END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-30T12:11:45.217765Z K 7 svn:log V 305 Since the socket is non-blocking, it is necessary to use select(2) even when there is no timeout, because read(2) will return immediately if there is no data waiting in the TCP buffer, causing fetch_read() to busy-loop on slow connections. MFC after: 3 weeks Noticed by: Yanhui Shen END K 10 svn:author V 3 des K 8 svn:date V 27 2012-04-30T12:12:48.290619Z K 7 svn:log V 127 Don't reuse credentials if redirected to a different host. Submitted by: Niels Heinen MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-30T13:07:21.276209Z K 7 svn:log V 108 MFC r234616: Allow for the process information sysctls to accept a thread id in addition to the process id. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-30T13:29:21.480245Z K 7 svn:log V 335 Split the symlook_obj1 into a loop iterating over the ELF object symbol hash elements, and a helper matched_symbol() which match the given hash entry and request, performing needed type and version checks. Based on dragonflybsd support for GNU hash by John Marino Reviewed by: kan Tested by: bapt MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-04-30T13:31:10.752319Z K 7 svn:log V 160 Add GNU hash support for rtld. Based on dragonflybsd support for GNU hash by John Marino Reviewed by: kan Tested by: bapt MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2012-04-30T13:34:15.502385Z K 7 svn:log V 2055 MFC r233507: Use program exit status as pam_exec return code (optional) pam_exec(8) now accepts a new option "return_prog_exit_status". When set, the program exit status is used as the pam_exec return code. It allows the program to tell why the step failed (eg. user unknown). However, if it exits with a code not allowed by the calling PAM service module function (see $PAM_SM_FUNC below), a warning is logged and PAM_SERVICE_ERR is returned. The following changes are related to this new feature but they apply no matter if the "return_prog_exit_status" option is set or not. The environment passed to the program is extended: o $PAM_SM_FUNC contains the name of the PAM service module function (eg. pam_sm_authenticate). o All valid PAM return codes' numerical values are available through variables named after the return code name. For instance, $PAM_SUCCESS, $PAM_USER_UNKNOWN or $PAM_PERM_DENIED. pam_exec return code better reflects what went on: o If the program exits with !0, the return code is now PAM_PERM_DENIED, not PAM_SYSTEM_ERR. o If the program fails because of a signal (WIFSIGNALED) or doesn't terminate normally (!WIFEXITED), the return code is now PAM_SERVICE_ERR, not PAM_SYSTEM_ERR. o If a syscall in pam_exec fails, the return code remains PAM_SYSTEM_ERR. waitpid(2) is called in a loop. If it returns because of EINTR, do it again. Before, it would return PAM_SYSTEM_ERR without waiting for the child to exit. Several log messages now include the PAM service module function name. The man page is updated accordingly. Reviewed by: des@ Sponsored by: Yakaz (http://www.yakaz.com) MFC r234184: Fix error messages containing the executed command name Before, we took the first argument to pam_exec(8). With the addition of options in front of the command, this could be wrong. Now, options are parsed before calling _pam_exec() and messages contain the proper command name. While here, fix a warning. Sponsored by: Yakaz (http://www.yakaz.com) END