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

Fix users for SELinux userspace 3.4 #1159

Merged
merged 1 commit into from
May 2, 2022

Conversation

bachradsusi
Copy link
Member

Latest yet to be released userspace version 3.4 added new validation and
discovered several issues in current implementation. This patch tries to
address them:

  • move guest and xguest module from contrib to roles - refpolicy did
    this change long time ago

  • roles guest_r and xguest_r need to be defined in kernel.te

  • gen_user() is supposed to be in policy/users, not in modules

  • drop role multiple definitions from userdom_base_user_template as it's
    and is supposed to be defined in kernel.te

Latest yet to be released userspace version 3.4 added new validation and
discovered several issues in current implementation. This patch tries to
address them:

- move guest and xguest module from contrib to roles - refpolicy did
this change long time ago

- roles guest_r and xguest_r need to be defined in kernel.te

- gen_user() is supposed to be in policy/users, not in modules

- drop role multiple definitions from userdom_base_user_template as it's
and is supposed to be defined in kernel.te
@zpytela
Copy link
Contributor

zpytela commented Apr 26, 2022

LGTM, I will merge it soon. Thank you for your effort.

@zpytela zpytela merged commit e1e216b into fedora-selinux:rawhide May 2, 2022
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.

None yet

2 participants