-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support x86_64 #5
Comments
@lx75249 |
Confirmed this bug. I tried to allow "dup2" and I have another error message saying that "chdir" is forbidden, but obviously this test sample does not call chdir or anything like that. Looks like these "forbidden" system calls are in the parent process? |
无法重现.. 我换个环境再试试 |
Here: Archlinux x86_64 Something related to 64 bits? 2013/9/4 LX notifications@github.com
Hexcles Ma My Blog: http://robotshell.org/ |
system call id in x86_64 is different from that in x86... |
God damn. 2013/9/4 LX notifications@github.com
Hexcles Ma My Blog: http://robotshell.org/ |
ok... I find all system call numbers in asm/unistd_xx.h .. an autoconf will be delivered soon.. say good-bye to that brute list |
Doing some search and I got this: strace has a system call table for different arch in its source:
Any help? |
This can be fixed by just updating that list to x64 version. I have succeeded. Thank you for all this work |
I met the same problem,what is the final solution? |
Nothing. The code doesn't work in x86_64; a new syscall list is needed. PRs are welcomed. |
OK,I solved it by remake qaq |
OS: Ubuntu 12.04.3 LTS
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
test.c
Compile and run
I got the message:
The text was updated successfully, but these errors were encountered: