commit | 9353384ec8128cb443463016bbabb44ca857ff52 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Fri Dec 04 15:47:52 2009 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 16 12:16:46 2009 -0500 |
tree | 411ff22e85868aea1575d8b133187def3b0e0498 | |
parent | ec29ea544b1ce204ba3575ba05fccf3069d00c3f [diff] |
ima: only insert at inode creation time iints are supposed to be allocated when an inode is allocated (during security_inode_alloc()) But we have code which will attempt to allocate an iint during measurement calls. If we couldn't allocate the iint and we cared, we should have died during security_inode_alloc(). Not make the code more complex and less efficient. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>