summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-12-05*** empty log message ***Thomas Bushnell
1996-12-05Sat Nov 23 16:24:04 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* file-set-translator.c (netfs_S_file_set_translator): Delete var I.
1996-12-05Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* priv.h (mach_host_elf_machine): New prototype. * hostarch.c: Include "priv.h".
1996-12-05.Miles Bader
1996-11-20.Miles Bader
1996-11-20(netfs_S_fsys_syncfs):Miles Bader
Use iohelp_create_iouser, not iohelp_make_iouser.
1996-11-20(HURDLIBS): Add iohelp.Miles Bader
1996-11-20.Miles Bader
1996-11-20(trivfs_S_io_stat):Miles Bader
Clear S_ITRANS and set S_IROOT in ST->st_mode (before calling trivfs_modify_stat).
1996-11-20.Miles Bader
1996-11-20(diskfs_S_file_chown):Miles Bader
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
1996-11-20(struct node):Miles Bader
Add author_tracks_uid field.
1996-11-20(diskfs_create_node):Miles Bader
If NP->author_tracks_uid, modify NP->dn_stat.st_author as well.
1996-11-20.Miles Bader
1996-11-20(read_disknode):Miles Bader
If SBLOCK->fs_inodefmt < FS_44INODEFMT, set ST->st_author to st->st_uid, and NP->author_tracks_uid to true. (diskfs_validate_author_change): New function.
1996-11-20(read_node):Miles Bader
If SBLOCK->s_creator_os != EXT2_OS_HURD, set NP->author_tracks_uid to true.
1996-11-19.Miles Bader
1996-11-19(diskfs_set_translator):Miles Bader
Frob S_IPTRANS bit in mode bits instead of NP->istranslated. (write_node): Don't write any bits in S_ITRANS to disk. (read_disknode): When setting ST->st_mode, Clear S_ITRANS bits, and set S_IPTRANS if necessary. Don't set NP->istranslated anymore.
1996-11-19(ffs_alloc):Miles Bader
Use S_IPTRANS in NP->dn_stat.st_mode instead of NP->istranslated.
1996-11-19.Miles Bader
1996-11-19(diskfs_set_translator):Miles Bader
Frob S_IPTRANS bit rather than istranslated field. (write_node): Don't write S_IPTRANS to disk. (read_node): Set S_IPTRANS bit in ST->st_mode (and clear S_ITRANS) rather than NP->istranslated.
1996-11-19(diskfs_alloc_node):Miles Bader
Clear S_IPTRANS bit in ST->st_mode instead of NP->istranslated.
1996-11-19(diskfs_S_dir_lookup):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_dir_rmdir):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(struct node):Miles Bader
Remove istranslated field.
1996-11-19(diskfs_S_file_get_translator):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_file_invoke_translator):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_file_set_translator):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_fsys_getroot):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_drop_node):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(_diskfs_translator_callback1_fn):Miles Bader
Use S_IPTRANS bit in dn_stat st_mode field rather than istranslated field.
1996-11-19(diskfs_S_file_get_translator_cntl):Miles Bader
Use MACH_MSG_TYPE_MOVE_SEND to return *ctl, rather than COPY. Correctly test for errors from fshelp_fetch_control.
1996-11-19(diskfs_S_io_stat):Miles Bader
Set S_IATRANS & S_IROOT bits in st_mode field of returned buffer if appropiate.
1996-11-18Sat Nov 16 17:21:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* inode.c (diskfs_S_fsys_getfile): Delete var `fakecred'. diskfs_access -> fshelp_access. * alloc.c (ffs_alloc): diskfs_isuid -> idvec_contains. (ffs_realloccg): Likewise. Thu Nov 14 16:43:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * inode.c (diskfs_S_file_getfh): diskfs_isuid -> idvec_contains. (diskfs_S_fsys_getfile): Use idvecs and iousers.
1996-11-18Mon Nov 18 18:16:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* users.c (trivfs_modify_stat): Omit pointless assignment. Fri Nov 15 17:37:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * users.c (open_hook): New arg syntax. (trivfs_check_open_hook): Likewise. * ptyio.c (pty_open_hook): Likewise. * term.h (pty_open_hook): Likewise. * users.c (S_termctty_open_terminal): New syntax of trivfs_open. * users.c (trivfs_S_file_chown): Rewrite using idvecs. (trivfs_S_file_chmod): Likewise.
1996-11-18Fri Nov 15 17:54:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* storeio.c (trivfs_check_open_hook): New arg syntax. (check_open_hook): Likewise.
1996-11-18Mon Nov 18 17:01:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* ops.c (guess_mode_use): Delete function. (netfs_report_access): Use fshelp_access instead of guess_mode_use. Change return type. Sat Nov 16 18:24:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (SRCS): Remove `cred.c'. * cred.c: Delete file. * nfs.h (struct netcred): Delete type. (cred_has_uid, cred_has_gid): Delete functions. (nfs_initialize_rpc): netcred arg now iouser. * ops.c: Change struct netcred to struct iouser throughout. * pager.c: Likewise. * cache.c (netfs_node_norefs): Likewise. * nfs.c (nfs_initialize_rpc): Convert use of netcred to iouser.
1996-11-18Mon Nov 18 18:13:42 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* io-stat.c (trivfs_S_io_stat): Make the mode specify IFCHR by default. Sat Nov 16 17:20:15 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (HURDLIBS): Add `iohelp'. Thu Nov 14 13:13:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * io-restrict-auth.c (trivfs_S_io_restrict_auth): idvec_set -> idvec_set_ids. Fix unrelated typos. * protid-dup.c (trivfs_protid_dup): Use iouser_dup_iouser instead of copying old arrays by hand. * protid-clean.c (trivfs_clean_protid): Free CRED->user instead of CRED->uids and CRED->gids. * io-reauthenticate.c (trivfs_S_io_reauthenticate): Args for io_restrict_auth now come from the new structure definitions. * open.c (trivfs_open): Pass correct first arg to idvec_contains. * open.c (trivfs_open): Delete variable I. * trivfs.h: Include <hurd/iohelp.h>
1996-11-18Mon Nov 18 16:36:56 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* cprocs.c (cproc_create): Cast CHILD in assignment.
1996-11-18Make new functions use bcopy correctly.Thomas Bushnell
1996-11-18Mon Nov 18 17:06:39 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* netfs.h (netfs_report_access): Return error_t. * file-check-access.c (netfs_S_file_check_access): Deal with errors from netfs_report_access. Sat Nov 16 17:17:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * io-restrict-auth.c (netfs_S_io_restrict_auth): Fix several typos. * fsys-getroot.c (netfs_S_fsys_getroot): iohelp_make_iouser -> iohelp_create_iouser. New arg syntax for fshelp_fetch_root. Fri Nov 15 13:39:03 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * netfs.h (struct protid): Replace member `credential' with `user' of new type. All uses of old `credential' member changed to use `user' member. Change all functions that used to take `struct netcred' args to take `struct iouser' args. All callers changed. (netfs_copy_credential, netfs_dropy_credential, netfs_make_credential): Delete functions. * dir-lookup.c (netfs_S_dir_lookup): netfs_copy_credential -> iohelp_dup_iouser. * dir-mkfile.c (netfs_S_dir_mkfile): Likewise. * file-exec.c (netfs_S_file_exec): Likewise. * io-duplicate.c (netfs_S_io_duplicate): Likewise. * release-protid.c (netfs_release_protid): netfs_drop_credential -> iohelp_free_iouser. * dir-lookup.c (netfs_S_dir_lookup): Omit uses of netfs_interpret_credential; do it with new structures. * file-exec.c (netfs_S_file_exec): Likewise. * file-getcontrol.c (netfs_S_file_getcontrol): Likewise. * file-set-translator.c (netfs_S_file_set_translator): Likewise; using fshelp_isowner for permission check. * io-restrict-auth.c (netfs_S_io_restrict_auth): Likewise; guts rewritten. * dir-lookup.c (netfs_S_dir_lookup): netfs_make_credential -> iohelp_make_iouser. * fsys-getroot.c (netfs_S_fsys_getroot): Likewise. * fsys-syncfs.c (netfs_S_fsys_syncfs): Likewise. * io-reauthenticate.c (netfs_S_io_reauthenticate): Use iohelp_reauth instead of doing it by hand.
1996-11-18Mon Nov 18 16:37:59 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* iouser-reauth.c: Include <hurd/auth.h>. Sat Nov 16 17:54:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (SRCS): Add shared.c. * shared.c: New file. Fri Nov 15 13:39:46 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * iouser-create.c (iohelp_create_iouser): Set NEW->hook to zero. * iouser-dup.c (iohelp_dup_iouser): Likewise. Tue Nov 12 21:51:29 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * iohelp.h: Include <idvec.h>.
1996-11-18Fri Nov 15 14:43:44 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* fshelp.h (fshelp_access): Uh, shift bits the right direction. Tue Nov 12 22:07:41 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * fetch-root.c (fshelp_fetch_root): Name idvec members correctly. * fshelp.h: <iohelp.h> -> <hurd/iohelp.h>. Include <sys/stat.h>. (fshelp_access): Declare `gotit'.
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-18Sat Nov 16 17:26:20 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* storeinfo.c (diskfs_S_file_get_storage_info): diskfs_isuid -> idvec_contains.
1996-11-18Mon Nov 18 17:45:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* exec.c (load_section): If ANYWHERE, then make sure ADDR starts out at least past the first page, so that we don't take it. Then the library can (if desired) make the page no-access. Fri Nov 15 17:34:23 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * exec.c: Don't include <hurd/shared.h> any more. * main.c (S_exec_init): New arg syntax of trivfs_open.
1996-11-18*** empty log message ***Thomas Bushnell
1996-11-16.Miles Bader
1996-11-16(main):Miles Bader
Use utmp.h functions for reading utmp. (read_utmp_procs): Function removed.
1996-11-16.Miles Bader