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:
parent
10812204b3
commit
51105de9b0
|
@ -913,6 +913,10 @@ SELinuxProperty(CallbackListPtr *pcbl, pointer unused, pointer calldata)
|
|||
security_id_t tsid;
|
||||
int rc;
|
||||
|
||||
/* Don't care about the new content check */
|
||||
if (rec->access_mode & DixPostAccess)
|
||||
return;
|
||||
|
||||
subj = dixLookupPrivate(&rec->client->devPrivates, subjectKey);
|
||||
obj = dixLookupPrivate(&pProp->devPrivates, objectKey);
|
||||
|
||||
|
|
Loading…
Reference in New Issue