Re: [PATCH] adding /proc/pid/exe

2017-01-02 Thread Justus Winter
Samuel Thibault writes: > Hello, > > Samuel Thibault, on Mon 19 Dec 2016 14:38:25 +0100, wrote: >> I'm notably wondering about the RPC: >> should we be using string_t or data_t ? > > So, any opinion on this? I recommend just using string_t for now. Eventually, we need to salvage the string_t di

Re: [PATCH] adding /proc/pid/exe

2017-01-02 Thread Samuel Thibault
Hello, Samuel Thibault, on Mon 19 Dec 2016 14:38:25 +0100, wrote: > I'm notably wondering about the RPC: > should we be using string_t or data_t ? So, any opinion on this? > Index: hurd-debian/hurd/process.defs > === > --- hurd-debi

[PATCH] adding /proc/pid/exe

2016-12-19 Thread Samuel Thibault
Hello, The attached patch adds support for /proc/pid/exe. It does so by making exec set the binary path it used through proc_set_exe, and making libps use proc_get_exe to retrieve it. I'm notably wondering about the RPC: should we be using string_t or data_t ? Samuel Index: hurd-debian/exec/exec.