Browse Source

package/xen: fix selinux module

Fix the following refpolicy build failure raised since commit
64ce823223fece5c106994d9654a126fc6161d6a:

policy/modules/system/xen.te:559:ERROR 'type udev_runtime_t is not within scope' at token ';' on line 628879:
	allow xm_t udev_runtime_t:dir { open read getattr lock search ioctl add_name remove_name write };

[...]

policy/modules/system/udev.te:205:ERROR 'unknown type systemd_hwdb_t' at token ';' on line 582304:
        allow udev_t systemd_hwdb_t:file map;

Fixes:
 - http://autobuild.buildroot.org/results/849050b00a2ee5983c2324cb955cd533189a0460

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 1 year ago
parent
commit
d9233db918
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/xen/xen.mk

+ 1 - 1
package/xen/xen.mk

@@ -6,7 +6,7 @@
 
 
 XEN_VERSION = 4.14.6
 XEN_VERSION = 4.14.6
 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
 XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION)
-XEN_SELINUX_MODULES = xen
+XEN_SELINUX_MODULES = systemd udev xen
 XEN_LICENSE = GPL-2.0
 XEN_LICENSE = GPL-2.0
 XEN_LICENSE_FILES = COPYING
 XEN_LICENSE_FILES = COPYING
 XEN_CPE_ID_VENDOR = xen
 XEN_CPE_ID_VENDOR = xen