summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-19 18:32:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-19 18:32:25 +0000
commit06a7eb7784b783e42f500fcb143541b0142f1aa6 (patch)
treeb9bac11b010398ace03df02263e8ed193ad484d4
parenta513d90ee0c636addad700f045a8158507572e0a (diff)
entered into RCS
-rw-r--r--libnetfs/io-clear-some-openmodes.c1
-rw-r--r--libnetfs/io-get-icky-async-id.c2
-rw-r--r--libnetfs/io-reauthenticate.c2
-rw-r--r--libnetfs/io-set-all-openmodes.c9
-rw-r--r--libnetfs/io-set-some-openmodes.c1
5 files changed, 9 insertions, 6 deletions
diff --git a/libnetfs/io-clear-some-openmodes.c b/libnetfs/io-clear-some-openmodes.c
index 3f54bd39..27bbfac8 100644
--- a/libnetfs/io-clear-some-openmodes.c
+++ b/libnetfs/io-clear-some-openmodes.c
@@ -20,6 +20,7 @@
#include "netfs.h"
#include "io_S.h"
+#include "modes.h"
error_t
netfs_S_io_clear_some_openmodes (struct protid *user, int bits)
diff --git a/libnetfs/io-get-icky-async-id.c b/libnetfs/io-get-icky-async-id.c
index 8c9d85a6..49cae5eb 100644
--- a/libnetfs/io-get-icky-async-id.c
+++ b/libnetfs/io-get-icky-async-id.c
@@ -23,7 +23,7 @@
error_t
netfs_S_io_get_icky_async_id (struct protid *user, mach_port_t *pt,
- mach_mgg_type_name_t *ptt)
+ mach_msg_type_name_t *ptt)
{
return EOPNOTSUPP;
}
diff --git a/libnetfs/io-reauthenticate.c b/libnetfs/io-reauthenticate.c
index d49209ab..e0940108 100644
--- a/libnetfs/io-reauthenticate.c
+++ b/libnetfs/io-reauthenticate.c
@@ -26,7 +26,7 @@ netfs_S_io_reauthenticate (struct protid *user, mach_port_t rend_port)
{
struct protid *newpi;
uid_t gubuf[20], ggbuf[20], aubuf[20], agbuf[20];
- uid_t *gen_uids, *gin_gids, *aux_uids, *aux_gids;
+ uid_t *gen_uids, *gen_gids, *aux_uids, *aux_gids;
u_int genuidlen, gengidlen, auxuidlen, auxgidlen;
error_t err;
diff --git a/libnetfs/io-set-all-openmodes.c b/libnetfs/io-set-all-openmodes.c
index ff648beb..4f431459 100644
--- a/libnetfs/io-set-all-openmodes.c
+++ b/libnetfs/io-set-all-openmodes.c
@@ -20,16 +20,17 @@
#include "netfs.h"
#include "io_S.h"
+#include "modes.h"
error_t
-netfs_S_io_set_all_openmodes (struct protid *user, int bits)
+netfs_S_io_set_all_openmodes (struct protid *user, int newbits)
{
if (!user)
return EOPNOTSUPP;
mutex_lock (&user->po->np->lock);
- cred->po->openstat &= ~HONORED_STATE_MODES;
- cred->po->openstat |= (newbits & HONORED_STATE_MODES);
- mutex_ulnock (&user->po->np->lock);
+ user->po->openstat &= ~HONORED_STATE_MODES;
+ user->po->openstat |= (newbits & HONORED_STATE_MODES);
+ mutex_unlock (&user->po->np->lock);
return 0;
}
diff --git a/libnetfs/io-set-some-openmodes.c b/libnetfs/io-set-some-openmodes.c
index 47f91b09..97bd2b43 100644
--- a/libnetfs/io-set-some-openmodes.c
+++ b/libnetfs/io-set-some-openmodes.c
@@ -20,6 +20,7 @@
#include "netfs.h"
#include "io_S.h"
+#include "modes.h"
error_t
netfs_S_io_set_some_openmodes (struct protid *user, int bits)