Bug 1296309 - Remove unused syscalls from the seccomp whitelist. r?tedd
MozReview-Commit-ID: BUDRwsuAu0W
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -532,17 +532,16 @@ public:
case __NR_rmdir:
case __NR_getcwd:
CASES_FOR_statfs:
CASES_FOR_fstatfs:
case __NR_chmod:
case __NR_rename:
case __NR_symlink:
case __NR_quotactl:
- case __NR_utimes:
case __NR_link:
case __NR_unlink:
CASES_FOR_fchown:
case __NR_fchmod:
#endif
return Allow();
case __NR_readlink:
@@ -633,19 +632,17 @@ public:
return Allow();
CASES_FOR_getrlimit:
case __NR_clock_getres:
CASES_FOR_getresuid:
CASES_FOR_getresgid:
return Allow();
- case __NR_umask:
case __NR_kill:
- case __NR_wait4:
#ifdef __NR_arch_prctl
case __NR_arch_prctl:
#endif
return Allow();
case __NR_eventfd2:
case __NR_inotify_init1:
case __NR_inotify_add_watch: