mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
merge
This commit is contained in:
commit
a89d22bd25
6 changed files with 33 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
cd /tmp/$2
|
||||
timeout -s KILL 10 nasm -f elf64 -o binary.o code.code
|
||||
timeout -s KILL 10 ld binary.o -o binary
|
||||
timeout -s KILL 10 nasm -f elf32 -o binary.o code.code
|
||||
timeout -s KILL 10 ld -m elf_i386 binary.o -o binary
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
||||
|
|
4
lxc/executors/nasm64
Executable file
4
lxc/executors/nasm64
Executable file
|
@ -0,0 +1,4 @@
|
|||
cd /tmp/$2
|
||||
timeout -s KILL 10 nasm -f elf64 -o binary.o code.code
|
||||
timeout -s KILL 10 ld -m elf_x86_64 binary.o -o binary
|
||||
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"
|
Loading…
Add table
Add a link
Reference in a new issue