From 8f96812dc22637be143ffeef5de7fb2cceccd81c Mon Sep 17 00:00:00 2001 From: Drahflow Date: Mon, 23 May 2016 00:41:12 +0200 Subject: Protect execve args from GC --- elymas/lib/sys/linux.ey | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elymas/lib') 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 -- cgit v1.2.3