table of contents
other versions
- stretch 4.9.168-1
INODE_OWNER_OR_CAPAB(9) | The Linux VFS | INODE_OWNER_OR_CAPAB(9) |
NAME¶
inode_owner_or_capable - check current task permissions to inodeSYNOPSIS¶
bool inode_owner_or_capable(const struct inode * inode);
ARGUMENTS¶
inodeinode being checked
DESCRIPTION¶
Return true if current either has CAP_FOWNER in a namespace with the inode owner uid mapped, or owns the file.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |