Re: [RFC][PATCH] Remove security_inode_post_create/mkdir/symlink/mknod hooks

From: Stephen Smalley (sds@private)
Date: Mon Jul 25 2005 - 06:34:06 PDT


On Mon, 2005-07-18 at 18:07 -0700, John Johansen wrote:
> true subdomain doesn't currently use these hooks, though I have played with
> them looking into potential uses in the future.  I was trying to point out
> that the inode_init_security hook being proposed as a replacement for the
> post_create hooks does not receive all the same information, which is a
> problem for subdomain when/if it tries using the inode_init_security.

That's fine - when/if subdomain is submitted upstream and when/if
subdomain wants to use that hook, you can then submit a patch to push
the dentry down to the new hook (it isn't presently available in the
immediate caller i.e. ext3_new_inode, as nothing else needs it, so you'd
have to patch that as well).  But it is pointless to do it now in the
absence of such a user.

-- 
Stephen Smalley
National Security Agency



This archive was generated by hypermail 2.1.3 : Mon Jul 25 2005 - 07:35:12 PDT