diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp index 8c9621dd7a4e..d33f95badc3d 100644 --- a/security/sandbox/linux/SandboxFilter.cpp +++ b/security/sandbox/linux/SandboxFilter.cpp @@ -524,7 +524,7 @@ public: case __NR_utimes: case __NR_link: case __NR_unlink: - CASES_FOR_fchown: + case __NR_fchown: case __NR_fchmod: #endif return Allow(); diff --git a/security/sandbox/linux/SandboxFilterUtil.h b/security/sandbox/linux/SandboxFilterUtil.h index 35386619fa8a..01e24e18acfa 100644 --- a/security/sandbox/linux/SandboxFilterUtil.h +++ b/security/sandbox/linux/SandboxFilterUtil.h @@ -74,12 +74,6 @@ public: #define CASES_FOR_mmap case __NR_mmap #endif -#ifdef __NR_fchown32 -#define CASES_FOR_fchown case __NR_fchown32: case __NR_fchown -#else -#define CASES_FOR_fchown case __NR_fchown -#endif - #ifdef __NR_getuid32 #define CASES_FOR_getuid case __NR_getuid32 #define CASES_FOR_getgid case __NR_getgid32