Skip to content

Commit

Permalink
executors/GO: allow copy_file_range for compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyene authored Aug 24, 2023
1 parent 6d4edcc commit 8d31880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmoj/executors/GO.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class Executor(CompiledExecutor):
data_grace = 98304 # Go uses data segment for heap arena map
address_grace = 786432
command = 'go'
syscalls = ['copy_file_range', 'mincore', 'pselect6', 'mlock', 'setrlimit']
compiler_syscalls = ['setrlimit']
syscalls = ['mincore', 'pselect6', 'mlock', 'setrlimit']
compiler_syscalls = ['copy_file_range', 'setrlimit']
fs = [
# Go will start without THP information, but has some tuning for when
# it is available -- so let's allow it to tell.
Expand Down

0 comments on commit 8d31880

Please sign in to comment.