summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2010-08-30 16:37:05 -0400
committerJeremy Huddleston <jeremyhu@apple.com>2010-09-11 14:21:53 -0700
commite615acf06feabd4de695d1237aa3891957428999 (patch)
tree302b76b3cee4cc4be3332fa92c80e2d60882362b
parentad62b2400907bf856ece615197066aad02503716 (diff)
Add screens to the PRIVATE_XSELINUX set.
The SELinux extension does store a security label in the screen devPrivates. Fixes crash caused by overwriting another private. Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov> Reported-by: Justin Mattock <justinmattock@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 9a1a4ccbe026f34beca5db3b2243874906961b49)
-rw-r--r--dix/privates.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/privates.c b/dix/privates.c
index ec818d411..17e1050d9 100644
--- a/dix/privates.c
+++ b/dix/privates.c
@@ -71,6 +71,7 @@ static struct {
} keys[PRIVATE_LAST];
static const Bool xselinux_private[PRIVATE_LAST] = {
+ [PRIVATE_SCREEN] = TRUE,
[PRIVATE_CLIENT] = TRUE,
[PRIVATE_WINDOW] = TRUE,
[PRIVATE_PIXMAP] = TRUE,