[PATCH 1.9] Add screens to the PRIVATE_XSELINUX set.

Eamon Walsh ewalsh at tycho.nsa.gov
Fri Sep 10 12:39:30 PDT 2010


On 08/30/2010 04:37 PM, Eamon Walsh wrote:
> 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 at tycho.nsa.gov>
> Reported-by: Justin Mattock <justinmattock at gmail.com>
> ---
>  dix/privates.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/dix/privates.c b/dix/privates.c
> index ec818d4..17e1050 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,
>   


-- 

Eamon Walsh 
National Security Agency



More information about the xorg-devel mailing list