Commit 4eac4e5
authored
[Refactor:Autograding] Invert syscall logic (#11757)
### Why is this Change Important & Necessary?
In order to autograding the Julia programming language (Issue #11621) we
need to refactor the system call to default allow rather than default
disallow.
This is continuation of work in PR #11712 (repair system call filtering)
### What is the New Behavior?
This is a refactor, so no change should be visible to the instructor or
students.
### What steps should a reviewer take to reproduce or test the bug or
new feature?
The more_autograding_examples/c_system_call_filtering example should
work the same before & after installation of this PR. NOTE: gradeable
configuration will need to be rebuilt before & after installation.
### Automated Testing & Documentation
documentation was updated as part of the previous PR
Submitty/submitty.github.io#680
### Other information
Once this PR is merged, we will be able to finish & merge #11718 (add
julia)
NOTE: Now that the logic is switched to default allow, it will be even
more important to stay on top of the addition of new system calls with
the release of new OS versions.
new issue: #11893
---------
Co-authored-by: Barb Cutler <Barb Cutler>1 parent 22829ba commit 4eac4e5
File tree
5 files changed
+530
-485
lines changed- .setup
- grading
5 files changed
+530
-485
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
762 | 764 | | |
763 | 765 | | |
764 | 766 | | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
770 | 772 | | |
771 | 773 | | |
772 | 774 | | |
| |||
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
885 | | - | |
886 | 887 | | |
887 | 888 | | |
888 | 889 | | |
889 | 890 | | |
890 | | - | |
891 | | - | |
892 | | - | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
893 | 894 | | |
894 | 895 | | |
895 | 896 | | |
896 | 897 | | |
897 | 898 | | |
898 | 899 | | |
899 | 900 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
904 | 908 | | |
905 | | - | |
906 | | - | |
907 | 909 | | |
908 | 910 | | |
909 | 911 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | | - | |
34 | 39 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
41 | 80 | | |
42 | 81 | | |
43 | 82 | | |
| |||
220 | 259 | | |
221 | 260 | | |
222 | 261 | | |
223 | | - | |
224 | 262 | | |
225 | 263 | | |
226 | | - | |
| 264 | + | |
| 265 | + | |
227 | 266 | | |
228 | 267 | | |
229 | 268 | | |
| |||
276 | 315 | | |
277 | 316 | | |
278 | 317 | | |
279 | | - | |
| 318 | + | |
| 319 | + | |
280 | 320 | | |
281 | 321 | | |
282 | 322 | | |
| |||
322 | 362 | | |
323 | 363 | | |
324 | 364 | | |
325 | | - | |
326 | | - | |
327 | 365 | | |
328 | 366 | | |
329 | 367 | | |
330 | 368 | | |
331 | 369 | | |
332 | 370 | | |
333 | | - | |
| 371 | + | |
| 372 | + | |
334 | 373 | | |
335 | 374 | | |
336 | 375 | | |
| |||
0 commit comments