xselinux: ignore property hook calls with the new Post access mode bit set.

Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
This commit is contained in:
Eamon Walsh 2009-06-26 16:50:12 -04:00
parent 10812204b3
commit 51105de9b0

View File

@ -913,6 +913,10 @@ SELinuxProperty(CallbackListPtr *pcbl, pointer unused, pointer calldata)
security_id_t tsid; security_id_t tsid;
int rc; int rc;
/* Don't care about the new content check */
if (rec->access_mode & DixPostAccess)
return;
subj = dixLookupPrivate(&rec->client->devPrivates, subjectKey); subj = dixLookupPrivate(&rec->client->devPrivates, subjectKey);
obj = dixLookupPrivate(&pProp->devPrivates, objectKey); obj = dixLookupPrivate(&pProp->devPrivates, objectKey);