xorg-x11-server/xserver-1.5.99.902-selinux-debugging.patch
Adam Jackson f4905530a0 * Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 1.5.99.902-4
- xserver-1.5.99.902-selinux-debugging.patch: Try to figure out why selinux
  class map setup fails.
- Remove mtrr header hack.
2009-02-08 07:09:23 +00:00

27 lines
805 B
Diff

From 6852b40518a70a884ee1369b6cf5fafe0faedfdb Mon Sep 17 00:00:00 2001
From: Adam Jackson <ajax@redhat.com>
Date: Sun, 8 Feb 2009 02:08:46 -0500
Subject: [PATCH] Additional debugging for selinux failures
Apropos of bug #482924
---
Xext/xselinux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Xext/xselinux.c b/Xext/xselinux.c
index 93ea05b..8e026be 100644
--- a/Xext/xselinux.c
+++ b/Xext/xselinux.c
@@ -1977,7 +1977,7 @@ SELinuxExtensionInit(INITARGS)
ErrorF("SELinux: Invalid object class mapping, disabling SELinux support.\n");
return;
}
- FatalError("SELinux: Failed to set up security class mapping\n");
+ FatalError("SELinux: Failed to set up security class mapping, %s\n", strerror(errno));
}
if (avc_open(&avc_option, 1) < 0)
--
1.6.1.2