mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
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:
parent
73caeda3df
commit
ceacc08c57
@ -19,6 +19,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
include HARDENEDBSD
|
||||
|
||||
ident ERL
|
||||
|
||||
makeoptions ARCH_FLAGS="-march=octeon+ -mabi=64"
|
||||
|
13
sys/mips/conf/HARDENEDBSD
Normal file
13
sys/mips/conf/HARDENEDBSD
Normal 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
|
@ -5,6 +5,7 @@
|
||||
ident MALTA
|
||||
|
||||
include "std.MALTA"
|
||||
include HARDENEDBSD
|
||||
|
||||
machine mips mips
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
ident MALTA64
|
||||
|
||||
include "std.MALTA"
|
||||
include HARDENEDBSD
|
||||
|
||||
machine mips mips64
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
ident MALTA64
|
||||
|
||||
include "std.MALTA"
|
||||
include HARDENEDBSD
|
||||
|
||||
machine mips mips64el
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
ident MALTA
|
||||
|
||||
include "std.MALTA"
|
||||
include HARDENEDBSD
|
||||
|
||||
machine mips mipsel
|
||||
|
||||
|
@ -18,6 +18,8 @@
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
include HARDENEDBSD
|
||||
|
||||
ident OCTEON1
|
||||
|
||||
makeoptions ARCH_FLAGS="-march=octeon -mabi=64"
|
||||
|
@ -16,6 +16,8 @@
|
||||
# Include the default AR933x parameters
|
||||
include "std.AR933X"
|
||||
|
||||
include HARDENEDBSD
|
||||
|
||||
ident ONIONOMEGA
|
||||
|
||||
# Override hints with board values
|
||||
|
Loading…
Reference in New Issue
Block a user