Re: Updated auth patch for 2.4.12

From: Greg KH (gregat_private)
Date: Thu Oct 11 2001 - 11:21:29 PDT

  • Next message: richard offer: "Re: Updated auth patch for 2.4.12"

    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?
    
    
    > @@ -1261,8 +1259,8 @@
    >  	up(&dir->i_zombie);
    >  	if (!error) {
    >  		inode_dir_notify(dir, DN_CREATE);
    > -		security_ops->inode_ops->post_mknod(dir, dentry, mode, dev);
    >  	}
    > +	security_ops->inode_ops->post_mknod(error,dir, dentry, mode, dev);
    >  	return error;
    >  }
    >  
    
    Is there any reason besides audit for this change?
    
    > @@ -1338,8 +1336,8 @@
    >  	up(&dir->i_zombie);
    >  	if (!error) {
    >  		inode_dir_notify(dir, DN_CREATE);
    > -		security_ops->inode_ops->post_mkdir(dir,dentry, mode);
    >  	}
    > +	security_ops->inode_ops->post_mkdir(error, dir,dentry, mode);
    >  	return error;
    >  }
    >  
    
    Is there any reason besides audit for this change?
    
    
    > @@ -1582,8 +1580,8 @@
    >  	up(&dir->i_zombie);
    >  	if (!error) {
    >  		inode_dir_notify(dir, DN_CREATE);
    > -		security_ops->inode_ops->post_symlink(dir, dentry, oldname);
    >  	}
    > +	security_ops->inode_ops->post_symlink(error, dir, dentry, oldname);
    >  	return error;
    >  }
    >  
    
    Is there any reason besides audit for this change?
    
    I don't want to keep reading... :)
    
    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 : Thu Oct 11 2001 - 11:30:48 PDT