ima: fix bug in argument order
authorDmitry Kasatkin <dmitry.kasatkin@intel.com>
Thu, 27 Sep 2012 15:26:53 +0000 (18:26 +0300)
committerJames Morris <james.l.morris@oracle.com>
Fri, 5 Oct 2012 12:32:16 +0000 (22:32 +1000)
commitd26e1936227b538a1691b978566ef269aef10853
treec1b803d6177f6c39932a159c7bdb2c557497e16f
parentecefbd94b834fa32559d854646d777c56749ef1c
ima: fix bug in argument order

mask argument goes first, then func, like ima_must_measure
and ima_get_action. ima_inode_post_setattr() assumes that.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
security/integrity/ima/ima.h
security/integrity/ima/ima_appraise.c