Re: [patch] Hook in do_kern_mount

From: Greg KH (gregat_private)
Date: Wed Sep 18 2002 - 22:34:00 PDT

  • Next message: Greg KH: "Re: [patch] inode_init hook"

    On Wed, Sep 18, 2002 at 09:48:21AM -0400, Stephen Smalley wrote:
    > 
    > The attached patches add a sb_kern_mount hook to the kernel do_kern_mount
    > function to permit initialization of the superblock security information
    > for all superblock objects at a point where sufficient information is
    > available to perform such initialization, at least for SELinux.  For
    > SELinux, this hook obsoletes the sb_check_sb and sb_post_addmount hooks
    > and provides better coverage, reducing the dependency on
    > superblock_precondition.  Comments?
    
    Looks good.  Does this mean we can get rid of the sb_check_sb and
    sb_post_addmount hooks?  If so, that's a good thing :)
    
    thanks,
    
    greg k-h
    _______________________________________________
    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 Sep 18 2002 - 22:34:58 PDT