diff options
Diffstat (limited to 'Xext/xselinux.c')
-rw-r--r-- | Xext/xselinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c index 3093bf25a..3580852ab 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c @@ -554,7 +554,7 @@ SELinuxLabelResource(XaceResourceAccessRec *rec, SELinuxSubjectRec *subj, security_id_t tsid; /* Check for a create context */ - if (rec->rtype == RT_WINDOW && subj->win_create_sid) { + if (rec->rtype & RC_DRAWABLE && subj->win_create_sid) { sidget(obj->sid = subj->win_create_sid); return Success; } |