Resolve

Resolve flags

Values

ValueMeaning
RESOLVE_NO_XDEV0x01

Block mount-point crossings (includes bind-mounts).

RESOLVE_BENEATH0x08

Block "lexical" trickery like "..", symlinks, and absolute paths which escape the dirfd.

RESOLVE_IN_ROOT0x10

Make all jumps to "/" and ".." be scoped inside the dirfd (similar to chroot(2)).

Meta