Re: [PATCH] security.h documentation

From: Stephen Smalley (sdsat_private)
Date: Mon Sep 10 2001 - 13:21:57 PDT

  • Next message: Greg KH: "Re: [PATCH] security.h documentation"

    On Mon, 10 Sep 2001, Greg KH wrote:
    
    > I'd think only if it was successful, but no one even checks to see it it
    > is successful (i.e. the error value isn't returned to the caller).  So
    > it might not be important.
    > 
    > Anyone using that hook want to speak up?
    
    I'm not sure what you mean.  The return value of graft_tree appears to be
    propagated back all the way from do_add_mount to do_mount to sys_mount to
    the calling process.  We use the post_addmount hook in SELinux, and only
    need it called if the mount was successful.
    
    --
    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 : Mon Sep 10 2001 - 13:23:31 PDT