HBSD: Introduce HARDENEDBSD mips/mips64 kernel config

The sys/mips/conf/HARDENEDBSD config should be included by the device's
kernel config.

Signed-off-by:	Shawn Webb <shawn.webb@hardenedbsd.org>
Sponsored-by:	SoldierX
This commit is contained in:
Shawn Webb 2018-03-11 18:12:46 -04:00
parent 73caeda3df
commit ceacc08c57
No known key found for this signature in database
GPG Key ID: 6A84658F52456EEE
8 changed files with 23 additions and 0 deletions

View File

@ -19,6 +19,8 @@
#
# $FreeBSD$
include HARDENEDBSD
ident ERL
makeoptions ARCH_FLAGS="-march=octeon+ -mabi=64"

13
sys/mips/conf/HARDENEDBSD Normal file
View File

@ -0,0 +1,13 @@
options PAX
options PAX_CONTROL_ACL
options PAX_CONTROL_ACL_OVERRIDE_SUPPORT
options PAX_CONTROL_EXTATTR
options PAX_JAIL_SUPPORT
options PAX_ASLR
options PAX_SYSCTLS
options PAX_HARDENING
options PAX_NOEXEC
options PAX_SEGVGUARD
options INVARIANT_SUPPORT
options INVARIANTS

View File

@ -5,6 +5,7 @@
ident MALTA
include "std.MALTA"
include HARDENEDBSD
machine mips mips

View File

@ -5,6 +5,7 @@
ident MALTA64
include "std.MALTA"
include HARDENEDBSD
machine mips mips64

View File

@ -5,6 +5,7 @@
ident MALTA64
include "std.MALTA"
include HARDENEDBSD
machine mips mips64el

View File

@ -5,6 +5,7 @@
ident MALTA
include "std.MALTA"
include HARDENEDBSD
machine mips mipsel

View File

@ -18,6 +18,8 @@
#
# $FreeBSD$
include HARDENEDBSD
ident OCTEON1
makeoptions ARCH_FLAGS="-march=octeon -mabi=64"

View File

@ -16,6 +16,8 @@
# Include the default AR933x parameters
include "std.AR933X"
include HARDENEDBSD
ident ONIONOMEGA
# Override hints with board values