HomeFreeBSD

When a file is executed and the path starts with `/', AT_EXECPATH is set

Description

When a file is executed and the path starts with `/', AT_EXECPATH is set
without any translation. If the file is a symbolic link, $ORIGIN may not be
expanded to the actual origin. Use realpath(3) to properly expand $ORIGIN
to its absolute path.

Reviewed by: kib
MFC after: 1 week

Details

Provenance
jkimAuthored on
Parents
rS279363: eui64_line(): plug memory leak.
Branches
Unknown
Tags
Unknown

Event Timeline