git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git 2.18: RUNTIME_PREFIX... is it working?

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jul 19, 2018, 22:26 UTC
Message-ID
<20180719222613.GA7066@genre.crustytoothpaste.net>
In-Reply-To
<nycvar.QRO.7.76.6.1807181418120.71@tvgsbejvaqbjf.bet>
On Wed, Jul 18, 2018 at 02:18:44PM +0200, Johannes Schindelin wrote:
Show 13 quoted lines
> On Sat, 14 Jul 2018, brian m. carlson wrote:
> > I will say that at cPanel, we have a configuration where end users can
> > end up inside a mount namespace without /proc (depending on the
> > preferences of the administrator).  However, it's easy enough for us to
> > simply build without RUNTIME_PREFIX if necessary.
> > 
> > If we turn it on by default, it would be nice if we documented (maybe in
> > the Makefile) that it requires /proc on Linux for the benefit of other
> > people who might be in a similar situation.
> 
> Is there *really* no other way on Linux to figure out the absolute path of
> the current executable than to open a pseudo file in the `/proc` file
> system?

Nope, not that I'm aware of. You have to read the destination of the /proc/PID/exe symlink.

-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204
Previous: Johannes SchindelinNext: Jeff Hostetler
Message 23 of 24 in “Git 2.18: RUNTIME_PREFIX... is it working?”
  1. Paul SmithJul 4, 2018
  2. Johannes SchindelinJul 4, 2018
  3. Paul SmithJul 5, 2018
  4. Johannes SchindelinJul 6, 2018
  5. Daniel JacquesJul 6, 2018
  6. Paul SmithJul 8, 2018
  7. Johannes SchindelinJul 8, 2018
  8. Jeff KingJul 9, 2018
  9. Johannes SchindelinJul 9, 2018
  10. Jeff KingJul 10, 2018
  11. Johannes SchindelinJul 10, 2018
  12. Daniel JacquesJul 10, 2018
  13. Junio C HamanoJul 10, 2018
  14. Junio C HamanoJul 9, 2018
  15. Jeff KingJul 10, 2018
  16. Perry HutchisonJul 10, 2018
  17. Jeff KingJul 10, 2018
  18. Jonathan NiederJul 10, 2018
  19. Jonathan NiederJul 10, 2018
  20. Johannes SchindelinJul 17, 2018
  21. brian m. carlsonJul 14, 2018
  22. Johannes SchindelinJul 18, 2018
  23. brian m. carlsonJul 19, 2018
  24. Jeff HostetlerJul 20, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.