Skip to content

Commit 3d72938

Browse files
authored
[Bugfix:Autograding] system call filtering for gcc (#49)
test case level update for compilation test
1 parent b9a7074 commit 3d72938

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/12_system_calls/config/config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717

1818
"testcases" : [
1919
{
20+
"allow_system_calls" : [
21+
"PROCESS_CONTROL_NEW_PROCESS_THREAD",
22+
"PROCESS_CONTROL_ADVANCED",
23+
"FILE_MANAGEMENT_MOVE_DELETE_RENAME_FILE_DIRECTORY",
24+
"FILE_MANAGEMENT_PERMISSIONS",
25+
"FILE_MANAGEMENT_RARE",
26+
"COMMUNICATIONS_AND_NETWORKING_SIGNALS",
27+
"COMMUNICATIONS_AND_NETWORKING_INTERPROCESS_COMMUNICATION"
28+
],
2029
"type" : "Compilation",
2130
"title" : "Compilation",
2231
"command" : "/usr/bin/gcc -Wall -o a.out *.c",

0 commit comments

Comments
 (0)