Re: [RFC] change format of LSM hooks

Daniel Phillips (phillips@arcor.de)
Thu, 17 Oct 2002 05:33:23 +0200


On Thursday 17 October 2002 03:41, Rusty Russell wrote:
> This also allows someone in the future to do:
>
> #define security_call(func, default_ret, ...) \
> ({ if (try_inc_mod_count(security_ops->owner))
> (security_ops->func(__VA_ARGS__));
> else
> (default_ret);
> })

Hopefully, dec_mod_count as well.

-- 
Daniel
-
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/