From: Eric Paris Date: Fri, 4 Dec 2009 20:47:52 +0000 (-0500) Subject: ima: only insert at inode creation time X-Git-Tag: v2.6.33-rc1~49^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9353384ec8128cb443463016bbabb44ca857ff52;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed