diff options
| author | Drahflow <drahflow@gmx.de> | 2015-01-07 22:42:35 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2015-01-07 22:42:35 +0100 |
| commit | 433b9ac976fa739fbdc61b17b339fef3f72b7b01 (patch) | |
| tree | 8f897de65dd3629d474957316a1773bed6c88aa0 /elymas/lib/sys | |
| parent | b9b7577a39d294b3856f787e3eec3869bd65f3bb (diff) | |
Removed redundant code in execve
Diffstat (limited to 'elymas/lib/sys')
| -rw-r--r-- | elymas/lib/sys/linux.ey | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/elymas/lib/sys/linux.ey b/elymas/lib/sys/linux.ey index f5ce570..682dc61 100644 --- a/elymas/lib/sys/linux.ey +++ b/elymas/lib/sys/linux.ey @@ -339,9 +339,8 @@ # 1 -> an array of strings determining argv # 2 -> path to executable # 0 <- raw return value (if it returns at all, naturally) - { ==env ==arg # ==path - [ arg { sys .asm .rawAddress 24 add bin .produce .u64 } each "\0\0\0\0\0\0\0\0" ] |cat fold - [ env { sys .asm .rawAddress 24 add bin .produce .u64 } each "\0\0\0\0\0\0\0\0" ] |cat fold + { # ==env ==arg ==path + { [ -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 |
