Re: [PATCH 7/7] procfs: provide magic retry response for /proc/self

2014-10-01 Thread Roland McGrath
> > + "proc/self/..." means replace `proc/self' with the PID of the current > > +process and then retry as for FS_RETRY_NORMAL. > > Roland, does it look OK to use a FS_RETRY_MAGICAL for implementing > /proc/self? FS_RETRY_MAGICAL is appropriate. But the string itself should m

Re: [PATCH 7/7] procfs: provide magic retry response for /proc/self

2014-09-30 Thread Samuel Thibault
Hello, Justus Winter, le Mon 22 Sep 2014 11:38:44 +0200, a écrit : > diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h > index 4341177..f22816d 100644 > --- a/hurd/hurd_types.h > +++ b/hurd/hurd_types.h > @@ -114,6 +114,9 @@ enum retry_type > as for FS_RETRY_NORMAL. > >

[PATCH 7/7] procfs: provide magic retry response for /proc/self

2014-09-22 Thread Justus Winter
* hurd/hurd_types.h: Document the magic retry string `proc/self'. * hurd/paths.h (_HURD_MAGIC): New macro. * procfs/main.c: Remove all code related to faking /proc/self. * procfs/main.h: Likewise. * procfs/rootdir.c: Likewise. Instead, return the magic retry response `proc/self' for the `self' nod