summaryrefslogtreecommitdiff
path: root/fs/autofs4/Kconfig
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2016-07-01 16:34:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-10 09:56:36 +0200
commitb24be4acd17a8963a29b2a92e1d80b9ddf759c95 (patch)
tree14d620fa2920840935b21bafebcc3f462ad668e7 /fs/autofs4/Kconfig
parent485ac3d91b2d158a6aab27caaa33840d67a46896 (diff)
ovl: modify ovl_permission() to do checks on two inodes
commit c0ca3d70e8d3cf81e2255a217f7ca402f5ed0862 upstream. Right now ovl_permission() calls __inode_permission(realinode), to do permission checks on real inode and no checks are done on overlay inode. Modify it to do checks both on overlay inode as well as underlying inode. Checks on overlay inode will be done with the creds of calling task while checks on underlying inode will be done with the creds of mounter. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> [ Srivatsa: 4.4.y backport: - Skipped the hunk modifying non-existent function ovl_get_acl() - Adjusted the error path - Included linux/cred.h to get prototype for revert_creds() ] Signed-off-by: Srivatsa S. Bhat (VMware) <srivatsa@csail.mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/autofs4/Kconfig')
0 files changed, 0 insertions, 0 deletions