Re: /proc/self/fd support on Hurd

2020-02-11 Thread Svante Signell
On Tue, 2020-02-11 at 09:03 -0800, Samuel Thibault wrote: > Svante Signell, le mar. 11 févr. 2020 17:59:12 +0100, a ecrit: > > Sorry, that was a Linux system. On hurd: > > ls -l /proc/self/fd/ > > I don't have such a directory on a Hurd system. Yes you are correct. > Note that getting the list o

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Samuel Thibault
Svante Signell, le mar. 11 févr. 2020 17:59:12 +0100, a ecrit: > Sorry, that was a Linux system. On hurd: > ls -l /proc/self/fd/ I don't have such a directory on a Hurd system. > total 0 Note that getting the list of fds is not supported, but if you ls /dev/fd/0 for instance, it will work. Samu

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Svante Signell
On Tue, 2020-02-11 at 08:46 -0800, Samuel Thibault wrote: > Svante Signell, le mar. 11 févr. 2020 17:42:18 +0100, a ecrit: > > On Tue, 2020-02-11 at 06:16 -0800, Samuel Thibault wrote: > > > Florian Weimer, le mar. 11 févr. 2020 15:06:43 +0100, a ecrit: > > > > > Samuel Thibault, le mar. 11 févr. 2

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Samuel Thibault
Svante Signell, le mar. 11 févr. 2020 17:42:18 +0100, a ecrit: > On Tue, 2020-02-11 at 06:16 -0800, Samuel Thibault wrote: > > Florian Weimer, le mar. 11 févr. 2020 15:06:43 +0100, a ecrit: > > > > Samuel Thibault, le mar. 11 févr. 2020 05:47:30 -0800, a ecrit: > > > > > Florian Weimer, le mar. 11

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Svante Signell
On Tue, 2020-02-11 at 06:16 -0800, Samuel Thibault wrote: > Florian Weimer, le mar. 11 févr. 2020 15:06:43 +0100, a ecrit: > > > Samuel Thibault, le mar. 11 févr. 2020 05:47:30 -0800, a ecrit: > > > > Florian Weimer, le mar. 11 févr. 2020 14:39:23 +0100, a ecrit: > > > > > Does Hurd support /proc/s

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Samuel Thibault
Florian Weimer, le mar. 11 févr. 2020 15:06:43 +0100, a ecrit: > > Samuel Thibault, le mar. 11 févr. 2020 05:47:30 -0800, a ecrit: > >> Florian Weimer, le mar. 11 févr. 2020 14:39:23 +0100, a ecrit: > >> > Does Hurd support /proc/self/fd, in the sense that the POSIX functions > >> > in glibc (such

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Florian Weimer
* Samuel Thibault: > Samuel Thibault, le mar. 11 févr. 2020 05:47:30 -0800, a ecrit: >> Florian Weimer, le mar. 11 févr. 2020 14:39:23 +0100, a ecrit: >> > Does Hurd support /proc/self/fd, in the sense that the POSIX functions >> > in glibc (such as openat) can deal with such paths? >> >> Not yet

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Samuel Thibault
Samuel Thibault, le mar. 11 févr. 2020 05:47:30 -0800, a ecrit: > Florian Weimer, le mar. 11 févr. 2020 14:39:23 +0100, a ecrit: > > Does Hurd support /proc/self/fd, in the sense that the POSIX functions > > in glibc (such as openat) can deal with such paths? > > Not yet but that could be added qu

Re: /proc/self/fd support on Hurd

2020-02-11 Thread Samuel Thibault
Hello, Florian Weimer, le mar. 11 févr. 2020 14:39:23 +0100, a ecrit: > Does Hurd support /proc/self/fd, in the sense that the POSIX functions > in glibc (such as openat) can deal with such paths? Not yet but that could be added quite easily with some magic translation. Samuel

/proc/self/fd support on Hurd

2020-02-11 Thread Florian Weimer
Does Hurd support /proc/self/fd, in the sense that the POSIX functions in glibc (such as openat) can deal with such paths? Thanks, Florian