From a15059c114eb93c8a00c8fd3dba36c2db6ab14a1 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Thu, 17 Sep 2015 23:14:02 +0800 Subject: [PATCH] add kill proc --- judge/judger/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/judge/judger/client.py b/judge/judger/client.py index 3c19057e..5c305a3f 100644 --- a/judge/judger/client.py +++ b/judge/judger/client.py @@ -62,7 +62,8 @@ class JudgeClient(object): " --max-real-time " + str(self._max_real_time / 1000.0 * 2) + \ " --max-memory " + str(self._max_memory * 1000 * 1000) + \ " --network false" + \ - " --syscalls '!fork,execve,flock,ptrace,sync,fdatasync,fsync,msync,sync_file_range,syncfs,unshare,setns,clone[a&268435456==268435456],query_module,sysinfo,syslog,sysfs'" + \ + " --syscalls '!execve:k,flock:k,ptrace:k,sync:k,fdatasync:k,fsync:k,msync,sync_file_range:k,syncfs:k" \ + ",unshare:k,setns:k,clone:k,query_module:k,sysinfo:k,syslog:k,sysfs:k'" + \ " --uid " + str(lrun_uid) + \ " --gid " + str(lrun_gid)