Re: [PATCH][LSM] Early init for security modules and various cleanups

From: Chris Wright (chrisat_private)
Date: Mon Jun 02 2003 - 09:33:57 PDT

  • Next message: Valdis.Kletnieksat_private: "owlsm - missing in action?"

    * Andrew Morton (akpmat_private) wrote:
    > Chris Wright <chrisat_private> wrote:
    > >
    > > security_capable() returns 0 if that capability bit is set. 
    > 
    > That's just bizarre.  Is there any logic behind it?
    
    Yes, as Stephen pointed out, it's common for the security interface to
    return 0 on success on -errno on failure.
    
    cheers,
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    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 : Mon Jun 02 2003 - 09:39:53 PDT