Hi DJ, > Date: 2026-08-22 13:54:01-0400 > From: DJ Delorie > > Alejandro Colomar writes: > > Another detail I noticed now: How is the process name taken? > > The kernel doesn't actually tell us the name of the file we're exec'd > from. It passes an already open file descriptor. So we have to infer > the file name from /proc/self/exe. If that isn't available, we use > argv[0] (unless AT_SECURE) but that can be vastly different than > /proc/self/exe as it's a separate parameter in the execve() call (hence > unless AT_SECURE ;). Hmmmm; interesting! I'll push your patch already, as is, and work on a patch (set) of my own to improve it a little bit. I'll send you the patch (set) for discussion. Thanks! Have a lovely night! Alex --