summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
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.
1996-10-10.Miles Bader
1996-10-10(diskfs_S_dir_lookup):Miles Bader
Frob lock in NEWPI->po, not PO. <sys/file.h>: New include.
1996-10-10*** empty log message ***Thomas Bushnell
1996-10-10*** empty log message ***Thomas Bushnell
1996-10-10.Miles Bader
1996-10-10(diskfs_release_peropen):Miles Bader
Before freeing PO, release any user lock it's holding. <sys/file.h>: New include.
1996-10-08.Miles Bader
1996-10-07(diskfs_S_dir_rmdir):Miles Bader
Return ENOTDIR if NP isn't a dir.
1996-09-25.Miles Bader
1996-09-25(_print_version):Miles Bader
Follow version string with newline.
1996-09-23.Miles Bader
1996-09-23(diskfs_check_readonly):Miles Bader
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
1996-09-23(_print_version):Miles Bader
Change to use new version format from the coding standards. Test diskfs_extra_version against 0 too. <argp.h>, <stdio.h>: New includes.
1996-09-23(store_argp_parents):Miles Bader
Use diskfs_startup_argp, not diskfs_std_startup_argp. (diskfs_use_mach_device, diskfs_device_arg, dev_startup_options, dev_startup_argp_parents, diskfs_std_device_startup_argp): Variables removed. (diskfs_startup_argp): Renamed from diskfs_std_startup_argp. (parse_dev_startup_opt): Function removed. <hurd/store.h>: New include.
1996-09-23(std_runtime_options):Miles Bader
Change --remount to --update (keep --remount as a deprecated alias). <argp.h>: New include.
1996-09-23(diskfs_append_args):Miles Bader
Renamed from diskfs_get_options.
1996-09-23<stdio.h>:Miles Bader
New include.
1996-09-23(diskfs_S_io_server_version):Miles Bader
Use snprintf instead of sprintf. <stdio.h>: New include.
1996-09-23(_diskfs_init_completed):Miles Bader
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
1996-09-23(diskfs_S_fsys_get_options):Miles Bader
Free ARGZ if diskfs_append_args returns an error. Initialize ARGZ & ARGZ_LEN to the program name, and call diskfs_append_args instead of diskfs_get_options.
1996-09-23(diskfs_S_file_get_fs_options):Miles Bader
Free ARGZ if diskfs_append_args returns an error. Initialize ARGZ & ARGZ_LEN to the program name, and call diskfs_append_args instead of diskfs_get_options. <argz.h>: New include.
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-23(diskfs_disk_pager):Miles Bader
Renamed from disk_pager. (diskfs_start_disk_pager): Renamed from disk_pager_setup. Add PAGER_BUCKET, IMAGE, and SIZE arguments. (disk_image, pager_bucket): Declarations removed.
1996-09-23(service_paging_requests):Miles Bader
Get PAGER_BUCKET from argument. (diskfs_disk_pager): Renamed from disk_pager. (pager_bucket): Declaration removed. (disk_image): Variable removed. (diskfs_start_disk_pager): Renamed from setup_disk_pager. Add PAGER_BUCKET, IMAGE, and SIZE arguments. Pass in PAGER_BUCKET to thread routine, and don't create it.
1996-09-23(OTHERSRCS):Miles Bader
Remove filedev.c, machdev.c, dev-open.c, dev-io.c, & dev-globals.c. (HURDLIBS): Add store. (libdiskfs.so): Depend on libstore.so.
1996-09-17*** empty log message ***Thomas Bushnell
1996-09-06*** empty log message ***Thomas Bushnell
1996-09-05*** empty log message ***Thomas Bushnell
1996-09-04*** empty log message ***Thomas Bushnell
1996-08-15.Miles Bader
1996-08-15(diskfs_extra_version): New (weak) reference.Miles Bader
(_print_version): Use DISKFS_EXTRA_VERSION. Tweak edit version. Fix type of EV.
1996-08-15*** empty log message ***Thomas Bushnell
1996-08-15(diskfs_S_io_identity): Don't hold lock around call toThomas Bushnell
fshelp_get_identity.
1996-08-12Don't assume the edit version is <= 26.Miles Bader
1996-08-12.Miles Bader
1996-08-12(_print_version): Print the edit version too if it's non-zero.Miles Bader
1996-08-12*** empty log message ***Thomas Bushnell
1996-08-07*** empty log message ***Thomas Bushnell