quota: Treat superblock owner as privilged
A user privileged towards s_user_ns is privileged towards the
superblock and should be allowed to perform privileged quota
operations on that superblock. Convert check_quotactl_permission
to check for CAP_SYS_ADMIN in s_user_ns for these operations.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Showing
Please register or sign in to comment