CacheFiles: Add calls to path-based security hooks
authorDavid Howells <dhowells@redhat.com>
Fri, 24 Dec 2010 14:48:35 +0000 (14:48 +0000)
committerJames Morris <jmorris@namei.org>
Sun, 23 Jan 2011 23:49:45 +0000 (10:49 +1100)
commit821404434f3324bf23f545050ff64055a149766e
tree619847c1b4c101da7eddee2cc920af329829847f
parentced3b93018a9633447ddeb12a96f25e08154cbe7
CacheFiles: Add calls to path-based security hooks

Add calls to path-based security hooks into CacheFiles as, unlike inode-based
security, these aren't implicit in the vfs_mkdir() and similar calls.

Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/cachefiles/namei.c
security/security.c