Skip to content
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

butler 測試 #2

Open
morris821028 opened this issue Feb 20, 2016 · 0 comments
Open

butler 測試 #2

morris821028 opened this issue Feb 20, 2016 · 0 comments

Comments

@morris821028
Copy link
Member

root@ubuntu:/home/butler# gcc hello.c
root@ubuntu:/home/butler# cp a.out /sandbox/sandbox/app/
root@ubuntu:/home/butler# ./sandbox 1 16777216 ../app/a.out
sandbox: sandbox.c:100: do_slave: Assertion `execvp(argv[0],argv)!=-1&&0' failed.
root@ubuntu:/home/butler# /sandbox/sandbox/app/a.out
Hello, world
root@ubuntu:/home/butler# ldd /sandbox/sandbox/app/a.out
        linux-vdso.so.1 =>  (0x00007ffef41f5000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f877d403000)
        /lib64/ld-linux-x86-64.so.2 (0x0000562fc9991000)
root@ubuntu:/home/butler# chroot /sandbox/
chroot: failed to run command ‘/bin/bash’: No such file or directory

mount 失敗,請執行 script 下的 ./mount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant