summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2010-08-30 16:37:05 -0400
committerKeith Packard <keithp@keithp.com>2010-09-10 11:55:01 -0700
commit9a1a4ccbe026f34beca5db3b2243874906961b49 (patch)
tree4f86f43cde5782389015f458917fc805299ba805
parent5b680f2c23fb3d35c721647d0334f63297589371 (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>
-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,