diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/seccomp-filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/seccomp-filter.c b/lib-src/seccomp-filter.c index d368cbb46c8..b5158510104 100644 --- a/lib-src/seccomp-filter.c +++ b/lib-src/seccomp-filter.c | |||
| @@ -240,7 +240,9 @@ main (int argc, char **argv) | |||
| 240 | should be further restricted using mount namespaces. */ | 240 | should be further restricted using mount namespaces. */ |
| 241 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (access)); | 241 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (access)); |
| 242 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat)); | 242 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat)); |
| 243 | #ifdef __NR_faccessat2 | ||
| 243 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2)); | 244 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (faccessat2)); |
| 245 | #endif | ||
| 244 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat)); | 246 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat)); |
| 245 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat64)); | 247 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (stat64)); |
| 246 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (lstat)); | 248 | RULE (SCMP_ACT_ALLOW, SCMP_SYS (lstat)); |