1INODE_OWNER_OR_CAPAB(9) The Linux VFS INODE_OWNER_OR_CAPAB(9)
23
4
NAME
6inode_owner_or_capable - check current task permissions to inode
7
SYNOPSIS
9bool inode_owner_or_capable(const struct inode * inode);
10
ARGUMENTS
12inode
13inode being checked
14
DESCRIPTION
16Return true if current either has CAP_FOWNER in a namespace with the
17inode owner uid mapped, or owns the file.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 INODE_OWNER_OR_CAPAB(9)