Merge pull request #374 from yizhao1/fix

This commit is contained in:
Chris PeBenito 2021-05-19 08:45:27 -04:00
commit 0d37ce804d
6 changed files with 23 additions and 42 deletions

View File

@ -39,10 +39,6 @@ optional_policy(`
dmesg_exec(auditadm_t)
')
optional_policy(`
dbus_role_template(auditadm, auditadm_r, auditadm_t)
')
optional_policy(`
screen_role_template(auditadm, auditadm_r, auditadm_t)
')

View File

@ -48,10 +48,6 @@ optional_policy(`
auditadm_role_change(secadm_r)
')
optional_policy(`
dbus_role_template(secadm, secadm_r, secadm_t)
')
optional_policy(`
dmesg_exec(secadm_t)
')

View File

@ -98,19 +98,15 @@ ifndef(`distro_redhat',`
')
optional_policy(`
dbus_role_template(staff, staff_r, staff_t)
gnome_role_template(staff, 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(`
telepathy_role_template(staff, staff_r, staff_t)
')
optional_policy(`
wm_role_template(staff, staff_r, staff_t)
')
optional_policy(`
wm_role_template(staff, staff_r, staff_t)
')
optional_policy(`

View File

@ -1226,15 +1226,11 @@ ifndef(`distro_redhat',`
')
optional_policy(`
dbus_role_template(sysadm, sysadm_r, sysadm_t)
gnome_role_template(sysadm, 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(`
wm_role_template(sysadm, sysadm_r, sysadm_t)
')
optional_policy(`

View File

@ -62,19 +62,15 @@ ifndef(`distro_redhat',`
')
optional_policy(`
dbus_role_template(user, user_r, user_t)
gnome_role_template(user, 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(`
telepathy_role_template(user, user_r, user_t)
')
optional_policy(`
wm_role_template(user, user_r, user_t)
')
optional_policy(`
wm_role_template(user, user_r, user_t)
')
optional_policy(`

View File

@ -722,6 +722,7 @@ template(`userdom_common_user_template',`
')
optional_policy(`
dbus_role_template($1, $1_r, $1_t)
dbus_system_bus_client($1_t)
optional_policy(`
@ -760,6 +761,10 @@ template(`userdom_common_user_template',`
optional_policy(`
xserver_dbus_chat_xdm($1_t)
')
optional_policy(`
systemd_role_template($1, $1_r, $1_t)
')
')
optional_policy(`
@ -861,10 +866,6 @@ template(`userdom_common_user_template',`
slrnpull_search_spool($1_t)
')
optional_policy(`
systemd_role_template($1, $1_r, $1_t)
')
optional_policy(`
udev_read_runtime_files($1_t)
')