Re: [RFC] change format of LSM hooks

From: Daniel Phillips (phillipsat_private)
Date: Wed Oct 16 2002 - 20:33:23 PDT

  • Next message: Christoph Hellwig: "Re: [RFC] change format of LSM hooks"

    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
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Wed Oct 16 2002 - 20:35:49 PDT