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

ptrace shouldn't require root #101

Open
doy opened this issue Dec 16, 2013 · 0 comments
Open

ptrace shouldn't require root #101

doy opened this issue Dec 16, 2013 · 0 comments

Comments

@doy
Copy link
Member

doy commented Dec 16, 2013

We control spawning the nethack process, so we should be able to instead spawn the ptrace tracer program, and have it fork, call PTRACE_TRACEME, and then exec nethack, and have the tracer communicate back via a named pipe rather than via stdout. I'm not sure what the best solution for dtrace would be, although I don't think converting the ptrace code to work on OSX would be that big of a deal either.

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

No branches or pull requests

1 participant