1INODE_OWNER_OR_CAPAB(9)          The Linux VFS         INODE_OWNER_OR_CAPAB(9)
2
3
4

NAME

6       inode_owner_or_capable - check current task permissions to inode
7

SYNOPSIS

9       bool inode_owner_or_capable(const struct inode * inode);
10

ARGUMENTS

12       inode
13           inode being checked
14

DESCRIPTION

16       Return true if current either has CAP_FOWNER in a namespace with the
17       inode owner uid mapped, or owns the file.
18
20Kernel Hackers Manual 3.10         June 2019           INODE_OWNER_OR_CAPAB(9)
Impressum