Skip to content

Commit

Permalink
executors/NODEJS: allow pkey_free
Browse files Browse the repository at this point in the history
We already allow `pkey_alloc`.
  • Loading branch information
Xyene authored and quantum5 committed Jan 28, 2024
1 parent ca0c35b commit f435032
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dmoj/executors/NODEJS.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ class Executor(ScriptExecutor):
command = 'node'
nproc = -1
command_paths = ['node', 'nodejs']
syscalls = ['capget', 'eventfd2', 'shutdown', 'pkey_alloc']
syscalls = [
'capget',
'eventfd2',
'shutdown',
'pkey_alloc',
'pkey_free',
]
address_grace = 1048576
test_program = """
process.stdin.on('readable', () => {
Expand Down

0 comments on commit f435032

Please sign in to comment.