Skip to content

Commit

Permalink
executors: disallow /dev/std{in,err,out}
Browse files Browse the repository at this point in the history
These files are not POSIX, so runtimes should not be relying on their
presence.
  • Loading branch information
Xyene committed Sep 13, 2021
1 parent 9bee692 commit 0879113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmoj/executors/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
ExactDir('/'),
]

BASE_WRITE_FILESYSTEM = [ExactFile('/dev/stdout'), ExactFile('/dev/stderr'), ExactFile('/dev/null')]
BASE_WRITE_FILESYSTEM = [ExactFile('/dev/null')]


if 'freebsd' in sys.platform:
Expand Down

0 comments on commit 0879113

Please sign in to comment.