Konstantin Belousov f160596397 Resolve relative argv0 for direct exec mode to absolute path for AT_EXECPATH.
We know the binary relative name and can reliably calculate cwd path.
Because realpath(3) was already linked into ld-elf.so.1, reuse it
there to resolve dots and dotdots making the path more canonical.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D23014
2020-01-09 10:00:24 +00:00
..
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-01 08:04:22 +00:00
2018-03-05 16:11:07 +00:00
2019-11-12 22:31:59 +00:00
2017-10-31 00:07:04 +00:00
2019-12-04 16:56:11 +00:00
2017-10-31 00:07:04 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00