Age | Commit message (Collapse) | Author |
|
* dir-lookup.c (trivfs_S_dir_lookup): Use
iohelp_dup_iouser as per the new semantics.
* fsys-getroot.c (trivfs_S_fsys_getroot): Use
iohelp_create_complex_iouser.
* io-reauthenticate.c (trivfs_S_io_reauthenticate):
Use iohelp_reauth as per the new semantics.
* io-restrict-auth.c (trivfs_S_io_restrict_auth):
Use iohelp_create_complex_iouser. Check return values.
* trivfs_protid_dup (trivfs_protid_dup): Use iohelp_dup_iouser
as per the new semantics.
|
|
* fsys-getroot.c (trivfs_S_fsys_getroot): Fix typo.
|
|
* fsys-getroot.c (trivfs_S_fsys_getroot): Return EROFS or EACCES for a
disallowed open attempt, instead of EOPNOTSUPP. EOPNOTSUPP results in
the confusing result of ENOTDIR being delivered to the user.
|
|
* trivfs.h (trivfs_open_hook): New variable.
* fsys-getroot.c (trivfs_S_fsys_getroot): Use it.
|
|
* trivfs.h (trivfs_check_access_hook): New variable.
* fsys-getroot.c (trivfs_S_fsys_getroot): Use
trivfs_check_acces_hook.
* dir-lookup.c (trivfs_S_dir_lookup): Likewise.
* file-access.c (trivfs_S_file_check_access): Likewise.
|
|
Use trivfs_getroot_hook.
|
|
* io-restrict-auth.c (trivfs_S_io_restrict_auth): Rewrite to use
idvecs.
Wed Nov 6 23:40:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* trivfs.h (struct trivfs_protid): Delete members `uids', `gids',
`nuids', and `ngids'. Replace with `user'.
(trivfs_check_open_hook): Delete args `uids', `nuids', `gids',
`ngids'. Replace with new arg `user'. All callers changed.
(trivfs_open): Likewise.
* open.c (trivfs_open): Change to match new declaration.
* trivfs.h (struct trivfs_protid): Delete members `uids', `gids',
* io-reauthenticate.c (trivfs_S_io_reauthenticate): Use new
iohelp_reauth call.
|
|
trivfs_peropen_create_hook to return an error code, and abort if either does.
(trivfs_S_fsys_getroot): Guts (except for protection check) moved into
trivfs_open.
|
|
ports_allocate_port.
|
|
|
|
(struct pending_open): Delete type.
(trivfs_complete_open): Delete function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|