1bb7b44cd7
These options should always be specified. Note, an implication of this change is that not specifying any grsec/PaX options results in a build failure.
42 lines
672 B
Nix
42 lines
672 B
Nix
{ stdenv }:
|
|
|
|
with stdenv.lib;
|
|
|
|
''
|
|
GRKERNSEC_CONFIG_AUTO y
|
|
GRKERNSEC_CONFIG_DESKTOP y
|
|
GRKERNSEC_CONFIG_VIRT_HOST y
|
|
GRKERNSEC_CONFIG_VIRT_EPT y
|
|
GRKERNSEC_CONFIG_VIRT_KVM y
|
|
GRKERNSEC_CONFIG_PRIORITY_SECURITY y
|
|
|
|
PAX_SOFTMODE y
|
|
|
|
PAX_PT_PAX_FLAGS y
|
|
PAX_XATTR_PAX_FLAGS y
|
|
PAX_EI_PAX n
|
|
|
|
GRKERNSEC_PROC_GID 0
|
|
|
|
PAX_LATENT_ENTROPY n
|
|
|
|
GRKERNSEC_HIDESYM n
|
|
GRKERNSEC_RANDSTRUCT n
|
|
GRKERNSEC_PROC n
|
|
GRKERNSEC_SYSFS_RESTRICT n
|
|
GRKERNSEC_KMEM n
|
|
GRKERNSEC_MODHARDEN n
|
|
GRKERNSEC_NO_SIMULT_CONNECT n
|
|
|
|
PAX_KERNEXEC_PLUGIN_METHOD_BTS y
|
|
|
|
GRKERNSEC_ACL_HIDEKERN y
|
|
GRKERNSEC_IO y
|
|
|
|
GRKERNSEC_AUDIT_PTRACE y
|
|
GRKERNSEC_FORKFAIL y
|
|
|
|
GRKERNSEC_SYSCTL y
|
|
GRKERNSEC_SYSCTL_DISTRO y
|
|
GRKERNSEC_SYSCTL_ON y
|
|
''
|