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

Include code and policy for AppArmor #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Doeme
Copy link

@Doeme Doeme commented Jul 31, 2018

What this patch does is it includes a policy for AppArmor (inside a new dist/apparmor subfolder, which might not be correct) and it lets the process drop its privileges before processing requests, after all the bind(2)-ing and chroot(2)-ing etc. is done.

I'm also not sure whether it makes more sense to include this in the code-repo, or to distribute this as patches in e.g. portage.

Dominik Schmidt added 3 commits July 31, 2018 18:06
…ore serving clients.

This allows for more fine-grained control in apparmor, where we first allow the process
to bind and chroot and setuidgid, and deny all those privileges afterwards.
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

Successfully merging this pull request may close these issues.

1 participant