HBSD: Enable SEGVGUARD by default

HardenedBSD still has SEGVGUARD in opt-in mode by default. OPNsense
needs to have this as opt-out by default.

Signed-off-by:	Shawn Webb <shawn@opnsense.org>
This commit is contained in:
Shawn Webb 2018-11-04 18:35:44 -05:00
parent 4b21e5691f
commit 33bc3d9fd9
No known key found for this signature in database
GPG key ID: 411DCD7D5C3BFCB6

View file

@ -62,7 +62,7 @@ __FBSDID("$FreeBSD$");
FEATURE(hbsd_segvguard, "Segmentation fault protection.");
#ifdef PAX_HARDENING
static int pax_segvguard_status = PAX_FEATURE_OPTIN; /* XXXOP */
static int pax_segvguard_status = PAX_FEATURE_OPTOUT; /* XXXOP */
#else
static int pax_segvguard_status = PAX_FEATURE_OPTIN;
#endif