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

permissions: Set supplementary groups when dropping privileges #415

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

ansasaki
Copy link
Contributor

@ansasaki ansasaki commented Jun 24, 2022

This allows the agent to run with the user primary group and have the
access given by the supplementary groups.

Fixes: #414

Signed-off-by: Anderson Toshiyuki Sasaki [email protected]

@ansasaki
Copy link
Contributor Author

/packit retest-failed

@ansasaki
Copy link
Contributor Author

@lkatalin @ueno Could you please review/approve this?

src/permissions.rs Outdated Show resolved Hide resolved
This allows the agent to run with the user primary group and have the
access given by the supplementary groups.

Fixes: keylime#414

Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
@lkatalin
Copy link
Contributor

I don't understand this one enough to approve it, but I am fine if you want to merge since it has two other reviews and passed tests. Thanks for bringing it over from keylime/keylime.

@ansasaki ansasaki merged commit 76c04b4 into keylime:master Jul 1, 2022
@ansasaki ansasaki deleted the sup_groups branch July 1, 2022 08:06
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.

Set supplementary groups after dropping privileges
5 participants