| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
Update the devd.conf man page to describe the new CAM/periph system/subsystem.
Sponsored by: Netflix
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| |
| |
| |
| |
| | |
pointy hat to: loos
Reported by: gjb, Herbert J. Skuhra
|
| |
| |
| |
| |
| |
| | |
Add sbuf variants ata_cmd_sbuf()
Sponsored by: Netflix
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
ALTQ FAIRQ discipline import from DragonFLY.
Differential Revision: https://reviews.freebsd.org/D2847
Obtained from: pfSense
Sponsored by: Rubicon Communications (Netgate)
|
| |
| |
| |
| |
| |
| | |
This reverts commit c548a571ceaeae698d02b862b4170d015a265ba7.
TAG: FAIRQ
|
| |
| |
| |
| |
| |
| | |
This reverts commit 69cf34d51f20b467d13ccf4f94f79c4e479b26bc.
TAG: FAIRQ
|
| |
| |
| |
| |
| |
| | |
This reverts commit 345e414aceb6e896ae280ea4ddd44d1bde6cc349.
TAG: FAIRQ
|
| |
| |
| |
| |
| |
| | |
This reverts commit 9622cc803af75551a6623d5d9c5311f1e0af1cb5.
TAG: CODEL
|
| |
| |
| |
| |
| |
| | |
This reverts commit 9c716f4f2fda10bca9fd54293b2f4fe9de1e9198.
TAG: CODEL
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
libdtrace: Add a missing unlock to an error handler.
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
Add another real-life example of setting a quirk for a USB gaming
keyboard. From forum thread: https://forums.freebsd.org/threads/55717/
|
| |
| |
| |
| |
| |
| |
| | |
Add a cross reference to ktrace(2).
Obtained from: CheriBSD (9cb420d6b7f04c1b7d2006180b80932e5d3fe50e)
Sponsored by: DARPA, AFRL
|
| |
| |
| |
| |
| |
| |
| | |
Document KTRFAC_FAULT and KTRFAC_FAULTEND.
Obtained from: CheriBSD (9d70f563f1b033e6a9b51eaf3b145a8cbbc6617c)
Sponsored by: DARPA, AFRL
|
| |
| |
| |
| |
| | |
Follow-up r295924: Only sync hash-based db files open for writing when
closing.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Prevent null-pointer dereferencing.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Sponsored by: The FreeBSD Foundation
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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/.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Remove unused variable.
|
| |
| |
| |
| | |
Add ethertype reserved for network testing
|
| |
| |
| |
| | |
SJIS encoding don't have single byte characters >= 224
|
| |
| |
| |
| |
| |
| |
| | |
Revert r296969 by removing SAVESIGVEC and switching to fork instead. This
fixes usage with system libraries which maintain their own signal state.
PR: 208132
|
| |
| |
| |
| | |
Ensure that TRIMs are finished before unmount destroys ufsmount.
|
| |
| |
| |
| | |
Style: wrap long lines.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
This uses utimensat().
|
| |
| |
| |
| | |
Move Linux specific times tests up to guarantee the values are defined.
|
| |
| |
| |
| | |
operator.
|
| |
| |
| |
| | |
The global variable t_wp_op is no longer needed.
|
| | |
|
| | |
|
| |
| |
| |
| | |
The mergeinfo for this commit was accidentally added to the previous commit.
|
| |
| |
| |
| | |
stalloc().
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|