diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-19 03:42:43 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-19 03:42:43 +0000 |
commit | 8ad48f6ce444648397d82b107cd196c24599d7cb (patch) | |
tree | 1dbc9e6c691521e74a48a9df2b7944366a4c0922 /libdiskfs/protid-make.c | |
parent | f030ef4e9d02fc0c88113a569773e49d629e9aa2 (diff) | |
download | hurd-8ad48f6ce444648397d82b107cd196c24599d7cb.tar.gz hurd-8ad48f6ce444648397d82b107cd196c24599d7cb.tar.bz2 hurd-8ad48f6ce444648397d82b107cd196c24599d7cb.zip |
*** empty log message ***
Diffstat (limited to 'libdiskfs/protid-make.c')
-rw-r--r-- | libdiskfs/protid-make.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libdiskfs/protid-make.c b/libdiskfs/protid-make.c index 2921f569..c67bd41b 100644 --- a/libdiskfs/protid-make.c +++ b/libdiskfs/protid-make.c @@ -24,8 +24,8 @@ error_t diskfs_start_protid (struct peropen *po, struct protid **cred) { error_t err = - ports_create_port (diskfs_protid_class, diskfs_port_bucket, - sizeof (struct protid), cred); + ports_create_port_noinstall (diskfs_protid_class, diskfs_port_bucket, + sizeof (struct protid), cred); if (! err) { po->refcnt++; @@ -61,6 +61,9 @@ diskfs_finish_protid (struct protid *cred, uid_t *uids, int nuids, bcopy (gids, cred->gids, ngids * sizeof (uid_t)); else *cred->gids = 0; + + mach_port_move_member (mach_task_self (), cred->pi.port_right, + diskfs_port_bucket->portset); } /* Create and return a protid for an existing peropen PO in CRED. The uid |