]> git.baikalelectronics.ru Git - kernel.git/commit
Untangling ima mess, part 2: deal with counters
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 11:27:40 +0000 (06:27 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Dec 2009 17:16:47 +0000 (12:16 -0500)
commitb65a9cfc2c38eebc33533280b8ad5841caee8b6e
treed6e5b713615cc5e65c900162ab09235ae4847909
parent0552f879d45cecc35d8e372a591fc5ed863bca58
Untangling ima mess, part 2: deal with counters

* do ima_get_count() in __dentry_open()
* stop doing that in followups
* move ima_path_check() to right after nameidata_to_filp()
* don't bump counters on it

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cachefiles/rdwr.c
fs/ecryptfs/main.c
fs/namei.c
fs/nfsd/vfs.c
fs/open.c
ipc/mqueue.c