From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Morris Subject: Re: [PATCH 6/9] LSM/Audit: Introduce generic Audit LSM hooks Date: Tue, 4 Mar 2008 08:20:25 +1100 (EST) Message-ID: References: <20080301194752.GA19636@ubuntu> <20080301200005.GG19636@ubuntu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <20080301200005.GG19636@ubuntu> Sender: linux-security-module-owner@vger.kernel.org To: "Ahmed S. Darwish" Cc: Chris Wright , Stephen Smalley , Eric Paris , Casey Schaufler , David Woodhouse , Paul Moore , Andrew Morton , LKML , Audit-ML , LSM-ML List-Id: linux-audit@redhat.com On Sat, 1 Mar 2008, Ahmed S. Darwish wrote: > Introduce a generic Audit interface for security modules > by adding the following new LSM hooks: > > audit_rule_init(field, op, rulestr, lsmrule) > audit_rule_known(krule) > audit_rule_match(secid, field, op, rule, actx) > audit_rule_free(rule) > > Those hooks are only available if CONFIG_AUDIT is enabled. > > Signed-off-by: Casey Schaufler > Signed-off-by: Ahmed S. Darwish Acked-by: James Morris -- James Morris