]> git.baikalelectronics.ru Git - kernel.git/commit
Untangling ima mess, part 3: kill dead code in ima
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 11:38:01 +0000 (06:38 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:47 +0000 (12:16 -0500)
commitc237f67bb2bfbee6901c18f290fa54cd758acc22
tree3100f009ec8863ee4692ee197b8e0c16c11258e6
parentb73082778d60637fa10847fd691444e62ebbdf19
Untangling ima mess, part 3: kill dead code in ima

Kill the 'update' argument of ima_path_check(), kill
dead code in ima.

Current rules: ima counters are bumped at the same time
when the file switches from put_filp() fodder to fput()
one.  Which happens exactly in two places - alloc_file()
and __dentry_open().  Nothing else needs to do that at
all.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
fs/nfsd/vfs.c
include/linux/ima.h
security/integrity/ima/ima_main.c