diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2021-04-23 14:44:34 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-05-02 22:21:00 +0000 |
commit | e4ed47ef4a7fafbc63febc58d13eca247db64a05 (patch) | |
tree | e69bc5e9928922081b360cf5491d0828dd47d627 /src/plugins/platforms/android | |
parent | 831aea1ce1a3f08188bed005d239e367917acf2a (diff) |
QCoreApplication::applicationFilePath: add ELF auxval support
This implements getting the executable file name for FreeBSD. Linux has
a similar functionality (but called AT_EXECFN), but the /proc/self/exe
trick is actually better: it returns a full canonical path instead of
the argument passed to execve(), and it follows a rename of the
executable.
Change-Id: I7a386ad4f0cb4e2ba629fffd16789acda415213f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'src/plugins/platforms/android')
0 files changed, 0 insertions, 0 deletions