diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2015-12-11 18:30:49 +0300 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2015-12-11 18:30:49 +0300 |
commit | cf9a6784f7c1b5ee2b9159a1246e327c331c5697 (patch) | |
tree | 00479d7bda053b037fe13c7408e3540365f907bf /fs/overlayfs/readdir.c | |
parent | ed06e069775ad9236087594a1c1667367e983fb5 (diff) | |
download | linux-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