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

W^X support? #13

Open
mcandre opened this issue Feb 11, 2019 · 3 comments
Open

W^X support? #13

mcandre opened this issue Feb 11, 2019 · 3 comments

Comments

@mcandre
Copy link

mcandre commented Feb 11, 2019

Could the CloudABI runtime support an option to enforce W^X, in order to reduce the attack surface further? This would minimize the risk of escaping out of the CloudABI runtime into the host.

@EdSchouten
Copy link
Member

Hi there!

CloudABI already enforces W^X, right? At least, that's what both the userspace emulator and the FreeBSD kernel implementation do.

@EdSchouten
Copy link
Member

cloudabi/cloudabi.txt

Lines 579 to 580 in a3ae008

| This implementation enforces the `W^X` property: Pages cannot be
| mapped for execution while also mapped for writing.

@mcandre
Copy link
Author

mcandre commented Mar 2, 2019

@EdSchouten Fascinating! What about macOS? Debian?

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

2 participants