summaryrefslogtreecommitdiff
path: root/fs/autofs4
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>2017-01-10 21:30:21 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2017-02-07 15:47:14 +0100
commit51f8f3c4e22535933ef9aecc00e9a6069e051b57 (patch)
treeb5ca89d2ee7d508616995e9b68792fb8363e844c /fs/autofs4
parente593b2bf513dd4d3fbfa0f435392eea2c7f776f0 (diff)
ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials
If overlay was mounted by root then quota set for upper layer does not work because overlay now always use mounter's credentials for operations. Also overlay might deplete reserved space and inodes in ext4. This patch drops capability SYS_RESOURCE from saved credentials. This affects creation new files, whiteouts, and copy-up operations. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Fixes: 1175b6b8d963 ("ovl: do operations on underlying file system in mounter's context") Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/autofs4')
0 files changed, 0 insertions, 0 deletions