From 4a400f38a6882e19b548fca10b8340931b0e617b Mon Sep 17 00:00:00 2001 From: James Carter Date: Thu, 11 Oct 2018 08:35:49 -0400 Subject: [PATCH] libsepol: Add two new Xen initial SIDs Xen uses the initial SIDs domU and domDM in its toolstack, so it makes sense to add these to xen_sid_to_str[] in kernel_to_common.h Signed-off-by: James Carter --- libsepol/src/kernel_to_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsepol/src/kernel_to_common.h b/libsepol/src/kernel_to_common.h index dacfe97e..8aa483fa 100644 --- a/libsepol/src/kernel_to_common.h +++ b/libsepol/src/kernel_to_common.h @@ -57,6 +57,8 @@ static const char * const xen_sid_to_str[] = { "iomem", "irq", "device", + "domU", + "domDM", }; #define XEN_SID_SZ (sizeof(xen_sid_to_str)/sizeof(xen_sid_to_str[0]))