Re: [PATCH 1/6] libfshelp_rlock

2016-12-19 Thread Samuel Thibault
Hello, Svante Signell, on Thu 15 Dec 2016 12:31:55 +0100, wrote: > On Thu, 2015-03-05 at 02:34 +0100, Samuel Thibault wrote: > > Olaf was wondering about flock being reimplemented over this new > > implementation.  It's actually a tricky question.  I believe there are > > two issues: > > > > > >

Regarding file record locking patches

2016-12-19 Thread Svante Signell
HI, I'm about to submit patches for file record locking a third time. I have still some comment/questions before doing that: According to POSIX.1-2008: Regular files: F_SETLK can establish shared (or read) locks (F_RDLCK) or exclusive (or write) locks (F_WRLCK), as well as to remove either type o

[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.