The somewhat problematic case is when the executable path is relative and either $PATH use is not enabled or it contains '/' so $PATH search is not performed. In this case AT_EXECPATH is relative, I might fix this later.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 28271
Event Timeline
libexec/rtld-elf/rtld.c | ||
---|---|---|
510 | Testing has shown that aux_info[AT_EXECPATH] is not guaranteed to be non-NULL |