mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 13:38:41 +00:00
fix(judger): external judger compiler system dangerous syscall
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9b7284649f
commit
712c3b5550
@ -233,6 +233,8 @@ std::map<std::string, std::vector<std::pair<int, syscall_info>>> allowed_syscall
|
||||
{__NR_getgid , syscall_info::unlimited()},
|
||||
{__NR_getegid , syscall_info::unlimited()},
|
||||
{__NR_getppid , syscall_info::unlimited()},
|
||||
{__NR_setresuid , syscall_info::unlimited()},
|
||||
{__NR_setresgid , syscall_info::unlimited()},
|
||||
|
||||
{__NR_setrlimit , syscall_info::unlimited()},
|
||||
{__NR_prlimit64 , syscall_info::unlimited()},
|
||||
@ -407,6 +409,7 @@ std::map<std::string, std::vector<std::string>> readable_file_name_list = {
|
||||
|
||||
{"compiler", {
|
||||
"system_root",
|
||||
"/dev/",
|
||||
"/usr/",
|
||||
"/lib/",
|
||||
"/lib64/",
|
||||
|
Loading…
Reference in New Issue
Block a user