nixos/prometheus-smartctl: set proper SystemCallFilter
This commit is contained in:
parent
f4342c11e5
commit
afb8d0e5a6
1 changed files with 1 additions and 4 deletions
|
@ -66,10 +66,7 @@ in {
|
||||||
ProtectProc = "invisible";
|
ProtectProc = "invisible";
|
||||||
ProcSubset = "pid";
|
ProcSubset = "pid";
|
||||||
SupplementaryGroups = [ "disk" ];
|
SupplementaryGroups = [ "disk" ];
|
||||||
SystemCallFilter = [
|
SystemCallFilter = [ "@system-service" "~@privileged" ];
|
||||||
"@system-service"
|
|
||||||
"~@privileged @resources"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue