r362943 trasz July 5, 2020, 1:15 p.m.
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
ViewVC
r362942 zeising July 5, 2020, 1:08 p.m.
Fix a typo in shutdown.8, use ',' instead of '.' when listing items.

MFC after:	1 week
ViewVC
r362941 trasz July 5, 2020, 10:57 a.m.
it would fail with EINVAL, breaking some of the Python regression
tests.

While here, cap the user-controlled message length.

Note that the code doesn't seem to be copying out the new length
in either (success or failure) case. This will be addressed separately.

Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25392
ViewVC
r362938 np July 5, 2020, 5:14 a.m.
being reported to BPF.
ViewVC
r362937 delphij July 5, 2020, 12:19 a.m.
Suggested by:	imp
Reviewed by:	imp, cem (earlier version), emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D25563
ViewVC
r362936 delphij July 4, 2020, 6:37 p.m.
sectors.

On my SanDisk Cruzer Blade 16GB USB stick this made formatting much faster:

x before
+ after
+--------------------------------------------------------------------------+
|+                                                                         |
|+                                                                      x  |
|+                                                                      x x|
|A                                                                      MA||
+--------------------------------------------------------------------------+
    N           Min           Max        Median           Avg        Stddev
x   3         15.89         16.38            16         16.09     0.2570992
+   3          0.32          0.37          0.35    0.34666667   0.025166115
Difference at 95.0% confidence
	-15.7433 +/- 0.414029
	-97.8455% +/- 0.25668%
	(Student's t, pooled s = 0.182665)

Reviewed by:	emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D24508
ViewVC
r362935 trasz July 4, 2020, 6:01 p.m.
This fixes Linux gettyname(3), with caveats (see PR).

PR:		kern/240767
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25558
ViewVC
r362932 kaktus July 4, 2020, 2:20 p.m.
This node provides no handler, it's implicitly MPSAFE.

Reviewed by:	erj
Sponsored by:	Mysterious Code Ltd.
Differential Revision:	https://reviews.freebsd.org/D25408
ViewVC
r362930 trasz July 4, 2020, 11:26 a.m.
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25556
ViewVC
r362929 trasz July 4, 2020, 11:22 a.m.
create /sys/class/power_supply/.  This silences some warnings
from biology/linux-foldingathome.

Reported by:	0mp
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D25557
ViewVC
r362923 mjg July 4, 2020, 6:27 a.m.
The vnode to be replaced was read with a shared lock, meaning 2 racing threads
can find the same one.

While here clean it up a little bit.
ViewVC
r362922 mjg July 4, 2020, 6:25 a.m.
TCGETS et al are frequently issued by Linux binaries while the previous code
avoidably ping-pongs a global sx lock and serializes on Giant.

Note that even with the fix the common case will serialize on a per-tty lock.
ViewVC
r362921 mjg July 4, 2020, 6:22 a.m.
r362920 mjg July 4, 2020, 6:21 a.m.
r362917 rmacklem July 4, 2020, 3:28 a.m.
This is another in the series of commits that add support to the NFS client
and server for building RPC messages in ext_pgs mbufs with anonymous pages.
This is useful so that the entire mbuf list does not need to be
copied before calling sosend() when NFS over TLS is enabled.

Since ND_EXTPG is never set yet, there is no semantic change at this time.
ViewVC