grsecurity module: simplify assertion
This commit is contained in:
parent
2e88605a91
commit
66c4f51046
@ -245,11 +245,8 @@ in
|
|||||||
kernel 3.19) to continue.
|
kernel 3.19) to continue.
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{ assertion = (cfg.stable -> !cfg.testing) || (cfg.testing -> !cfg.stable);
|
{ assertion = !(cfg.stable && cfg.testing);
|
||||||
message = ''
|
message = "Select either one of the stable or testing patch";
|
||||||
You must select either the stable or testing patch, not
|
|
||||||
both.
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
{ assertion = (cfg.config.restrictProc -> !cfg.config.restrictProcWithGroup) ||
|
{ assertion = (cfg.config.restrictProc -> !cfg.config.restrictProcWithGroup) ||
|
||||||
(cfg.config.restrictProcWithGroup -> !cfg.config.restrictProc);
|
(cfg.config.restrictProcWithGroup -> !cfg.config.restrictProc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user