diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-05-11 15:27:46 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-05-11 15:27:46 -0400 |
commit | 0952d12717031e9dda9e48123bb922d0f4e81834 (patch) | |
tree | ad905b7f6415a7eadb7c4bed0bcf07a4c0838048 | |
parent | ac13145dbcb284293582435409d8a90f276785c5 (diff) |
xselinux: Relax ownership restriction on SetSelectionUseContext.
Instead, clients should keep track of the selection instances they use.
-rw-r--r-- | Xext/xselinux.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c index 2c7262140..3a6f0960d 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c @@ -1348,11 +1348,2 @@ ProcSELinuxSetCreateContext(ClientPtr client, unsigned offset) } - 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; - } - } |