vfs_permission9
Check for access rights to a given path
Usage
int vfs_permission(struct nameidata * nd, int mask);
Arguments
nd
lookup result that describes the path
mask
right to check for (MAY_READ, MAY_WRITE, MAY_EXEC)
Overview
Used to check for read/write/execute permissions on a path. We use “fsuid” for this, letting us set arbitrary permissions for filesystem access without changing the “normal” uids which are used for other things.
Releases
2 releases since Debian 4.0 (Etch); the text changed 1 time.