summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
1996-11-16(proc_stat_set_flags):Miles Bader
Allow the user fetch hook to turn on non-user bits, even if they've already failed in the standard code.
1996-11-13Thu Nov 7 01:01:05 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* io-restrict-auth.c (trivfs_S_io_restrict_auth): Rewrite to use idvecs. Wed Nov 6 23:40:50 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * trivfs.h (struct trivfs_protid): Delete members `uids', `gids', `nuids', and `ngids'. Replace with `user'. (trivfs_check_open_hook): Delete args `uids', `nuids', `gids', `ngids'. Replace with new arg `user'. All callers changed. (trivfs_open): Likewise. * open.c (trivfs_open): Change to match new declaration. * trivfs.h (struct trivfs_protid): Delete members `uids', `gids', * io-reauthenticate.c (trivfs_S_io_reauthenticate): Use new iohelp_reauth call.
1996-11-13Tue Nov 12 19:22:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* idvec.h (idvec_set, idvec_set_ids): New functions. * idvec.c (idvec_set, idvec_set_ids): Ditto. Tue Nov 5 21:16:10 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * idvec.h (idvec_setid): Doc fix.
1996-11-13Wed Nov 6 19:26:14 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (SRCS): Add iouser-create.c, iouser-dup.c iouser-reauth.c, and iouser-free.c. (OBJS): Compute automatically. * iohelp.h (iohelp_create_user): New function. * iouser-create.c: New file. Tue Nov 5 21:51:24 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * iohelp.h (struct iouser): New type. (iohelp_dup_iouser, iohelp_free_iouser, iohelp_reauth): New functions. * iouser-dup.c, iouser-reauth.c, iouser-free.c: New files.
1996-11-13Wed Nov 6 17:49:33 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* fshelp.h (fshelp_fetch_root): Delete args `uids', `gids', `uids_len', and `gids_len'. New arg `user'. * fetch-root.c (fshelp_fetch_root): Ditto. * fshelp.h: Include <iohelp.h>. (fshelp_access, fshelp_isowner, fshelp_checkdirmod): New functions.
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-12.Miles Bader
1996-11-12.Miles Bader
1996-11-12(diskfs_validate_flags_change):Miles Bader
New function. (write_node): Convert generic flags in ST->st_flags to ext2- specific flags in DI->i_flags. (read_node): Renamed from read_disknode; all callers changed. Convert ext2-specific flags on disk to generic flags in ST. [!UF_APPEND] (UF_APPEND): New macro (temporary). [!UF_NODUMP] (UF_NODUMP): New macro (temporary). [!UF_IMMUTABLE] (UF_IMMUTABLE): New macro (temporary). <sys/stat.h>: New include.
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-11-11.Miles Bader
1996-11-11(trivfs_S_io_restrict_auth):Miles Bader
If CRED has root, use the requested id sets verbatim.
1996-11-05Mon Nov 4 21:23:58 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* rpc.c (rpc_list_lock): Delete variable. Omit all mention of it throughout this file. Expand the use of outstanding_lock to cover what rpc_list_lock used to handle.
1996-11-05.Miles Bader
1996-11-05*** empty log message ***Thomas Bushnell
1996-11-01.Miles Bader
1996-11-01(conduct_rpc):Miles Bader
Unlock OUTSTANDING_LOCK if write fails.
1996-11-01.Miles Bader
1996-11-01.Miles Bader
1996-10-31(netfs_attempt_statfs):Miles Bader
Convert incoming numbers from network to host byte order. Don't convert sizes from IOSIZE to BSIZE units. Return BSIZE in f_bsize field, not IOSIZE. Fill in f_fsid field.
1996-10-30.Miles Bader
1996-10-26Fri Oct 25 20:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* host.c: Include <version.h>. Thu Oct 24 16:13:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * host.c (initialize_version_info): Construct UNAME_INFO.machine with a dash instead of a slash so that it can be used as a file name component. * host.c (initialize_version_info): Copy our version into element 0 of server_versions, not element 1. Use HURD_VERSION instead of OUR_VERSION. Use literal "proc" instead of OUR_SERVER_NAME. * proc.h (OUR_SERVER_NAME, OUR_VERSION): Delete macro.
1996-10-26Still under construction.Thomas Bushnell
1996-10-26Fri Oct 25 20:17:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makeconf (%.prof_d): Don't set no-deps. (.prof_d inclusion): Don't do it if prof-depend=t.
1996-10-26Fri Oct 25 20:02:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* loopback.c (loopback_type_trans): New function. (setup_loopback_device): Bother to mark interface up too. Set LOOPBACK_DEV.type_trans.
1996-10-26Fri Oct 25 20:02:17 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* loopback.c (setup_loopback_device): Bother to mark interface up too.
1996-10-25Get rid of unused programs.Miles Bader
1996-10-25Thu Oct 24 22:38:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* main.c (main): Call setup_loopback_device before parsing args (and thus before the ethernet device shows up). * loopback.c: New file. * Makefile (SRCS): Add loopback.c. * pfinet.h (loopback_dev): New variable. * pfinet.h (ip_rt_del): New prototype.
1996-10-25.Miles Bader
1996-10-25(main):Miles Bader
Rename ARGP_PARENTS to ARGP_CHILDREN, and change the element type to `struct argp_child'; change the reference in ARGP accordingly. (runtime_argp_children): New variable. (runtime_argp_parents): Variable removed. (runtime_argp): Use RUNTIME_ARGP_CHILDREN, not RUNTIME_ARGP_PARENTS.
1996-10-24.Miles Bader
1996-10-24(startup_children, runtime_children):Miles Bader
New variables. (startup_parents, runtime_parents): Variables removed. (startup_argp, runtime_argp): Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
1996-10-24.Miles Bader
1996-10-24(startup_children, runtime_children):Miles Bader
New variables. (startup_parents, runtime_parents): Variables removed. (startup_argp, runtime_argp): Use new *_CHILDREN variables instead of corresponding *_PARENT ones.
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-24.Miles Bader
1996-10-24(options):Miles Bader
Remove header for run-time supplied fields. (main): And add it back here as a child header. Replace PARENTS with CHILDREN, which uses the new argp_child structure.
1996-10-24(main):Miles Bader
Use elements of type `struct argp_child' for KIDS.
1996-10-24(argp_parse):Miles Bader
Convert to use the new type of argp children vectors.
1996-10-24(hol_free):Miles Bader
Free clusters. (argp_args_usage, argp_doc): Use the new type of argp child vector. (hol_entry_cmp, group_cmp, hol_cluster_cmp, hol_cluster_base, hol_add_cluster): New functions. (hol_entry_help): Add gunk to print cluster headers. (argp_hol): Add, and use the new CLUSTER argument. Use the new type of argp child vector, and make clusters. (hol_append): Deal with clusters. Always use hol_free to free MORE, and just mark it's entries as invalid if we steal them. (make_hol): Accept new CLUSTER argument, and fill in the corresponding entry fields with it. (hol_sort): Use hol_entry_cmp. (hol_entry_help: comma): Only print cluster headers for real clusters. Emit a newline after cluster headers. (argp_help): Pass new CLUSTER argument to argp_hol.
1996-10-24(struct argp):Miles Bader
Change type of CHILDREN field to `struct argp_child *'. (struct argp_child): New type.
1996-10-24Thu Oct 24 14:44:57 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* users.c (open_hook): Always assert DTR (even if O_NONBLOCK). Don't return any errors if O_NONBLOCK and we don't have carrier.