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

Capability mode support using null namespace #57

Merged
merged 2 commits into from
Oct 10, 2017
Merged

Capability mode support using null namespace #57

merged 2 commits into from
Oct 10, 2017

Conversation

jackpot51
Copy link
Member

This implements capability mode similar to cap_enter on FreeBSD, by introducing a null scheme namespace.

Entering this namespace removes any ability to open, unlink, chown, chmod, or exec, meaning that security properties of a process are easier to determine.

@jackpot51
Copy link
Member Author

@Yoric you may be interested in this.

@jackpot51
Copy link
Member Author

As a bonus, I also cleaned up the privelege switching logic in setreuid, setregid, and setrens

@jackpot51 jackpot51 merged commit 31d742e into master Oct 10, 2017
@jackpot51 jackpot51 deleted the cap branch October 10, 2017 02:24
@Yoric
Copy link
Contributor

Yoric commented Oct 18, 2017

I'd love to, but I'm swamped in work these months.

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