Merge pull request #391 from jpds/xen-fixes

This commit is contained in:
Chris PeBenito 2021-07-08 09:44:31 -04:00
commit c3a756d81f
2 changed files with 6 additions and 0 deletions

View File

@ -198,8 +198,10 @@ ifdef(`distro_suse', `
/dev/xen/evtchn -c gen_context(system_u:object_r:xen_device_t,s0)
/dev/xen/gntdev -c gen_context(system_u:object_r:xen_device_t,s0)
/dev/xen/gntalloc -c gen_context(system_u:object_r:xen_device_t,s0)
/dev/xen/hypercall -c gen_context(system_u:object_r:xen_device_t,s0)
/dev/xen/privcmd -c gen_context(system_u:object_r:xen_device_t,s0)
/dev/xen/xenbus -c gen_context(system_u:object_r:xen_device_t,s0)
/dev/xen/xenbus_backend -c gen_context(system_u:object_r:xen_device_t,s0)
ifdef(`distro_debian',`
# this is a static /dev dir "backup mount"

View File

@ -323,6 +323,10 @@ optional_policy(`
devicekit_admin(sysadm_t, sysadm_r)
')
optional_policy(`
dev_rw_xen(sysadm_t)
')
optional_policy(`
dhcpd_admin(sysadm_t, sysadm_r)
')