summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/stable/10' into develLuiz Otavio O Souza2016-04-1733-50/+2593
|\
| * Merge r298008scottl2016-04-171-2/+20
| | | | | | | | | | | | Update the devd.conf man page to describe the new CAM/periph system/subsystem. Sponsored by: Netflix
| * MFC r298004:scottl2016-04-171-2/+103
| | | | | | | | | | | | | | | | | | | | Add a devctl/devd notification conduit for CAM errors that happen at the periph level. Due to not merging the changes to ata_res_sbuf(), this version is a little messy. Sponsored by: Netflix
| * MFC r287009, r287120 and r298131:loos2016-04-1625-21/+990
| | | | | | | | | | | | | | | | | | | | | | | | | | Add ALTQ(9) support for the CoDel algorithm. CoDel is a parameterless queue discipline that handles variable bandwidth and RTT. It can be used as the single queue discipline on an interface or as a sub discipline of existing queue disciplines such as PRIQ, CBQ, HFSC, FAIRQ. Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate)
| * Fix the build.loos2016-04-163-3/+3
| | | | | | | | | | pointy hat to: loos Reported by: gjb, Herbert J. Skuhra
| * Partial MFC of r297933scottl2016-04-162-8/+24
| | | | | | | | | | | | Add sbuf variants ata_cmd_sbuf() Sponsored by: Netflix
| * MFC r297925, r297926:scottl2016-04-162-17/+32
| | | | | | | | | | | | | | | | | | | | Add scsi_cdb_sbuf() for handling CDB strings. Reimplement scsi_cdb_string() in terms of it. Use scsi_cdb_sbuf() inside of scsi_command_string now that the temporary string storage is no longer needed. Sponsored by: Netflix
| * MFC r284777, r284814, r284863 and r298088:loos2016-04-1616-6/+1430
| | | | | | | | | | | | | | | | ALTQ FAIRQ discipline import from DragonFLY. Differential Revision: https://reviews.freebsd.org/D2847 Obtained from: pfSense Sponsored by: Rubicon Communications (Netgate)
* | Revert "MFC r284777:"Luiz Otavio O Souza2016-04-1716-1445/+6
| | | | | | | | | | | | This reverts commit c548a571ceaeae698d02b862b4170d015a265ba7. TAG: FAIRQ
* | Revert "MFC r284814:"Luiz Otavio O Souza2016-04-171-4/+19
| | | | | | | | | | | | This reverts commit 69cf34d51f20b467d13ccf4f94f79c4e479b26bc. TAG: FAIRQ
* | Revert "MFC r284863:"Luiz Otavio O Souza2016-04-171-2/+2
| | | | | | | | | | | | This reverts commit 345e414aceb6e896ae280ea4ddd44d1bde6cc349. TAG: FAIRQ
* | Revert "MFC r287009:"Luiz Otavio O Souza2016-04-1724-989/+21
| | | | | | | | | | | | This reverts commit 9622cc803af75551a6623d5d9c5311f1e0af1cb5. TAG: CODEL
* | Revert "MFC r287120:"Luiz Otavio O Souza2016-04-172-2/+2
| | | | | | | | | | | | This reverts commit 9c716f4f2fda10bca9fd54293b2f4fe9de1e9198. TAG: CODEL
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-04-1525-96/+382
|\ \ | |/
| * MFC r297637:ngie2016-04-151-0/+2
| | | | | | | | | | | | | | | | | | Disable the NetBSD-specific EFAULT requirements test in gettimeofday_err FreeBSD doesn't specifically list this as a supported error, and in some configurations/versions of FreeBSD, this test will segfault as the memory address might be evaluated in userspace, instead of in kernel space like in NetBSD.
| * MFC r295012vangyzen2016-04-145-25/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | kqueue EVFILT_PROC: avoid collision between NOTE_CHILD and NOTE_EXIT NOTE_CHILD and NOTE_EXIT return something in kevent.data: the parent pid (ppid) for NOTE_CHILD and the exit status for NOTE_EXIT. Do not let the two events be combined, since one would overwrite the other's data. PR: 180385 Submitted by: David A. Bright <david_a_bright@dell.com> Sponsored by: Dell Inc.
| * MFC 297838asomers2016-04-141-39/+27
| | | | | | | | | | | | | | | | | | Fix an intermittent bug in sbin/devd/client_test.stream In case where the two events were being received in separate reads, the event buffer was being null-terminated at the wrong offset. Also, factored out some common code between the tests, and fixed a comment.
| * MFC 297678: Enhance uuencode with a -r option to produce raw output.gahr2016-04-142-5/+17
| | | | | | | | | | | | | | | | | | | | This matches with uudecode's -r option to decode raw data without initial and final framing lines. $ echo Test | uuencode -mr - | uudecode -mr Test Approved by: cognet
| * MFC r297672: Alike to r293708 relax pool check in vdev_geom_open_by_path().mav2016-04-141-1/+9
| | | | | | | | | | | | This made impossible spare disk open by known path, which kind of worked only because the same fix was applied to vdev_geom_attach_by_guids() in r293708.
| * MFC r297827:markj2016-04-141-0/+1
| | | | | | | | libdtrace: Add a missing unlock to an error handler.
| * MFC r297479, r297695:kevlo2016-04-142-6/+4
| | | | | | | | | | | | | | Update comment: Linux does set a randomized generation number of an inode on ext2/3/4. While here use arc4random() instead of random(). Reviewed by: pfg
| * MFC r297571:wblock2016-04-131-1/+7
| | | | | | | | | | Add another real-life example of setting a quirk for a USB gaming keyboard. From forum thread: https://forums.freebsd.org/threads/55717/
| * MFC r297476:brooks2016-04-131-2/+3
| | | | | | | | | | | | | | Add a cross reference to ktrace(2). Obtained from: CheriBSD (9cb420d6b7f04c1b7d2006180b80932e5d3fe50e) Sponsored by: DARPA, AFRL
| * MFC r297475:brooks2016-04-131-1/+3
| | | | | | | | | | | | | | Document KTRFAC_FAULT and KTRFAC_FAULTEND. Obtained from: CheriBSD (9d70f563f1b033e6a9b51eaf3b145a8cbbc6617c) Sponsored by: DARPA, AFRL
| * MFC r297626:bdrewery2016-04-131-1/+2
| | | | | | | | | | Follow-up r295924: Only sync hash-based db files open for writing when closing.
| * MFC r297387: Add some device IDs found on AMD FCH shipsets.mav2016-04-125-1/+13
| |
| * MFC r297386: Add support for AMD FCH watchdog timers.mav2016-04-122-11/+15
| |
| * Merge r285713 (by zec@) from head:glebius2016-04-111-3/+4
| | | | | | | | Prevent null-pointer dereferencing.
* | Fixup repos URLs for stable and develRenato Botelho2016-04-142-4/+4
| |
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2016-04-1191-785/+4050
|\ \ | |/
| * MFC r296685: libelf: correct byte count in cross-endian note translationemaste2016-04-111-0/+1
| | | | | | | | Sponsored by: The FreeBSD Foundation
| * MFC r275430: libelf: Fix cross-endian ELF note file / memory conversionemaste2016-04-111-5/+5
| | | | | | | | | | | | | | | | | | The namesz and descsz variables need to be used in native endianness. The sizes are in native order after swapping in the file to memory case, and before swapping in the memory to file case. This change is not identical to r275430 because r273443 was never merged to stable/10, and libelf moved from lib/ to contrib/elftoolchain/.
| * MFC r296769: boot/efi: Prefer nm to objdumpemaste2016-04-112-6/+6
| | | | | | | | | | | | | | | | | | Both objdump and nm are equally capable of reporting undefined symbols. This gets us a step closer to building without binutils as we have an nm implementation from ELF Tool Chain. Sponsored by: The FreeBSD Foundation
| * MFC r297535:kib2016-04-112-2/+0
| | | | | | | | Remove unused variable.
| * MFC 297358gnn2016-04-111-0/+1
| | | | | | | | Add ethertype reserved for network testing
| * MFC r297557:ache2016-04-111-1/+1
| | | | | | | | SJIS encoding don't have single byte characters >= 224
| * MFC 297673:mp2016-04-101-2/+2
| | | | | | | | | | | | | | Revert r296969 by removing SAVESIGVEC and switching to fork instead. This fixes usage with system libraries which maintain their own signal state. PR: 208132
| * MFC r297311:kib2016-04-103-3/+19
| | | | | | | | Ensure that TRIMs are finished before unmount destroys ufsmount.
| * MFC r297308:kib2016-04-101-2/+4
| | | | | | | | Style: wrap long lines.
| * MFC r278817: touch: Fix some subtle bugs related to NULL times fallback:jilles2016-04-101-28/+11
| | | | | | | | | | | | | | | | | | | | * Do not subvert vfs.timestamp_precision by reading the time and passing that to utimensat(). Instead, pass UTIME_NOW. A fallback to a NULL times pointer is no longer used. * Do not ignore -a/-m if the user has write access but does not own the file. Leave timestamps unchanged using UTIME_OMIT and do not fall back to a NULL times pointer (which would set both timestamps) if that fails.
| * MFC r277645: cp,mv,touch: Set timestamps with nanosecond precision.jilles2016-04-103-51/+48
| | | | | | | | This uses utimensat().
| * MFCR r297519, r297525 (by pfg@):dchagin2016-04-101-3/+4
| | | | | | | | Move Linux specific times tests up to guarantee the values are defined.
| * MFC r259017: test: Avoid looking up again the type of a known binaryjilles2016-04-091-7/+6
| | | | | | | | operator.
| * MFC r258799: test: Simplify the code by unifying op_num and op_type.jilles2016-04-091-78/+75
| | | | | | | | The global variable t_wp_op is no longer needed.
| * MFC r281086: utimensat: Correct Capsicum required capability rights.jilles2016-04-091-2/+4
| |
| * MFC r287753: setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD).jilles2016-04-091-7/+2
| |
| * MFC r297360: sh: Fix use-after-free if a trap replaces itself.jilles2016-04-093-1/+15
| | | | | | | | The mergeinfo for this commit was accidentally added to the previous commit.
| * MFC r278818: sh: Add stsavestr(), like savestr() but allocates usingjilles2016-04-094-12/+16
| | | | | | | | stalloc().
| * MFC r295385: semget(): Check for [EEXIST] error first.jilles2016-04-092-5/+14
| | | | | | | | | | | | | | | | | | | | Although POSIX literally permits failing with [EINVAL] if IPC_CREAT and IPC_EXCL were both passed, the semaphore set already exists and has fewer semaphores than nsems, this does not allow an application to retry safely: if the [EINVAL] is actually because of the semmsl limit, an infinite loop would result. PR: 206927
| * MFC r294924asomers2016-04-081-1/+1
| | | | | | | | | | | | | | | | | | syslogd: Enable repeated line compression for lines of any length. Enable repeated line compression for lines of any length, instead of only short lines. AFAICT repeated line compression was limited to short lines as a RAM optimization, which made sense when karels added it in 1988, but no longer. The penalty is a paltry 904B of RAM per file logged.
OpenPOWER on IntegriCloud