-
Notifications
You must be signed in to change notification settings - Fork 45
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
OSX Support? #4
Comments
As far as I know, OSX supports ptrace, which strace used as its underline interface. I think it should not be too difficult to implement. |
Trying to build the project on 10.9.2 gives me:
|
OSX does not support useful ptrace in any meaningful way - see http://uninformed.org/index.cgi?v=4&a=3&p=14 There's only dtrace. Dtrace can't intercept syscall outcomes, only passively inspect syscall inputs and outputs (through elaborate bpf-like language). As such, true seccomp on OSX seems to be impossible (seatbelt is a MAC, not sandbox) without custom kext. I'd love to be proven wrong, though. |
I would absolutely love to see mbox ported to Mac, I'm ready to donate! Apart from running untrusted code, this would go one step toward making apps portable, i.e. storing their settings in a sandbox rather than in the messy ~/Library. |
Considering that I do most work on a personal computer, and have occasionally have interest in running semi-untrusted code (cool new projects like mbox!), I would love to be able to use this on my Macbook Pro.
OSX is officially "unix-compliant", but a lot of the code appears to be Linux-specific, so I presume this is not simple.
The text was updated successfully, but these errors were encountered: