xserver: Branch 'master'
Eamon Walsh
ewalsh at kemper.freedesktop.org
Mon May 11 12:28:33 PDT 2009
Xext/xselinux.c | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 0952d12717031e9dda9e48123bb922d0f4e81834
Author: Eamon Walsh <ewalsh at tycho.nsa.gov>
Date: Mon May 11 15:27:46 2009 -0400
xselinux: Relax ownership restriction on SetSelectionUseContext.
Instead, clients should keep track of the selection instances they use.
diff --git a/Xext/xselinux.c b/Xext/xselinux.c
index 2c72621..3a6f096 100644
--- a/Xext/xselinux.c
+++ b/Xext/xselinux.c
@@ -1346,15 +1346,6 @@ ProcSELinuxSetCreateContext(ClientPtr client, unsigned offset)
goto out;
privPtr = &serverClient->devPrivates;
}
- else if (offset == USE_SEL) {
- /* Selection use context currently requires no selections owned */
- Selection *pSel;
- for (pSel = CurrentSelections; pSel; pSel = pSel->next)
- if (pSel->client == client) {
- rc = BadMatch;
- goto out;
- }
- }
ptr = dixLookupPrivate(privPtr, subjectKey);
pSid = (security_id_t *)(ptr + offset);
More information about the xorg-commit
mailing list