Man Page: inode_owner_or_capable
Operating Environment: centos
Section: 9
INODE_OWNER_OR_CAPAB(9) The Linux VFS INODE_OWNER_OR_CAPAB(9)NAMEinode_owner_or_capable - check current task permissions to inodeSYNOPSISbool inode_owner_or_capable(const struct inode * inode);ARGUMENTSinode inode being checkedDESCRIPTIONReturn true if current either has CAP_FOWNER to the inode, or owns the file.COPYRIGHTKernel Hackers Manual 3.10 June 2014 INODE_OWNER_OR_CAPAB(9)