On 09/25/2018 06:01 PM, Emil Velikov wrote:
On 24 September 2018 at 19:18, Nicholas Kazlauskas
<nicholas.kazlaus...@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


I don't think it's expected behavior when it comes to the rest of userspace but I'm not familiar enough with Chromium's multiprocess model to say for sure. I haven't reported this as a bug.

Anything that uses Chromium as a base exhibits this behavior as well - pretty much anything that uses Electron.

Nicholas Kazlauskas
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to