summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs.h
AgeCommit message (Collapse)Author
1996-11-19(struct node):Miles Bader
Remove istranslated field.
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-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-09-23(diskfs_append_args):Miles Bader
Renamed from diskfs_get_options. (diskfs_disk_name): New declaration. (diskfs_store_startup_argp): Renamed from diskfs_std_device_startup_argp. (diskfs_device_arg, diskfs_use_mach_device, diskfs_device_open, diskfs_device, diskfs_device_name, diskfs_device_start, diskfs_device_size, diskfs_device_block_size, diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, diskfs_device_write_sync, diskfs_device_read_sync): Declarations removed. (struct argp): New (incomplete) declaration. (diskfs_startup_argp): Renamed from diskfs_std_startup_argp. (diskfs_get_file_device, diskfs_get_mach_device): Declarations removed. <argp.h>: Include removed.
1996-09-05*** empty log message ***Thomas Bushnell
1996-08-12*** empty log message ***Thomas Bushnell
1996-07-16(diskfs_checkdirmod): diskfs_isowner returns error or zero, so invertMichael I. Bushnell
sense of tests.
1996-07-03(struct node): Remove member `identity'.Michael I. Bushnell
1996-06-24(diskfs_check_readonly): New function.Michael I. Bushnell
1996-06-24Doc fixes.Michael I. Bushnell
1996-06-24(diskfs_validate_mode_change, diskfs_validate_owner_change,Michael I. Bushnell
diskfs_validate_group_change, diskfs_validate_author_change, diskfs_validate_flags_change, diskfs_validate_rdev_change): New decls.
1996-06-20(diskfs_parse_runtime_options): Decl removed.Miles Bader
(diskfs_std_startup_argp): Renamed from diskfs_startup_argp, now a structure decl, not a pointer decl. (diskfs_std_device_startup_argp): Renamed from diskfs_device_startup_argp, now a structure decl, not a pointer decl. (diskfs_set_options): Update decl (now takes argz & argz_len). (diskfs_runtime_arg, diskfs_std_runtime_argp, diskfs_append_std_options): New declarations.
1996-06-13Revert last change.Michael I. Bushnell
1996-06-13(diskfs_edit_version): Delete variable.Michael I. Bushnell
1996-05-10(diskfs_fsys_identity): New variable.Michael I. Bushnell
(struct node): New member `identity'.
1996-05-09(dsikfs_make_protid): Delete declaration.Michael I. Bushnell
1996-05-09ioserver.h -> iohelp.h.Michael I. Bushnell
1996-04-30(diskfs_shutdown_notification_class): New variable.Michael I. Bushnell
1996-04-30(diskfs_init_completed): Delete function.Michael I. Bushnell
1996-04-10(diskfs_enter_lookup_cache, diskfs_purge_lookup_cache,Miles Bader
diskfs_check_lookup_cache): Renamed from versions without `lookup_'.
1996-04-03(diskfs_cached_lookup): New declaration.Michael I. Bushnell
1996-04-03(struct node): New member `cache_id'.Michael I. Bushnell
1996-03-22(diskfs_enter_cache, diskfs_purge_cache, diskfs_check_cache): Add declarations.Michael I. Bushnell
1996-03-20(diskfs_lookup_hard): Remove mention of ENOTDIR and EACCES errors.Michael I. Bushnell
1996-03-20(diskfs_null_dirstat): New function.Michael I. Bushnell
1996-03-20Fix typo.Michael I. Bushnell
1996-03-20Doc fixes.Michael I. Bushnell
1996-03-20(diskfs_lookup): Renamed to be diskfs_lookup_hard.Michael I. Bushnell
(diskfs_direnter): Renamed to be diskfs_direnter_hard. (diskfs_dirrewrite): Renamed to be diskfs_dirrewrite_hard. (diskfs_dirremove): Renamed to be diskfs_dirremove_hard. (diskfs_lookup, diskfs_direnter, diskfs_dirrewrite, diskfs_dirremove): New functions.
1996-02-15(diskfs_nput): It's not valid to touch *NP (by `mutex_unlockMichael I. Bushnell
(&np->lock);') after we have called diskfs_drop_node. So don't do it in that case.
1996-02-08(diskfs_nput): Before bumping NP->references (which precedesMichael I. Bushnell
diskfs_try_dropping_softrefs), *lock* diskfs_node_refcnt_lock, not mutant unlock. (diskfs_nrele): Likewise.
1996-02-07(diskfs_parse_runtime_options): Make STANDARD_ARGP const.Miles Bader
(diskfs_startup_argp, diskfs_device_startup_argp): Make const.
1996-01-27(diskfs_start_protid): Update declaration.Miles Bader
(diskfs_create_protid): New declaration.
1996-01-04(diskfs_catch_exception, diskfs_end_catch_exception): Macros removed.Roland McGrath
(diskfs_register_memory_fault_area, diskfs_unregister_memory_fault_area): Decls removed.
1996-01-04Use size_t instead of int for amounts in diskfs_node_rdwr prototype.Roland McGrath
1995-12-14(diskfs_checkdirmod): Correctly return error code for failure, not 1.Michael I. Bushnell
1995-11-21(diskfs_get_options): Bother providing declaration.Michael I. Bushnell
1995-11-02(diskfs_startup_diskfs, diskfs_execboot_fsys_startup): Add FLAGS arg.Miles Bader
1995-10-19Include <rwlock.h>Miles Bader
(diskfs_fsys_lock): Renamed from diskfs_shutdown_lock. Change to a struct rwlock. (diskfs_readonly_changed, diskfs_reload_global_state, diskfs_node_reload, diskfs_max_user_pager_prot, diskfs_set_readonly, diskfs_remount): New declarations. (diskfs_readonly_changed): New declaration. (disksf_get_filemap): Add prot parameter. (diskfs_main_request_loop): Declaration removed.
1995-10-13(diskfs_start_bootstrap): Get rid of ARGV argument.Miles Bader
(diskfs_argv): New declaration. (diskfs_device, diskfs_device_name, diskfs_device_start, diskfs_device_size, diskfs_device_block_size, diskfs_log2_device_block_size, diskfs_log2_device_blocks_per_page, diskfs_device_write_sync, diskfs_device_write_sync, diskfs_device_open, diskfs_console_stdio): New declarations. (diskfs_parse_runtime_options, diskfs_standard_startup_argp): Use argp, not options. Include <argp.h> instead of <options.h>.
1995-10-11(diskfs_init_completed): must --> may.Miles Bader
Add necessary includes.
1995-10-07(diskfs_host_priv, diskfs_master_device): Variables deleted.Miles Bader
(diskfs_parse_bootargs): Function deleted. (diskfs_init_diskfs): Now returns error_t. (diskfs_get_file_device, diskfs_get_mach_device): New funcs. (diskfs_boot_flags): New variable. (diskfs_bootflags, diskfs_bootflagarg): Variables deleted.
1995-09-13(diskfs_lookup): Doc fix.Michael I. Bushnell
1995-06-20(diskfs_node_iterate): New (user-provided) function.Michael I. Bushnell
1995-06-14(diskfs_get_translator): Specify new calling interface.Michael I. Bushnell
1995-06-14(diskfs_start_translator, diskfs_destroy_translator,Michael I. Bushnell
diskfs_sync_translators): Delete functions. (struct node): Replace TRANSLATOR member with new TRANSBOX member.
1995-06-09(diskfs_transboot_class): Delete var.Michael I. Bushnell
1995-06-09(diskfs_shutdown_lock, diskfs_protid_class, diskfs_transboot_class,Michael I. Bushnell
diskfs_control_class, diskfs_execboot_class, diskfs_initboot_class, diskfs_port_bucket): New variables. (diskfs_pager_users): New function declaration.
1995-06-06(diskfs_shutdown_soft_ports): Deleted decl.Michael I. Bushnell
(ports_demuxer): Deleted decl. (diskfs_demuxer): New decl.
1995-05-20(diskfs_standard_startup_options): Declare new variable.Miles Bader
(diskfs_set_options): Declare new function. (diskfs_parse_runtime_options): Ditto. Include <options.h> (currently in ../lib).