summaryrefslogtreecommitdiff
path: root/Xext/xselinux.h
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2009-10-14 21:17:46 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2009-10-14 21:17:46 -0400
commite26957d0cd937a6433f980c7384f0290c0c579b3 (patch)
tree050c9caf4229d2f8618204cb295419a74b36fcb0 /Xext/xselinux.h
parente81a665ef210845911d2b03bcca4f6a05cb367d0 (diff)
xselinux: switch from x_device to separate x_pointer and x_keyboard classes.
This will allow separate controls over pointer and keyboard without having to relabel the devices to separate types. [Backport to 1.6] Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
Diffstat (limited to 'Xext/xselinux.h')
-rw-r--r--Xext/xselinux.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/Xext/xselinux.h b/Xext/xselinux.h
index 7c3ffdcb7..a9f39ffe5 100644
--- a/Xext/xselinux.h
+++ b/Xext/xselinux.h
@@ -149,11 +149,12 @@ typedef struct {
#define SECCLASS_X_SELECTION 7
#define SECCLASS_X_CURSOR 8
#define SECCLASS_X_CLIENT 9
-#define SECCLASS_X_DEVICE 10
-#define SECCLASS_X_SERVER 11
-#define SECCLASS_X_EXTENSION 12
-#define SECCLASS_X_EVENT 13
-#define SECCLASS_X_FAKEEVENT 14
-#define SECCLASS_X_RESOURCE 15
+#define SECCLASS_X_POINTER 10
+#define SECCLASS_X_KEYBOARD 11
+#define SECCLASS_X_SERVER 12
+#define SECCLASS_X_EXTENSION 13
+#define SECCLASS_X_EVENT 14
+#define SECCLASS_X_FAKEEVENT 15
+#define SECCLASS_X_RESOURCE 16
#endif /* _XSELINUX_H */