mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-27 04:50:38 +02:00
xselinux: Allow SetWindowCreateContext to be used for pixmaps as well.
Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
This commit is contained in:
parent
5560f270c8
commit
f874af7a85
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue