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

PROGRAM path CANNOT be absolute path #6

Open
mingc00 opened this issue Sep 7, 2013 · 2 comments
Open

PROGRAM path CANNOT be absolute path #6

mingc00 opened this issue Sep 7, 2013 · 2 comments

Comments

@mingc00
Copy link

mingc00 commented Sep 7, 2013

When program path is absolute path, an error occured.

$ ./caretaker /tmp/a.out
./caretaker: Error executing(forgot to link statically?).
@fanzeyi
Copy link
Collaborator

fanzeyi commented Sep 7, 2013

Confirmed this bug on Ubuntu 12.04.2 x86-64

cc @Hexcles @lx75249

@Hexcles
Copy link
Owner

Hexcles commented Sep 10, 2013

Confirmed this bug.

Reason: I assumed the prgfileName is just the "filename" of the program, without path. And the following actions are based on this assumption: create tmpfile, move prgfile, run prgfile(after chroot, thus cannot include original path name). I'll try to fix this later.

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

3 participants