Re: Updated auth patch for 2.4.12

From: richard offer (offerat_private)
Date: Thu Oct 11 2001 - 11:43:28 PDT

  • Next message: Crispin Cowan: "Re: Updated auth patch for 2.4.12"

    * frm gregat_private "10/11/2001 11:21:29 AM -0700" | sed '1,$s/^/* /'
    *
    * On Thu, Oct 11, 2001 at 11:12:33AM -0700, richard offer wrote:
    *> @@ -968,8 +966,8 @@
    *>  	up(&dir->i_zombie);
    *>  	if (!error) {
    *>  		inode_dir_notify(dir, DN_CREATE);
    *> -		security_ops->inode_ops->post_create(dir, dentry, mode);
    *>  	}
    *> +	security_ops->inode_ops->post_create(error, dir, dentry, mode);
    *>  	return error;
    *>  }
    *>  
    * 
    * Is there any reason besides audit for this change?
    
    When we submitted the original patch, Stephen made the following comments
    (July 02 04:04:16) ...
    
        Your patch makes the following changes that seemed reasonable to me:
    
    [snip]
    
        5) Moved post_create/mkdir/mknod/etc to always be called and pass the
           error status.
    
    
    So I've just added that feature back in. Is it useful for other things than
    audit ? Yes.
    
    
    richard.
    
    -- 
    -----------------------------------------------------------------------
    Richard Offer                     Technical Lead, Trust Technology, SGI
    "Specialization is for insects"
    _______________________________________________________________________
    
    
    _______________________________________________
    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 : Thu Oct 11 2001 - 11:44:31 PDT