gradm: learn of all accesses for /nix/store
This is necessary for gradm's learning mode to work, as otherwise the /nix/store directory is marked hidden, which causes the kernel to reject the linker loading ld-linux.so Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
784062214c
commit
ef903555fd
@ -24,6 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
KERNEL=="grsec", MODE="0622"
|
KERNEL=="grsec", MODE="0622"
|
||||||
LABEL="permissions_end"
|
LABEL="permissions_end"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
echo "inherit-learn /nix/store" >> $out/etc/grsec/learn_config
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags =
|
makeFlags =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user