commit | cf9a6784f7c1b5ee2b9159a1246e327c331c5697 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Fri Dec 11 16:30:49 2015 +0100 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Fri Dec 11 16:30:49 2015 +0100 |
tree | 00479d7bda053b037fe13c7408e3540365f907bf | |
parent | ed06e069775ad9236087594a1c1667367e983fb5 [diff] |
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>