aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2016-05-23 00:41:12 +0200
committerDrahflow <drahflow@gmx.de>2016-05-23 00:41:12 +0200
commit8f96812dc22637be143ffeef5de7fb2cceccd81c (patch)
treebaa6251132e0747f201d675bdb2687b5aa96a086
parentf35c16c4717afae1e280503d62608dc498d57f43 (diff)
Protect execve args from GC
-rw-r--r--elymas/lib/sys/linux.ey2
1 files changed, 1 insertions, 1 deletions
diff --git a/elymas/lib/sys/linux.ey b/elymas/lib/sys/linux.ey
index 18e4421..b733a27 100644
--- a/elymas/lib/sys/linux.ey
+++ b/elymas/lib/sys/linux.ey
@@ -339,7 +339,7 @@
# 1 -> an array of strings determining argv
# 2 -> path to executable
# 0 <- raw return value (if it returns at all, naturally)
- { # ==env ==arg ==path
+ { ==env ==arg ==path path arg env
{ [ -01 { sys .asm .rawAddress 24 add bin .produce .u64 } each "\0\0\0\0\0\0\0\0" ] |cat fold } -20*10*
0 0 0 EXECVE
} /execve defStdSyscall