summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-22 20:43:13 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-22 20:43:13 +0000
commit104de74ac6988f2fd9a6210f6a386cbf608ae691 (patch)
tree0344faf50aeff070c5d4fb4815fe0ceffe30e398
parent08dfaba9db0f04c94a1bcf2b1b410b05f42ffd2f (diff)
Formerly io-restrict-auth.c.~8~
-rw-r--r--libtrivfs/io-restrict-auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtrivfs/io-restrict-auth.c b/libtrivfs/io-restrict-auth.c
index 2d928cbf..21783ef9 100644
--- a/libtrivfs/io-restrict-auth.c
+++ b/libtrivfs/io-restrict-auth.c
@@ -74,6 +74,7 @@ trivfs_S_io_restrict_auth (struct trivfs_protid *cred,
bcopy (newgids, newcred->gids, newngids * sizeof (uid_t));
newcred->ngids = newngids;
newcred->nuids = newnuids;
+ newcred->hook = cred->hook;
io_restrict_auth (cred->realnode, &newcred->realnode,
newuids, newnuids, newgids, newngids);