summaryrefslogtreecommitdiff
path: root/fs/overlayfs/readdir.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2015-12-11 18:30:49 +0300
committerMiklos Szeredi <miklos@szeredi.hu>2015-12-11 18:30:49 +0300
commitcf9a6784f7c1b5ee2b9159a1246e327c331c5697 (patch)
tree00479d7bda053b037fe13c7408e3540365f907bf /fs/overlayfs/readdir.c
parented06e069775ad9236087594a1c1667367e983fb5 (diff)
downloadlinux-cf9a6784f7c1b5ee2b9159a1246e327c331c5697.tar.xz
ovl: setattr: check permissions before copy-up
Without this copy-up of a file can be forced, even without actually being allowed to do anything on the file. [Arnd Bergmann] include <linux/pagemap.h> for PAGE_CACHE_SIZE (used by MAX_LFS_FILESIZE definition). Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'fs/overlayfs/readdir.c')
0 files changed, 0 insertions, 0 deletions