Re: Problems with some of the current hooks

From: Stephen Smalley (sdsat_private)
Date: Fri Aug 03 2001 - 12:15:22 PDT

  • Next message: jmjonesat_private: "RE: Making forward progress"

    On Fri, 3 Aug 2001, Stephen Smalley wrote:
    
    > inode_ops->alloc_security has no way to propagate errors back to the
    > caller.  FIX: Move this call from clean_inode to the callers of
    > clean_inode, i.e. get_empty_inode and get_new_inode.
    
    Actually, while implementing this fix, I realized that a better
    solution is to put the inode_ops->alloc_security and the
    inode_ops->free_security hook calls into the alloc_inode and
    destroy_inode macros/functions in fs/inode.c.  
    
    --
    Stephen D. Smalley, NAI Labs
    ssmalleyat_private
    
    
    
    
    
    _______________________________________________
    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 : Fri Aug 03 2001 - 12:16:44 PDT