summaryrefslogtreecommitdiff
path: root/storeio
diff options
context:
space:
mode:
Diffstat (limited to 'storeio')
-rw-r--r--storeio/ChangeLog5
-rw-r--r--storeio/storeio.c8
2 files changed, 8 insertions, 5 deletions
diff --git a/storeio/ChangeLog b/storeio/ChangeLog
index 29c05af5..ecf855ce 100644
--- a/storeio/ChangeLog
+++ b/storeio/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 15 17:54:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * storeio.c (trivfs_check_open_hook): New arg syntax.
+ (check_open_hook): Likewise.
+
Thu Oct 24 16:24:53 1996 Miles Bader <miles@gnu.ai.mit.edu>
* storeio.c (main): Use elements of type `struct argp_child' for KIDS.
diff --git a/storeio/storeio.c b/storeio/storeio.c
index b22cc436..4c5e6c87 100644
--- a/storeio/storeio.c
+++ b/storeio/storeio.c
@@ -179,8 +179,7 @@ trivfs_append_args (struct trivfs_control *trivfs_control,
return errors from here. */
static error_t
check_open_hook (struct trivfs_control *trivfs_control,
- uid_t *uids, u_int nuids,
- gid_t *gids, u_int ngids,
+ struct iouser *user,
int flags)
{
error_t err = 0;
@@ -322,7 +321,7 @@ trivfs_goaway (struct trivfs_control *fsys, int flags)
}
/* If this variable is set, it is called every time an open happens.
- UIDS, GIDS, and FLAGS are from the open; CNTL identifies the
+ USER and FLAGS are from the open; CNTL identifies the
node being opened. This call need not check permissions on the underlying
node. If the open call should block, then return EWOULDBLOCK. Other
errors are immediately reflected to the user. If O_NONBLOCK
@@ -330,8 +329,7 @@ trivfs_goaway (struct trivfs_control *fsys, int flags)
trivfs_complete_open when all pending open requests for this
file can complete. */
error_t (*trivfs_check_open_hook)(struct trivfs_control *trivfs_control,
- uid_t *uids, u_int nuids,
- gid_t *gids, u_int ngids,
+ struct iouser *user,
int flags)
= check_open_hook;