aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* (struct diskfs_trans_callback_cookie2):Miles Bader1997-02-061-1/+9
| | | | New type.
* (diskfs_make_peropen):Miles Bader1997-02-061-2/+4
| | | | Add & use DEPTH argument.
* (diskfs_lookup):Miles Bader1997-02-061-63/+92
| | | | | Add DEPTH & NEW_DEPTH arguments. Implement new fs-root detection using them.
* (diskfs_S_fsys_getroot):Miles Bader1997-02-061-3/+5
| | | | | | Supply DEPTH argument to diskfs_make_peropen. Pass new type of cookie2 to fshelp_fetch_root, as expected by _diskfs_translator_callback2.
* (diskfs_S_file_exec):Miles Bader1997-02-061-2/+3
| | | | Supply DEPTH argument to diskfs_make_peropen.
* (diskfs_S_dir_unlink):Miles Bader1997-02-061-2/+2
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_S_dir_rmdir):Miles Bader1997-02-061-2/+2
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_S_dir_reparent):Miles Bader1997-02-061-1/+26
| | | | Implement.
* (checkpath, diskfs_rename_dir):Miles Bader1997-02-061-6/+7
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_S_dir_rename):Miles Bader1997-02-061-5/+12
| | | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Translate EAGAIN (meaning root's parent) to EINVAL.
* (diskfs_S_dir_mkfile):Miles Bader1997-02-061-1/+1
| | | | New file's depth is one greater than CRED's.
* (diskfs_S_dir_mkfile):Miles Bader1997-02-061-2/+3
| | | | Supply DEPTH argument to diskfs_make_peropen.
* (diskfs_S_dir_mkdir):Miles Bader1997-02-061-2/+3
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_S_dir_lookup):Miles Bader1997-02-061-7/+16
| | | | | | | | 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.
* (diskfs_S_dir_link):Miles Bader1997-02-061-2/+5
| | | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup. Translate EAGAIN (meaning root's parent) to EINVAL.
* (diskfs_init_dir):Miles Bader1997-02-061-3/+3
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_clear_directory):Miles Bader1997-02-061-3/+3
| | | | Supply DEPTH & NEW_DEPTH arguments to diskfs_lookup.
* (diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader1997-02-061-5/+5
| | | | | diskfs_execboot_fsys_startup, diskfs_S_fsys_init): Supply DEPTH argument to diskfs_make_peropen.
* (diskfs_lookup):Miles Bader1997-02-061-4/+14
| | | | | | | | Add DEPTH & NEW_DEPTH arguments. (diskfs_make_peropen): Add DEPTH argument. (struct peropen): Add DEPTH field.
* Initial checkinMiles Bader1997-02-061-0/+33
|
* (diskfs_S_fsys_getfile):Miles Bader1997-02-061-28/+93
| | | | Implement (code from ufs).
* (diskfs_S_file_getfh):Miles Bader1997-02-061-18/+50
| | | | Implement (code from ufs).
* .Miles Bader1997-02-051-0/+10
|
* (FSSRCS):Miles Bader1997-02-051-9/+9
| | | | Add dir-reparent.c.
* Doc fix.Miles Bader1997-02-051-2/+2
|
* (preemptor):Miles Bader1997-02-051-7/+7
| | | | | | Renamed from `preempter'; type & init changed as well. (diskfs_start_disk_pager): `preempter' -> `preemptor'.
* Initial checkin.Miles Bader1997-02-051-0/+29
|
* ObsoleteMiles Bader1997-01-201-141/+0
|
* .Miles Bader1996-11-201-0/+7
|
* (diskfs_S_file_chown):Miles Bader1996-11-201-0/+2
| | | | If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
* (struct node):Miles Bader1996-11-201-0/+2
| | | | Add author_tracks_uid field.
* (diskfs_create_node):Miles Bader1996-11-201-0/+2
| | | | If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
* .Miles Bader1996-11-191-0/+20
|
* (diskfs_S_dir_lookup):Miles Bader1996-11-191-2/+2
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (diskfs_S_dir_rmdir):Miles Bader1996-11-191-1/+1
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (struct node):Miles Bader1996-11-191-1/+0
| | | | Remove istranslated field.
* (diskfs_S_file_get_translator):Miles Bader1996-11-191-2/+2
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (diskfs_S_file_invoke_translator):Miles Bader1996-11-191-1/+2
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (diskfs_S_file_set_translator):Miles Bader1996-11-191-1/+1
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (diskfs_S_fsys_getroot):Miles Bader1996-11-191-1/+1
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (diskfs_drop_node):Miles Bader1996-11-191-1/+1
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (_diskfs_translator_callback1_fn):Miles Bader1996-11-191-1/+1
| | | | Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
* (diskfs_S_file_get_translator_cntl):Miles Bader1996-11-191-2/+5
| | | | | Use MACH_MSG_TYPE_MOVE_SEND to return *ctl, rather than COPY. Correctly test for errors from fshelp_fetch_control.
* (diskfs_S_io_stat):Miles Bader1996-11-191-0/+14
| | | | | Set S_IATRANS & S_IROOT bits in st_mode field of returned buffer if appropiate.
* Fri Nov 15 14:06:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-189-11/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Thu Nov 7 01:03:11 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-11-1327-251/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
* .Miles Bader1996-11-111-0/+5
|
* (diskfs_S_io_restrict_auth):Miles Bader1996-11-111-9/+21
| | | | If CRED has root, use the requested id sets verbatim.
* .Miles Bader1996-10-241-0/+13
|
* (parents):Miles Bader1996-10-241-2/+2
| | | | | | | | Variable removed. (children): New variable. (diskfs_std_runtime_argp): Use CHILDREN instead of PARENTS.