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

[DO NOT MERGE] userdom_base_user_template: Define role corresponding to the new user #1710

Open
wants to merge 1 commit into
base: rawhide
Choose a base branch
from

Conversation

vmojzis
Copy link
Member

@vmojzis vmojzis commented May 26, 2023

The template creates a new SELinux user, but requires the corresponding role, meaning that the policy utilizing the interface needs to look as follos to work:

role _r;
userdom_base_user_template()

This also breaks the policy generated by
sepolicy generate --term_user -n

@vmojzis
Copy link
Member Author

vmojzis commented May 26, 2023

Work in progress, do not merge.

The template creates a new SELinux user, but requires the corresponding
role, meaning that the policy utilizing the interface needs to look as
follos to work:

role <user>_r;
userdom_base_user_template(<user>)

This also breaks the policy generated by
sepolicy generate --term_user -n <user>

Signed-off-by: Vit Mojzis <[email protected]>
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