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

Does PRoot work on MacOSX? #155

Closed
katakombi opened this issue Dec 13, 2018 · 3 comments
Closed

Does PRoot work on MacOSX? #155

katakombi opened this issue Dec 13, 2018 · 3 comments

Comments

@katakombi
Copy link

Hi everyone,

I am developing a Linux software which relies on proot, and checking whether I could make it available for MacOS. Does proot run already successfully under recent MacOSes?
If the answer is no, what would be necessary to be done?

thanks

@oxr463
Copy link
Member

oxr463 commented Dec 13, 2018

In a word, no.

Technically PRoot relies on ptrace, an unprivileged system-call available in every Linux kernel. --https://proot-me.github.io

See also: #32

oxr463 added a commit that referenced this issue Dec 13, 2018
oxr463 added a commit to proot-me/proot-me.github.io that referenced this issue Dec 13, 2018
@katakombi
Copy link
Author

katakombi commented Dec 13, 2018

Thanks for the prompt answer! Though I knew about the ptrace dependency I recall having read that there exists ptrace implementations for FreeBSD/MacOSX as well and thought that it might be doable somehow. But then again I don't have too much expertise in that particular technical field, and take your answer as "There is no support and for certain reasons it is technically not feasible!"
Please correct me if I'm wrong :D

@oxr463
Copy link
Member

oxr463 commented Dec 13, 2018

You're welcome! You are correct, ptrace is implemented on other UNIX-like systems (1), however, without going into too much detail, most of the PRoot code-base has been written against Linux specifically. For now, myself and a few others are trying to improve the project as-is, but maybe in the far future, we may be able to make the code portable to other kernels.

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

No branches or pull requests

2 participants