From: Miloslav Trmac Date: Thu, 16 Sep 2010 22:14:11 +0000 (-0400) Subject: Audit: add support to match lsm labels on user audit messages X-Git-Tag: v2.6.37-rc1~21^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d29be158a68254f58cf1fbf60ce1e89557a321aa;p=pandora-kernel.git Audit: add support to match lsm labels on user audit messages Add support for matching by security label (e.g. SELinux context) of the sender of an user-space audit record. The audit filter code already allows user space to configure such filters, but they were ignored during evaluation. This patch implements evaluation of these filters. For example, after application of this patch, PAM authentication logs caused by cron can be disabled using auditctl -a user,never -F subj_type=crond_t Signed-off-by: Miloslav Trmac Acked-by: Eric Paris Signed-off-by: Al Viro --- Reading git-diff-tree failed