aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorMiklos Szeredi <[email protected]>2015-12-11 15:30:49 +0000
committerMiklos Szeredi <[email protected]>2015-12-11 15:30:49 +0000
commitcf9a6784f7c1b5ee2b9159a1246e327c331c5697 (patch)
tree00479d7bda053b037fe13c7408e3540365f907bf /net/unix/af_unix.c
parentovl: root: copy attr (diff)
downloadkernel-cf9a6784f7c1b5ee2b9159a1246e327c331c5697.tar.gz
kernel-cf9a6784f7c1b5ee2b9159a1246e327c331c5697.zip
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 <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions