e7c5d9d3 mw Aug. 8, 2019, 4:51 p.m.
In r347938 the definition of mac_veriexec_metadata_add_file
so adjust the argument list accordingly.

Submitted by: Kornel Duleba <mindal@semihalf.com>
cgit ViewVC
10ae16c7 kib Aug. 8, 2019, 4:48 p.m.
During early stages of kern_exec(), including strings copyout,
p_textvp for init is NULL.  This prevented stack grow from working for
init execution.

Without stack gap enabled, initial stack segment size is enough for
strings passed by kernel to init.  With the gap enabled, the used
address might fall out of the initial segment, which kills init.

Exclude initproc from the check for contexts which should not cause
stack grow in the target map.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
cgit ViewVC
b706be23 kib Aug. 8, 2019, 4:42 p.m.
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
cgit ViewVC
e6bb9261 jhibbits Aug. 8, 2019, 4:37 p.m.
Copy-paste-o from r233042
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D21188
cgit ViewVC
90f4bdbe cem Aug. 8, 2019, 3:37 p.m.
fa94c738 cem Aug. 8, 2019, 3:30 p.m.
cca72379 imp Aug. 8, 2019, 3:11 p.m.
We should be linting this This isn't enabled on all platforms, but compiles on
them all.

Noticed by: jhb in another review
cgit ViewVC
8279d4b7 emaste Aug. 8, 2019, 2:34 p.m.
Attempts to use cryptodev (e.g. tests at /usr/src/tests/sys/opencrypto
with armv8crypto added to the module lists) were causing a panic.

Submitted by:	Greg V <greg_unrelenting.technology>
Differential Revision:	https://reviews.freebsd.org/D21012
cgit ViewVC
deb2aead thj Aug. 8, 2019, 11:43 a.m.
IPPROTO 33 is DCCP in the IANA Registry:

IPPROTO_SEP was added about 20 years ago in r33804. The entries were added
straight from RFC1700, without regard to whether they were used.

The reference in RFC1700 for SEP is '[JC120] <mystery contact>', this is an
indication that the protocol number was probably in use in a private network.

As RFC1700 is no longer the authoritative list of internet numbers and that
IANA assinged 33 to DCCP in RFC4340, change the header to the actual
authoritative source.

Reviewed by:	Richard Scheffenegger, bz
Approved by:	bz (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21178
cgit ViewVC
1540a98e bz Aug. 8, 2019, 10:59 a.m.
Move ip6asfrag and the accompanying IP6_REASS_MBUF macro from
ip6_var.h into frag6.c as they are not used outside frag6.c.
Sadly struct ip6q is all over the mac framework so we have to
leave it public.

This reduces the public KPI space.

MFC after:		3 months
X-MFC:			possibly MFC the #define only to stable branches
Sponsored by:		Netflix
cgit ViewVC
5778b399 bz Aug. 8, 2019, 10:15 a.m.
Consitently put () around return values.
Do not assign variables at the time of variable declaration.
Sort variables.  Rename ia to ia6, remove/reuse some variables used only
once or twice for temporary calculations.

No functional changes intended.

MFC after:		3 months
Sponsored by:		Netflix
cgit ViewVC
23d374aa bz Aug. 8, 2019, 9:42 a.m.
Cleanup some comments (start with upper case, ends in punctuation,
use width and do not consume vertical space).  Update comments to
RFC8200.  Some whitespace changes.

No functional changes.

MFC after:		3 months
Sponsored by:		Netflix
cgit ViewVC
47d16bf9 tuexen Aug. 8, 2019, 8:23 a.m.
Submitted by:		Thomas Dreibholz
MFC after:		1 week
cgit ViewVC
22bbc4b2 delphij Aug. 8, 2019, 7:27 a.m.
PR:		229763
Submitted by:	Yoshihiro Ota <ota j email ne jp>
Differential Revision:	https://reviews.freebsd.org/D21176
cgit ViewVC
92e9c060 delphij Aug. 8, 2019, 6:30 a.m.
PR:		229763
Submitted by:	Yoshihiro Ota <ota j email ne jp>
Differential Revision:	https://reviews.freebsd.org/D21175
cgit ViewVC