1. NAME▲

inode_owner_or_capable - check current task permissions to inode

2. SYNOPSIS ▲

bool inode_owner_or_capable(const struct inode *  inode );

3. ARGUMENTS ▲

inode
    inode being checked

4. DESCRIPTION ▲

Return true if current either has CAP_FOWNER to the inode, or owns the file.

5. COPYRIGHT ▲