diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-04 15:47:52 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-12-16 12:16:46 -0500 |
commit | 9353384ec8128cb443463016bbabb44ca857ff52 (patch) | |
tree | 411ff22e85868aea1575d8b133187def3b0e0498 /security/lsm_audit.c | |
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>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions