[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100103111611.36d01d30@nehalam>
Date: Sun, 3 Jan 2010 11:16:11 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Samir Bellabes <sam@...ack.fr>
Cc: Evgeniy Polyakov <zbr@...emap.net>,
linux-security-module@...r.kernel.org,
Patrick McHardy <kaber@...sh.net>, jamal <hadi@...erus.ca>,
Neil Horman <nhorman@...driver.com>, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org
Subject: Re: [RFC 6/9] snet: introduce snet_hooks.c and snet_hook.h
On Sun, 03 Jan 2010 12:10:53 +0100
Samir Bellabes <sam@...ack.fr> wrote:
> I know it's ugly, but code in security hooks are duplicated.
> functions (inline or not), which replace this macros, will resulte of
> having lots of parameters. macros with external object seems to be the
> most simple at this point.
Macro's with references to thing outside of the argument are just
plain wrong. They introduce bugs that humans don't see.
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists