diff --git a/src/rules/c_cpp.c b/src/rules/c_cpp.c index dc92453..567641e 100644 --- a/src/rules/c_cpp.c +++ b/src/rules/c_cpp.c @@ -17,7 +17,7 @@ int _c_cpp_seccomp_rules(struct config *_config, bool allow_write_file) { SCMP_SYS(close), SCMP_SYS(readlink), SCMP_SYS(sysinfo), SCMP_SYS(write), SCMP_SYS(writev), SCMP_SYS(lseek), - SCMP_SYS(clock_gettime)}; + SCMP_SYS(clock_gettime), SCMP_SYS(pread64)}; // add extra rule for pread64 int syscalls_whitelist_length = sizeof(syscalls_whitelist) / sizeof(int); scmp_filter_ctx ctx = NULL;