Skip to main content

nofollow_open_flag

Function nofollow_open_flag 

Source
fn nofollow_open_flag(nofollow: bool) -> i64
Expand description

O_NOFOLLOW when the host open must not follow a final symlink.

The tracee’s own O_NOFOLLOW is dropped first: a mount point is opened through its pinned descriptor’s /proc/self/fd link, which the flag would refuse with ELOOP (libpulse opens PULSE_RUNTIME_PATH that way before connecting).

§Arguments

§Returns

O_NOFOLLOW or 0.