Skip to contentSkip to conversation

package/xen: fix selinux module

PATCH Applied Fabrice Fontaine 2 participants 2 messages Nov 6, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 package/xen/xen.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xen/xen.mk +1 -1
index ad71b14105..80412cca97 100644
@@ -6,7 +6,7 @@
 
 XEN_VERSION = 4.14.6
 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_FILES = COPYING
 XEN_CPE_ID_VENDOR = xen
Signature · 6 lines
2.42.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines · On Mon, 6 Nov 2023 21:13:09 +0100 Fabrice Fontaine…

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;
Quoted 7 lines

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

---
 package/xen/xen.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot