diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2016-12-19 02:13:06 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-12-19 02:13:06 +0100 |
commit | b2c97e251bb470e6f967c716081675a96dbde59c (patch) | |
tree | aa159f1f6d44959c40a3739515c4c6ae3ab9f3e7 /hurd/hurd_types.h | |
parent | 5add1f4c531639b6247c827566ae55426c1182d7 (diff) |
procfs: provide magic retry response for /proc/self
* hurd/hurd_types.h: Document the magic retry string `pid'.
* 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 `pid' for the `self' node.
Diffstat (limited to 'hurd/hurd_types.h')
-rw-r--r-- | hurd/hurd_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h index 43411778..2960a294 100644 --- a/hurd/hurd_types.h +++ b/hurd/hurd_types.h @@ -114,6 +114,9 @@ enum retry_type as for FS_RETRY_NORMAL. "/..." means retry "...", but starting from the users root directory. + + "pid/..." means replace `pid' with the PID of the current process in %u + format and then retry as for FS_RETRY_NORMAL. */ }; typedef enum retry_type retry_type; |