introduce new LSM hooks where vfsmount is available.
authorKentaro Takeda <takedakn@nttdata.co.jp>
Wed, 17 Dec 2008 04:24:15 +0000 (13:24 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 31 Dec 2008 23:07:37 +0000 (18:07 -0500)
commitbe6d3e56a6b9b3a4ee44a0685e39e595073c6f0d
tree3a770f4cc676efeba443b28caa1ad195eeff49bc
parent6a94cb73064c952255336cc57731904174b2c58f
introduce new LSM hooks where vfsmount is available.

Add new LSM hooks for path-based checks.  Call them on directory-modifying
operations at the points where we still know the vfsmount involved.

Signed-off-by: Kentaro Takeda <takedakn@nttdata.co.jp>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Toshiharu Harada <haradats@nttdata.co.jp>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
fs/open.c
include/linux/security.h
net/unix/af_unix.c
security/Kconfig
security/capability.c
security/security.c