lkml.org 
[lkml]   [2020]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 11/25] inode: inode_owner_or_capable(): handle fsid mappings
On Tue, Feb 18, 2020 at 03:33:57PM +0100, Christian Brauner wrote:
> + if (is_userns_visible(inode->i_sb->s_iflags)) {
> + if (kuid_has_mapping(ns, inode->i_uid) && ns_capable(ns, CAP_FOWNER))
> + return true;
> + } else if (kfsuid_has_mapping(ns, inode->i_uid) && ns_capable(ns, CAP_FOWNER)) {

This adds some crazy long unreadable lines..

\
 
 \ /
  Last update: 2020-02-18 23:26    [W:0.182 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site