Re: [PATCH] 2/5: LSM hooks rework
From: Kurt Garloff
Date: Mon Feb 14 2005 - 13:31:54 EST
Hi Andreas,
On Mon, Feb 14, 2005 at 03:30:33PM +0100, Andreas Gruenbacher wrote:
> On Sun, 2005-02-13 at 22:11, Kurt Garloff wrote:
> > Rather than having every LSM hook twice, once for the case with
> > CONFIG_SECURITY enabled and once for the disabled case, put
> > everything in one inline function.
>
> The attached patch fixes compilation if CONFIG_SECURITY_NETWORK is
> turned off.
>
> > This reduces the chance of the two to go out of sync immensely.
>
> ... as it already happened with security_sk_free(). Also fixed in the
> attached patch.
Indeed. Though harmless fortunately ...
Thanks for fixing this up, I had overlooked the CONFIG_SECURITY_NETWORK
disabled case :(
Regards,
--
Kurt Garloff, Director SUSE Labs, Novell Inc.
Attachment:
pgp00000.pgp
Description: PGP signature