audit: improve GID/EGID comparation logic
authorMatvejchikov Ilya <matvejchikov@gmail.com>
Tue, 13 Dec 2011 20:09:08 +0000 (23:09 +0300)
committerEric Paris <eparis@redhat.com>
Mon, 8 Apr 2013 20:19:15 +0000 (16:19 -0400)
commit37eebe39c9731a76535f08de455db97eb93894ae
tree5a31d3cab8c015302a2b4b9f542e838ba61c1bc5
parent19f949f52599ba7c3f67a5897ac6be14bfcb1200
audit: improve GID/EGID comparation logic

It is useful to extend GID/EGID comparation logic to be able to
match not only the exact EID/EGID values but the group/egroup also.

Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c