summaryrefslogtreecommitdiff
path: root/libdiskfs/lookup.c
AgeCommit message (Collapse)Author
1997-02-14(diskfs_lookup):Miles Bader
Remove DEPTH & NEW_DEPTH params. Check CRED->po->shadow_root for root traversals, and get rid of assert that EAGAIN isn't returned from diskfs_lookup_hard.
1997-02-06(diskfs_lookup):Miles Bader
Add DEPTH & NEW_DEPTH arguments. Implement new fs-root detection using them.
1996-11-13Thu Nov 7 01:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* protid-rele.c (diskfs_protid_rele): Free CRED->user. Wed Nov 6 17:55:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h (diskfs_isuid, diskfs_groupmember, diskfs_isowner, diskfs_access, diskfs_checkdirmod): Delete functions. * fsys-getroot.c (diskfs_S_fsys_getroot): Replace PSEUDOCRED with a real iouser and specify that in the relevant calls. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Reworked to use idvecs. * file-chmod.c (diskfs_S_file_chmod): diskfs_isuid -> idvec_contains. * file-chown.c (diskfs_S_file_chown): Likewise. * file-getcontrol.c (diskfs_S_file_getcontrol): Likewise. * file-chmod.c (diskfs_S_file_chmod): diskfs_groupmember -> idvec_contains. * file-chown.c (diskfs_S_file_chown): Likewise. * node-create.c (diskfs_create_node): Likewise. * dir-lookup.c (diskfs_S_dir_lookup): diskfs_isowner -> fshelp_isowner. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-get-transcntl.c (diskfs_S_file_get_translator_cntl): Likewise. * file-set-trans.c (diskfs_S_file_set_translator): Likewise. * file-utimes.c (diskfs_S_file_utimes): Likewise. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * lithp.h (dithkfth_ithowner): Deleted macro. (fthhelp_ithowner, uther): New macros. * file-chauthor.c (dithkfth_TH_file_chauthor): dthkfth_ithowner -> fthhelp_ithowner. * dir-lookup.c (diskfs_S_dir_lookup): diskfs_access -> fshelp_access. * dir-mkfile.c (diskfs_S_dir_mkfile): Likewise. * file-access.c (diskfs_S_file_check_access): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise (in dead code). * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * ifsock.c (diskfs_S_ifsock_getsockaddr): Likewise. * lookup.c (diskfs_lookup): Likewise. (diskfs_lookup): diskfs_checkdirmod -> fshelp_checkdirmod. * dir-lookup.c (diskfs_S_dir_lookup): New arg format for fshelp_fetch_root. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. * diskfs.h, protid-make.c (diskfs_create_protid): Delete args `uids', `gids', `nuids', and `ngids'. Replace with new arg `user'. All callers changed. (diskfs_finish_protid): Likewise. * file-inv-trans.c (diskfs_S_file_invoke_translator): Use CRED->user instead of old fields. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise. * node-create.c (diskfs_create_node): Likewise. * file-exec.c (diskfs_S_file_exec): Likewise. Use idvec_merge instead of idvec_merge_ids, now that it's convenient. * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use new iohelp_reauthenticate. Tue Nov 5 21:10:18 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h: Include <idvec.h>. (struct protid): Delete members `uids', `gids', `nuids' and `ngids'. New member `user'.
1996-09-04*** empty log message ***Thomas Bushnell
1996-07-28(diskfs_lookup): Don't nput *NP if we didn't find a file.Miles Bader
1996-07-16(diskfs_lookup): And do it correctly, at that.Michael I. Bushnell
1996-07-16(diskfs_lookup): If we get an error from diskfs_checkdirmod,Michael I. Bushnell
diskfs_nput the node we picked up; the caller won't want it.
1996-04-16(diskfs_lookup): Never mind.Michael I. Bushnell
1996-04-16(diskfs_lookup):Michael I. Bushnell
1996-04-16(diskfs_lookup): But only if not readonly.Michael I. Bushnell
1996-04-16(diskfs_lookup): Always update atime after I/O.Michael I. Bushnell
1996-04-10(diskfs_lookup):Miles Bader
Deal with DS or NP being 0. Use diskfs_*_lookup_cache functions instead of names without `lookup_'.
1996-04-02(diskfs_lookup): And correctly, too.Michael I. Bushnell
1996-04-02(diskfs_lookup): When doing diskfs_checkdirmod check, don't returnMichael I. Bushnell
success when we should return ENOENT, just because checkdirmod won. Also enter successful lookups for CREATE or LOOKUP in the name cache.
1996-03-22(diskfs_lookup): Dereference NP in call to diskfs_checkdirmod.Michael I. Bushnell
1996-03-20*** empty log message ***Michael I. Bushnell
1996-03-20(diskfs_lookup): Cleaner.Michael I. Bushnell
1996-03-20(diskfs_lookup): Do permission checking and cache looking here.Michael I. Bushnell
1996-03-20Initial revisionMichael I. Bushnell