xselinux: Don't include the client in the receive hook audit messages.

This commit is contained in:
Eamon Walsh 2007-10-25 19:00:50 -04:00 committed by Eamon Walsh
parent 40de9fcf18
commit 7d14ca59c5

View File

@ -545,7 +545,7 @@ SELinuxReceive(CallbackListPtr *pcbl, pointer unused, pointer calldata)
{ {
XaceReceiveAccessRec *rec = calldata; XaceReceiveAccessRec *rec = calldata;
SELinuxStateRec *subj, *obj; SELinuxStateRec *subj, *obj;
SELinuxAuditRec auditdata = { .client = rec->client }; SELinuxAuditRec auditdata = { .client = NULL };
int rc, i; int rc, i;
subj = dixLookupPrivate(&rec->client->devPrivates, stateKey); subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);