[Mesa-dev] [PATCH v2 1/4] util: Get program name based on path when possible

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 25 22:01:18 UTC 2018


On 24 September 2018 at 19:18, Nicholas Kazlauskas
<nicholas.kazlauskas at amd.com> wrote:
> Some programs start with the path and command line arguments in
> argv[0] (program_invocation_name). Chromium is an example of
> an application using mesa that does this.
>
> This tries to query the real path for the symbolic link /proc/self/exe
> to find the program name instead.
>
Out of curiosity: did you sent a patch to Chromium to fix this?
I'm not quite sure if that (arguments passed in argv[0]) is supposed
to work, reliably.

-Emil


More information about the mesa-dev mailing list