1INODE_PERMISSION(9)              The Linux VFS             INODE_PERMISSION(9)
2
3
4

NAME

6       inode_permission - check for access rights to a given inode
7

SYNOPSIS

9       int inode_permission(struct inode * inode, int mask);
10

ARGUMENTS

12       inode
13           inode to check permission on
14
15       mask
16           right to check for (MAY_READ, MAY_WRITE, MAY_EXEC)
17

DESCRIPTION

19       Used to check for read/write/execute permissions on an inode. We use
20       “fsuid” for this, letting us set arbitrary permissions for filesystem
21       access without changing the “normal” uids which are used for other
22       things.
23
25Kernel Hackers Manual 2.6.         June 2019               INODE_PERMISSION(9)
Impressum