Age | Commit message (Collapse) | Author |
|
|
|
|
|
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
|
|
Add author_tracks_uid field.
|
|
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
|
|
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Remove istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
|
|
Use MACH_MSG_TYPE_MOVE_SEND to return *ctl, rather than COPY.
Correctly test for errors from fshelp_fetch_control.
|
|
Set S_IATRANS & S_IROOT bits in st_mode field of returned buffer if
appropiate.
|
|
* 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.
|