Skip to content

Include code and policy for AppArmor#9

Open
Doeme wants to merge 3 commits into
blueness:masterfrom
Doeme:master
Open

Include code and policy for AppArmor#9
Doeme wants to merge 3 commits into
blueness:masterfrom
Doeme:master

Conversation

@Doeme
Copy link
Copy Markdown

@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