mav
be27e37e53
Report disk addition errors on add
or create
subcommand.
...
MFC after: 1 week
2017-01-20 13:49:04 +00:00
avg
05e4e60349
don't abort writing of a core dump after EFAULT
...
It's possible to get EFAULT when writing a segment backed by a file
if the segment extends beyond the file.
The core dump could still be useful if we skip the rest of the segment
and proceed to other segements.
The skipped segment (or a portion of it) will be zero-filled.
While there, use 'const' to signify that core_write() only reads the
buffer and use __DECONST before calling vn_rdwr_inchunks() because it
can be used for both reading and writing.
Before the change:
kernel: Failed to write core file for process mmap_trunc_core (error 14)
kernel: pid 77718 (mmap_trunc_core), uid 1001: exited on signal 6
After the change:
kernel: Failed to fully fault in a core file segment at VA 0x800645000 with size 0x4000 to be written at offset 0x29000 for process mmap_trunc_core
kernel: pid 4901 (mmap_trunc_core), uid 1001: exited on signal 6 (core dumped)
Reviewed by: julian, kib
Obtained from: Panzura (older version of the change)
MFC after: 5 days
Sponsored by: Panzura
Differential Revision: https://reviews.freebsd.org/D9233
2017-01-20 13:39:07 +00:00
avg
fa73e5b5c7
vmm_dev: work around a bogus error with gcc 6.3.0
...
The error is:
vmm_dev.c: In function 'alloc_memseg':
vmm_dev.c:261:11: error: null argument where non-null required (argument 1) [-Werror=nonnull]
Apparently, the gcc is unable to figure out that if a ternary operator
produced a non-NULL value once, then the operator with exactly the same
operands would produce the same value again.
MFC after: 1 week
2017-01-20 13:21:27 +00:00
hselasky
c49cd7b58d
Make draining a sendqueue more robust.
...
Add own state variable to track if a sendqueue is stopped or not.
This will prevent traffic from entering the sendqueue while it is
being destroyed.
Update drain function to wait for traffic to be transmitted before
returning when the link state is active.
Add extra checks in transmit path for stopped SQ's.
While at it:
- Use likely() for a mbuf pointer check.
- Remove redundant IFF_DRV_RUNNING check.
MFC after: 1 week
Sponsored by: Mellanox Technologies
2017-01-20 12:02:40 +00:00
hselasky
ebf4085d99
Add runtime support for modifying the SQ and RQ completion event
...
moderation mode. The presence of this feature is indicated through the
firmware capabilities.
MFC after: 1 week
Sponsored by: Mellanox Technologies
2017-01-20 11:11:49 +00:00
hselasky
08255e2b1b
Update firmware interface structures and definitions adding support
...
for new features and commands.
MFC after: 1 week
Sponsored by: Mellanox Technologies
2017-01-20 10:47:32 +00:00
ngie
7a8206b011
Add some basic -s flag testcases for cut(1)
...
The remaining functionality seems to be covered in one form or
another via the NetBSD ATF testcase.
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 08:00:36 +00:00
adrian
8d8d1a126a
[net80211] allow for MCS16-23 to be statically configured.
...
Tested:
* AR9380, STA mode
2017-01-20 07:43:40 +00:00
ngie
2e6b42ecd7
Add testcases for -i with hardlinks and symlinks
...
The symlink testcase is expected to fail, post-r312519 (the revert of
r312404); mark it so.
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 07:11:21 +00:00
ngie
3a725cd2c5
Integrate contrib/netbsd-tests/usr.bin/sed/t_sed.sh into the FreeBSD test
...
suite as usr.bin/sed/sed_test
Don't expect :emptybackref to fail -- it succeeds on FreeBSD
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 06:47:02 +00:00
delphij
b2a10e48a7
Revert r312404 as we need to do an exp-run and fix existing ports that
...
rely on the previous behavior.
Requested by: antonie (portmgr)
2017-01-20 06:45:06 +00:00
ngie
351432640c
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 05:51:25 +00:00
ngie
8e431518c3
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 05:45:07 +00:00
ngie
84c6b8b7c6
Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
...
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:55:14 +00:00
ngie
571c2ec998
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:54:21 +00:00
ngie
a20dae3ad7
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:54:09 +00:00
ngie
db4eee8133
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:50 +00:00
ngie
4f6735a6a9
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:45 +00:00
ngie
c3d37b9960
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:40 +00:00
ngie
ea32ac0c79
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:26 +00:00
ngie
dff7e49047
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:20 +00:00
ngie
2ce4ae7894
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:00 +00:00
ngie
0748e44e51
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:52:29 +00:00
ngie
9ecf7f9023
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:52:00 +00:00
ngie
48764590ef
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:51:36 +00:00
ngie
1ba74bcedd
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:50:46 +00:00
ngie
64e1effe2b
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:50:19 +00:00
ngie
f439742eba
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:46:20 +00:00
ngie
8fe3eae668
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:45:09 +00:00
ngie
fefb324657
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:43:21 +00:00
ngie
7b1d98105e
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:42:43 +00:00
ngie
3bce609fc4
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:42:11 +00:00
ngie
fde44297e2
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:41:53 +00:00
ngie
140cd1184c
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:40:55 +00:00
ngie
080a17b50b
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:40:10 +00:00
ngie
33911d5150
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:39:36 +00:00
ngie
0adfcdaa6c
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:38:54 +00:00
ngie
d7e1929987
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:37:22 +00:00
ngie
91e9b80916
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:37:03 +00:00
ngie
448f7ad861
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:36:48 +00:00
ngie
ab2899e9c8
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:36:28 +00:00
ngie
749ae3b8f5
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:36:06 +00:00
ngie
a14247dfe8
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:49 +00:00
ngie
35c2d6075f
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:36 +00:00
ngie
cd929cbddc
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:18 +00:00
ngie
a99bb6a2c7
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:00 +00:00
ngie
fb037a71a0
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:34:34 +00:00
ngie
570c5c0f0f
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:34:01 +00:00
ngie
49b5f4fee7
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:33:45 +00:00
ngie
43944ac3e0
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:33:20 +00:00