Skip to content

Commit

Permalink
staff, sysadm, unprivuser: Move lines.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris PeBenito <[email protected]>
  • Loading branch information
pebenito authored and 0xC0ncord committed Jul 20, 2021
1 parent c8798fb commit 38301f5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
24 changes: 12 additions & 12 deletions policy/modules/roles/staff.te
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,6 @@ ifndef(`distro_redhat',`
cron_role(staff_r, staff_t)
')

optional_policy(`
gnome_role_template(staff, staff_r, staff_t)
')

optional_policy(`
telepathy_role_template(staff, staff_r, staff_t)
')

optional_policy(`
wm_role_template(staff, staff_r, staff_t)
')

optional_policy(`
dirmngr_role(staff_r, staff_t)
')
Expand All @@ -121,6 +109,10 @@ ifndef(`distro_redhat',`
games_role(staff_r, staff_t)
')

optional_policy(`
gnome_role_template(staff, staff_r, staff_t)
')

optional_policy(`
gpg_role(staff_r, staff_t)
')
Expand Down Expand Up @@ -185,6 +177,10 @@ ifndef(`distro_redhat',`
su_role_template(staff, staff_r, staff_t)
')

optional_policy(`
telepathy_role_template(staff, staff_r, staff_t)
')

optional_policy(`
thunderbird_role(staff_r, staff_t)
')
Expand All @@ -208,6 +204,10 @@ ifndef(`distro_redhat',`
optional_policy(`
wireshark_role(staff_r, staff_t)
')

optional_policy(`
wm_role_template(staff, staff_r, staff_t)
')
')

ifdef(`distro_gentoo',`
Expand Down
16 changes: 8 additions & 8 deletions policy/modules/roles/sysadm.te
Original file line number Diff line number Diff line change
Expand Up @@ -1221,14 +1221,6 @@ ifndef(`distro_redhat',`
cryfs_role(sysadm_r, sysadm_t)
')

optional_policy(`
gnome_role_template(sysadm, sysadm_r, sysadm_t)
')

optional_policy(`
wm_role_template(sysadm, sysadm_r, sysadm_t)
')

optional_policy(`
dirmngr_role(sysadm_r, sysadm_t)
')
Expand All @@ -1241,6 +1233,10 @@ ifndef(`distro_redhat',`
games_role(sysadm_r, sysadm_t)
')

optional_policy(`
gnome_role_template(sysadm, sysadm_r, sysadm_t)
')

optional_policy(`
gpg_role(sysadm_r, sysadm_t)
')
Expand All @@ -1256,6 +1252,10 @@ ifndef(`distro_redhat',`
optional_policy(`
java_role(sysadm_r, sysadm_t)
')

optional_policy(`
wm_role_template(sysadm, sysadm_r, sysadm_t)
')
')

ifdef(`distro_gentoo',`
Expand Down
24 changes: 12 additions & 12 deletions policy/modules/roles/unprivuser.te
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,6 @@ ifndef(`distro_redhat',`
cron_role(user_r, user_t)
')

optional_policy(`
gnome_role_template(user, user_r, user_t)
')

optional_policy(`
telepathy_role_template(user, user_r, user_t)
')

optional_policy(`
wm_role_template(user, user_r, user_t)
')

optional_policy(`
dirmngr_role(user_r, user_t)
')
Expand All @@ -85,6 +73,10 @@ ifndef(`distro_redhat',`
games_role(user_r, user_t)
')

optional_policy(`
gnome_role_template(user, user_r, user_t)
')

optional_policy(`
gpg_role(user_r, user_t)
')
Expand Down Expand Up @@ -169,6 +161,10 @@ ifndef(`distro_redhat',`
syncthing_role(user_r, user_t)
')

optional_policy(`
telepathy_role_template(user, user_r, user_t)
')

optional_policy(`
thunderbird_role(user_r, user_t)
')
Expand All @@ -192,6 +188,10 @@ ifndef(`distro_redhat',`
optional_policy(`
wireshark_role(user_r, user_t)
')

optional_policy(`
wm_role_template(user, user_r, user_t)
')
')

ifdef(`distro_gentoo',`
Expand Down

0 comments on commit 38301f5

Please sign in to comment.