summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
1997-02-06(diskfs_S_dir_reparent):Miles Bader
Implement.
1997-02-06(checkpath, diskfs_rename_dir):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
1997-02-06(diskfs_S_dir_rename):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Translate EAGAIN (meaning root's parent) to EINVAL.
1997-02-06(diskfs_S_dir_mkfile):Miles Bader
New file's depth is one greater than CRED's.
1997-02-06(diskfs_S_dir_mkfile):Miles Bader
Supply DEPTH argument to diskfs_make_peropen.
1997-02-06(diskfs_S_dir_mkdir):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
1997-02-06(diskfs_S_dir_lookup):Miles Bader
Add DEPTH variable. Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Supply DEPTH argument diskfs_make_peropen. Pass new type of cookie2 to fshelp_fetch_root, as expected by _diskfs_translator_callback2.
1997-02-06(diskfs_S_dir_link):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Translate EAGAIN (meaning root's parent) to EINVAL.
1997-02-06(diskfs_init_dir):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
1997-02-06(diskfs_clear_directory):Miles Bader
Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
1997-02-06(diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader
diskfs_execboot_fsys_startup, diskfs_S_fsys_init): Supply DEPTH argument to diskfs_make_peropen.
1997-02-06(diskfs_lookup):Miles Bader
Add DEPTH & NEW_DEPTH arguments. (diskfs_make_peropen): Add DEPTH argument. (struct peropen): Add DEPTH field.
1997-02-06Initial checkinMiles Bader
1997-02-06(diskfs_S_fsys_getfile):Miles Bader
Implement (code from ufs).
1997-02-06(diskfs_S_file_getfh):Miles Bader
Implement (code from ufs).
1997-02-05.Miles Bader
1997-02-05(FSSRCS):Miles Bader
Add dir-reparent.c.
1997-02-05Doc fix.Miles Bader
1997-02-05(preemptor):Miles Bader
Renamed from `preempter'; type & init changed as well. (diskfs_start_disk_pager): `preempter' -> `preemptor'.
1997-02-05Initial checkin.Miles Bader
1997-01-20ObsoleteMiles Bader
1996-11-20.Miles Bader
1996-11-20(diskfs_S_file_chown):Miles Bader
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
1996-11-20(struct node):Miles Bader
Add author_tracks_uid field.
1996-11-20(diskfs_create_node):Miles Bader
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
1996-11-19.Miles Bader
1996-11-19(diskfs_S_dir_lookup):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_dir_rmdir):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(struct node):Miles Bader
Remove istranslated field.
1996-11-19(diskfs_S_file_get_translator):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_file_invoke_translator):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_file_set_translator):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_fsys_getroot):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_drop_node):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(_diskfs_translator_callback1_fn):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_file_get_translator_cntl):Miles Bader
Use MACH_MSG_TYPE_MOVE_SEND to return *ctl, rather than COPY. Correctly test for errors from fshelp_fetch_control.
1996-11-19(diskfs_S_io_stat):Miles Bader
Set S_IATRANS & S_IROOT bits in st_mode field of returned buffer if appropiate.
1996-11-18Fri Nov 15 14:06:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* protid-make.c (diskfs_finish_protid): Fix typo. * file-chown.c (diskfs_S_file_chown): Look for UID, not CRED in the uid set. * dir-lookup.c (diskfs_S_dir_lookup): Make the unauthenticated port correctly. Thu Nov 14 13:07:37 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * dir-init.c (diskfs_init_dir): New vars VEC and USER; fabricate LOOKUPCRED to correspond to new structure definitions. * io-restrict-auth.c (diskfs_S_io_restrict_auth): Declare I and add a missing semicolon. * fsys-getroot.c (diskfs_S_fsys_getroot): Eliminate PSEUDOCRED entirely. Fix unrelated typo. * file-chauthor.c (dithkfth_TH_file_chauthor): Fix first arg in call to fthhelp_ithowner. Tue Nov 12 22:45:07 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h: Correctly close comment.
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-11-11.Miles Bader
1996-11-11(diskfs_S_io_restrict_auth):Miles Bader
If CRED has root, use the requested id sets verbatim.
1996-10-24.Miles Bader
1996-10-24(parents):Miles Bader
Variable removed. (children): New variable. (diskfs_std_runtime_argp): Use CHILDREN instead of PARENTS.
1996-10-24(store_argp_children, startup_argp_children):Miles Bader
New variables. (diskfs_store_startup_argp): Use STORE_ARGP_CHILDREN instead of STORE_ARGP_PARENTS. (store_argp_parents, startup_argp_children): Variable removed. (diskfs_startup_argp): Use STARTUP_ARGP_CHILDREN instead of STARTUP_ARGP_PARENTS.
1996-10-24Mon Oct 21 21:54:34 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* diskfs.h: Add extern inline protection. * diskfs.c: New file. * Makefile (OTHERSRCS): Add diskfs.c.
1996-10-12(OPENONLY_STATE_MODES): Add O_EXLOCK & O_SHLOCK.Miles Bader
1996-10-12.Miles Bader
1996-10-12(diskfs_S_dir_lookup):Miles Bader
Temporarily add O_EXLOCK and O_SHLOCK to the set of retained flags, until they get added to O_HURD. Turn off OPENONLY_STATE_MODES bits in the flags we pass to diskfs_make_peropen, not everything *but* them!
1996-10-11.Miles Bader
1996-10-11(diskfs_S_dir_lookup):Miles Bader
Free NEWPI if we get an error trying to lock it.