| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Misc fixes suggested by Coverity.
sbin/devd/tests/client_test.c
* In the event that popen fails, don't dereference its return value.
* Fix array overwrite in the stream and seqpacket tests.
* Close sockets at the end of successful ATF tests.
|
|
|
|
| |
PR: 206927
|
|
|
|
| |
Submitted by: Tomoaki AOKI <junchoon@dec.dakura.ne.jp>
|
|
|
|
|
|
| |
Idle priority is not even time-share, so if system is busy in any way,
those events may never be executed. Since in some cases system waits
for events processed by that thread, that may cause deadlocks.
|
|
|
|
| |
Add 4k enabled cam quirks for Samsung SM863 Series SSDs
|
| |
|
|
|
|
| |
Add ichwd TCO version 3 support (Bay Trail / Rangeley...)
|
|
|
|
|
|
|
|
|
|
|
|
| |
LinuxKPI atomic fixes:
- Fix implementation of atomic_add_unless(). The atomic_cmpset_int()
function returns a boolean and not the previous value of the atomic
variable.
- The atomic counters should be signed according to Linux.
- Some minor cosmetics and styling while at it.
Reviewed by: alfred @
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
| |
Fix bugs in currently unused bit searching loop.
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
|
| |
Fix crash in krping when run as a client due to NULL pointer access.
Initialize pointer in question which is used only when fast registers
mode is selected.
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
| |
Add missing curly brackets in for loop.
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
|
|
|
| |
Use hardware computed Toeplitz hash for incoming flowids
Use the Toeplitz hash value as source for the flowid. This makes the
hash value more suitable for so-called hash bucket algorithms which
are used in the FreeBSD's TCP/IP stack when RSS is enabled.
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix witness panic in the ipoib_ioctl() function when unloading the
ipoib module.
The bpfdetach() function is trying to turn off promiscious mode on the
network interface it is attached to while holding a mutex. The fix
consists of ignoring any further calls to the ipoib_ioctl() function
when the network interface is going to be detached. The ipoib_ioctl()
function might sleep.
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
| |
Add missing atomic wrapper macro.
Reviewed by: alfred @
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
| |
Allow for overlapping quirk device ranges. Prior to this patch only
the first device entry matching the USB vendor, product and revision
would be searched for quirks. After this patch all device entries will
be searched for quirks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve detection of extended QSFP diagnostics.
The standards in the QSFP diagnostics area are not clear when the
additional measurements are present or not. Use a valid temperature
reading as an indicator for the presence of voltage and TX/RX power
measurements.
Sponsored by: Mellanox Technologies
Tested by: Netflix
Differential Revision: https://reviews.freebsd.org/D5391
Reviewed by: gallatin
|
|
|
|
|
|
|
|
|
|
| |
Align signal stack pointer to 16 bytes.
The stack must be aligned to 16 bytes at all times. Clang 3.8 is especially
adamant about this, and causes strange behavior and segmentation faults if it is
not the case.
PR: kern/206810
|
|
|
|
| |
Modifications to achieve a common source base from FreeBSD7.x thru 10.x
|
|
|
|
|
|
|
|
|
|
| |
Use a SKIP testplan instead of bailing out if/when the tester isn't
root, or the geom class can't be loaded cleanly [*]
This makes sure that scenarios that are easy to hit aren't counted
as false positives with kyua test
PR: 208101
|
|
|
|
|
|
|
|
|
|
|
| |
- Include usr.sbin/mpsutil for management of mps(4) and mpr(4) utilities.
- Thanks to scottl and bapt for making this happen.
Submitted by: bapt scottl
Reviewed by: kbowling
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D5529
|
|
|
|
|
|
|
|
|
| |
Repair an overflow condition where a user could submit a string that was
not getting a proper bounds check.
PR: 206761
Submitted by: sson
Reviewed by: cturt@hardenedbsd.org
|
|
|
|
|
|
|
|
|
| |
Make dynamic link of libiconv from ports work again.
The symbols of libiconv from ports were changed to
have prefixed.
Since we have iconv in our libc these days, we don't
need it on 10.X and later. However, 9.X still need
this.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds Samsung PM851 to the list. It can be found in Lenovo Thinkpad
T440 for instance.
MFC of: r297370
Reviewed by: Kevin Bowling <kevin.bowling@kev009.com>,
Jason Wolfe <j@nitrology.com>
Approved by: Kevin Bowling <kevin.bowling@kev009.com>,
Jason Wolfe <j@nitrology.com>
Differential Revision: https://reviews.freebsd.org/D5753
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set watchdog timer parameters only when they really need to be changed.
In other cases just restart the timer with single Reset command instead
of two (Set and Reset).
From one side this visually reduces amount of CPU time burned in tight
loop waiting while some slow BMC configures its watchdog hardware, that
seems to be much more complicated task then just resetting the timer.
From another side on some BMCs those slow Set commands sometimes tend to
timeout, that leads to noisy log messages and even more CPU time burned,
so avoiding them can provide even bigger bonuses.
|
|
|
|
| |
Fix two more unhappy instances of "user land".
|
|
|
|
|
| |
Adjust misleading wording of the -G option and simplify a few
surrounding sentences. From a discussion on -ports.
|
|
|
|
|
|
|
|
| |
loader.efi: strip trailing whitespace
MFC: r293244 (remainder missing in r294275)
Introduce and use new EFI_ERROR_CODE macro for EFI errors
|
|
|
|
| |
Approved by: re (implicit)
|
| |
|
| |
|
|
|
|
| |
ENAMETOOLONG is much more informative in logs then ENXIO.
|
|
|
|
|
|
| |
This fixes creation of zvol devices for snapshots during zfs receive,
that previously failed with "ZFS WARNING: Unable to create ZVOL" message.
This solution is not perfect, but IMHO better then it was before.
|
| |
|