Update for Xen 4.7
PATCH 1/1 Update for Xen 4.7
Since Xen 4.7, /dev/xen/privcmd is used instead of /proc/xen/privcmd. Add the device into the policy so xenstored can work.
Signed-off-by Anthony PERARD <[email protected]>
--- policy/modules/kernel/devices.fc | 1 + 1 file changed, 1 insertion(+)
policy/modules/kernel/devices.fc +1 -0
@@ -182,6 +182,7 @@ 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/privcmd -c gen_context(system_u:object_r:xen_device_t,s0) ifdef(`distro_debian',` # this is a static /dev dir "backup mount"
Signature · 1 line
Anthony PERARD
PATCH 1/1 Update for Xen 4.7
Quoted 13 lines · Anthony PERARD via refpolicy
Since Xen 4.7,
/dev/xen/privcmdis used instead of/proc/xen/privcmd. Add the device into the policy soxenstoredcan work.Signed-off-by Anthony PERARD <[email protected]>--- policy/modules/kernel/devices.fc | 1 + 1 file changed, 1 insertion(+)policy/modules/kernel/devices.fc +0
-0
policy/modules/kernel/devices.fc ifdef(`distro_suse', ` · line 188
Quoted 7 lines
policy/modules/kernel/devices.fc +1
-0@@ -182,6 +182,7 @@ 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/privcmd -c gen_context(system_u:object_r:xen_device_t,s0) ifdef(`distro_debian',` # this is a static /dev dir "backup mount"
Merged.
Signature · 1 line
Chris PeBenito