mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1536137 - Add getrusage to RDD policy. r=jld
Depends on D24190 Differential Revision: https://phabricator.services.mozilla.com/D25621 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9261673631
commit
4f54fd166f
@ -1420,6 +1420,9 @@ class RDDSandboxPolicy final : public SandboxPolicyCommon {
|
||||
|
||||
ResultExpr EvaluateSyscall(int sysno) const override {
|
||||
switch (sysno) {
|
||||
case __NR_getrusage:
|
||||
return Allow();
|
||||
|
||||
CASES_FOR_fcntl:
|
||||
return Trap(FcntlTrap, nullptr);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user