Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752966AbZKISVL (ORCPT ); Mon, 9 Nov 2009 13:21:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752306AbZKISVK (ORCPT ); Mon, 9 Nov 2009 13:21:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16452 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbZKISVK (ORCPT ); Mon, 9 Nov 2009 13:21:10 -0500 Subject: Re: [PATCH] audit: Match SELinux context in "user" records From: Eric Paris To: Miloslav =?UTF-8?Q?Trma=C4=8D?= Cc: viro@zeniv.linux.org.uk, linux-audit@redhat.com, linux-kernel@vger.kernel.org In-Reply-To: <1257779446-1395-1-git-send-email-mitr@redhat.com> References: <1257779446-1395-1-git-send-email-mitr@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 09 Nov 2009 13:21:13 -0500 Message-Id: <1257790873.2994.25.camel@dhcp231-106.rdu.redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 30 On Mon, 2009-11-09 at 16:10 +0100, Miloslav Trmač wrote: > From: Miloslav Trmac > > 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 I wish there was a way to stop sending these instead of dropping them later, but the functionality itself is not a horrid idea and this isn't a performance hot list (like the syscall list) so..... Acked-by: Eric Paris (I actually talked to Al about it already and he'll queue it up for the next merge window) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/