fs: Allow CAP_FOWNER in s_user_ns to create hard links
Privileged users in the namespace which controls a super block
should not be prevented from creating hard links. Expand the
check in may_linkat() to allow CAP_FOWNER in s_user_ns to set
any hardlink.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Showing
Please register or sign in to comment