diff options
author | Thomas Bushnell <thomas@gnu.org> | 1996-11-18 23:57:44 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1996-11-18 23:57:44 +0000 |
commit | fffde734f20db7f74ca42ab7f6e0d8318d976a04 (patch) | |
tree | 2914604227a658dff1a14276e5185f5710cef25e | |
parent | ae11604e4e92e547030664d8cfc2e448ba66b976 (diff) |
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.
-rw-r--r-- | storeio/ChangeLog | 5 | ||||
-rw-r--r-- | storeio/storeio.c | 8 |
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; |