libseccomp: Disable only on RISC-V if Linux.

The isSeccomputable flag treated Linux without seccomp as just a
normal variant, when it really should be treated as a special case
incurring complexity debt to support.
This commit is contained in:
Shea Levy
2018-03-27 08:16:24 -04:00
parent cdf9a78a3e
commit 26e8d58cb5
5 changed files with 8 additions and 9 deletions
-2
View File
@@ -41,8 +41,6 @@ rec {
isEfi = map (family: { cpu.family = family; })
[ "x86" "arm" "aarch64" ];
isSeccomputable = map (family: { kernel = kernels.linux; cpu.family = family; })
[ "x86" "arm" "aarch64" "mips" ];
};
matchAnyAttrs = patterns: