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>
This commit is contained in:
parent
5b680f2c23
commit
9a1a4ccbe0
|
@ -71,6 +71,7 @@ static struct {
|
||||||
} keys[PRIVATE_LAST];
|
} keys[PRIVATE_LAST];
|
||||||
|
|
||||||
static const Bool xselinux_private[PRIVATE_LAST] = {
|
static const Bool xselinux_private[PRIVATE_LAST] = {
|
||||||
|
[PRIVATE_SCREEN] = TRUE,
|
||||||
[PRIVATE_CLIENT] = TRUE,
|
[PRIVATE_CLIENT] = TRUE,
|
||||||
[PRIVATE_WINDOW] = TRUE,
|
[PRIVATE_WINDOW] = TRUE,
|
||||||
[PRIVATE_PIXMAP] = TRUE,
|
[PRIVATE_PIXMAP] = TRUE,
|
||||||
|
|
Loading…
Reference in New Issue