Re: permissive vs. restrictive issue and solutions...

From: Jesse Pollard (pollardat_private)
Date: Wed Jun 06 2001 - 05:52:20 PDT

  • Next message: Stephen Smalley: "Re: Some New Hooks"

    Oops - Sorry.
    > Your first and second case are equivalent except where the
    > security_ops->p->inode_ops->permission call may return <0 or <= 0.
    > 
    > Why bother calling the function twice. The function will return either <0
    > or <= 0, and can determine on its own whether restritive or permissive
    > aspects are to be done.
    
    I missed the difference between the "r" and "p". (Must wear my glasses
    more...:-)
    -------------------------------------------------------------------------
    Jesse I Pollard, II
    Email: pollardat_private
    
    Any opinions expressed are solely my own.
    
    _______________________________________________
    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 Jun 06 2001 - 05:54:55 PDT