diff --git a/judge-core/src/run/sandbox.rs b/judge-core/src/run/sandbox.rs index 2959107..2ba2c22 100644 --- a/judge-core/src/run/sandbox.rs +++ b/judge-core/src/run/sandbox.rs @@ -191,7 +191,7 @@ fn get_default_rusage() -> rusage { } } -const DEFAULT_SCMP_WHITELIST: [&str; 27] = [ +const DEFAULT_SCMP_WHITELIST: [&str; 28] = [ "read", "fstat", "mmap", @@ -219,4 +219,5 @@ const DEFAULT_SCMP_WHITELIST: [&str; 27] = [ "prlimit64", "futex", "openat", + "clock_nanosleep" ];