diff options
author | Justus Winter <justus@gnupg.org> | 2016-04-26 15:43:26 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-04-28 18:46:38 +0200 |
commit | f250b6d8626c9d3ecf0d356dfd786a23ebbf6ca1 (patch) | |
tree | ece9fc459ecf123de109db9f9736a482f0dbea6e /trans | |
parent | 57d5c5ca5463d43196393bc5b2d5f379ee749374 (diff) |
Unify and document the way fsids are handled in trivfs translators
* doc/hurd.texi: Clarify what happens if 'trivfs_fsid' is zero.
* login/utmp.c: Leave 'trivfs_fsid' at zero.
* pfinet/main.c: Likewise.
* trans/ifsock.c: Likewise.
* trans/proxy-defpager.c: Likewise.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/ifsock.c | 2 | ||||
-rw-r--r-- | trans/proxy-defpager.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/trans/ifsock.c b/trans/ifsock.c index 13a21338..908fe135 100644 --- a/trans/ifsock.c +++ b/trans/ifsock.c @@ -51,7 +51,7 @@ struct port_class *node_class; struct port_bucket *port_bucket; int trivfs_fstype = FSTYPE_IFSOCK; -int trivfs_fsid = 0; /* ??? */ +int trivfs_fsid = 0; int trivfs_support_read = 0; int trivfs_support_write = 0; diff --git a/trans/proxy-defpager.c b/trans/proxy-defpager.c index 9a8436ae..e2b15ea8 100644 --- a/trans/proxy-defpager.c +++ b/trans/proxy-defpager.c @@ -286,8 +286,6 @@ main (int argc, char **argv) if (bootstrap == MACH_PORT_NULL) error (1, 0, "Must be started as a translator"); - trivfs_fsid = getpid (); - err = trivfs_add_protid_port_class (&trivfs_protid_class); if (err) error (1, 0, "error creating protid port class"); |