mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
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"
|
||||
LABEL="permissions_end"
|
||||
EOF
|
||||
|
||||
echo "inherit-learn /nix/store" >> $out/etc/grsec/learn_config
|
||||
'';
|
||||
|
||||
makeFlags =
|
||||
|
Loading…
Reference in New Issue
Block a user