Bug 1259283 - Add sys_fchown to seccomp whitelist. r=jld
authorJulian Hector <julian.r.hector@gmail.com>
Wed, 13 Apr 2016 12:41:19 +0000
changeset 331208 b26d5448b54c615588fec7e9f2142ecbf7360253
parent 331207 cd9ea65ce9b992abcd93782fa6932620c19184a8
child 331209 a6bda6a1cc47928b5030281d4561b03b83d96ca6
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld
bugs1259283
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1259283 - Add sys_fchown to seccomp whitelist. r=jld
security/sandbox/linux/SandboxFilter.cpp
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -508,16 +508,17 @@ public:
     case __NR_getcwd:
     CASES_FOR_statfs:
     case __NR_chmod:
     case __NR_rename:
     case __NR_symlink:
     case __NR_quotactl:
     case __NR_utimes:
     case __NR_unlink:
+    case __NR_fchown:
 #endif
       return Allow();
 
     case __NR_readlink:
     case __NR_readlinkat:
       // Workaround for bug 964455:
       return Error(EINVAL);