vfs_permission(9)

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.

  1. 4.0
  2. 5.0

From linux-manual-2.6.26 2.6.26-29 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.