MINOR: tools: add get_exec_path implementation for solaris based systems.

We can use getexecname() which fetches AT_SUN_EXECNAME from the auxiliary
vectors.

(cherry picked from commit 7198c700bc1881c115062d9a4019b960ab0e0b57)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 684e4b12ae5f7d88b3b7f8437f55fcf0eebb1cf5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed