Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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'.
|
|
|
|
If CRED has root, use the requested id sets verbatim.
|
|
|
|
Variable removed.
(children):
New variable.
(diskfs_std_runtime_argp):
Use CHILDREN instead of PARENTS.
|
|
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.
|
|
* diskfs.h: Add extern inline protection.
* diskfs.c: New file.
* Makefile (OTHERSRCS): Add diskfs.c.
|
|
|
|
|
|
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!
|
|
|
|
Free NEWPI if we get an error trying to lock it.
|
|
|
|
Frob lock in NEWPI->po, not PO.
<sys/file.h>:
New include.
|
|
|
|
|
|
|
|
Before freeing PO, release any user lock it's holding.
<sys/file.h>:
New include.
|
|
|
|
Return ENOTDIR if NP isn't a dir.
|
|
|
|
Follow version string with newline.
|
|
|
|
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
|
|
Change to use new version format from the coding standards.
Test diskfs_extra_version against 0 too.
<argp.h>, <stdio.h>:
New includes.
|
|
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.
|
|
Change --remount to --update (keep --remount as a deprecated alias).
<argp.h>:
New include.
|
|
Renamed from diskfs_get_options.
|
|
New include.
|
|
Use snprintf instead of sprintf.
<stdio.h>:
New include.
|
|
Use DISKFS_DISK_NAME instead of DISKFS_DEVICE_ARG.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Remove filedev.c, machdev.c, dev-open.c, dev-io.c, & dev-globals.c.
(HURDLIBS):
Add store.
(libdiskfs.so):
Depend on libstore.so.
|
|
|
|
|
|
|
|
|
|
|
|
(_print_version):
Use DISKFS_EXTRA_VERSION. Tweak edit version. Fix type of EV.
|
|
|
|
fshelp_get_identity.
|
|
|
|
|
|
|
|
|