lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <m2hbr2q0yf.fsf@ssh.synack.fr> Date: Sun, 03 Jan 2010 23:26:48 +0100 From: Samir Bellabes <sam@...ack.fr> To: Stephen Hemminger <shemminger@...tta.com> 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 Stephen Hemminger <shemminger@...tta.com> writes: > 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. right. I will move this macros to inline functions. thanks, sam -- 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