1__INODE_PERMISSION(9) The Linux VFS __INODE_PERMISSION(9)
2
3
4
6 __inode_permission - Check for access rights to a given inode
7
9 int __inode_permission(struct inode * inode, int mask);
10
12 inode
13 Inode to check permission on
14
15 mask
16 Right to check for (MAY_READ, MAY_WRITE, MAY_EXEC)
17
19 Check for read/write/execute permissions on an inode.
20
21 When checking for MAY_APPEND, MAY_WRITE must also be set in mask.
22
23 This does not check for a read-only file system. You probably want
24 inode_permission.
25
27Kernel Hackers Manual 3.10 June 2019 __INODE_PERMISSION(9)