summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-06-17autoboot: Make root readonly before fscking it.Michael I. Bushnell
1996-06-17fixup.Michael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17Include <paths.h>, <error.h>, <sys/wait.h>, and <hurd/msg_reply.h>.Michael I. Bushnell
(run_for_real, open_console, process_signal, reboot_mach, run_for_real, run, reboot_system): Use error instead of fprintf. (notify_shutdown): Always emit terminating newline. (S_startup_essential_task): When all core servers have showed up, call launch_single_user only if RB_SINGLE; otherwise call process_rc_script. Call init_stdarrays here. (open_console): New function; massaged guts taken from launch_single_user. Be more verbose if we do something unusual. (launch_single_user): Call open_console. Don't call init_stdarrays here. (system_state, default_ints): New variables. (main): Initialize SYSTEM_STATE and DEFAULT_INTS. (run_for_real): Pass default_ints. (run): Likewise. (S_startup_essential_task): Delete var INITDONE; use SYSTEM_STATE instead. (launch_single_user): Set SYSTEM_STATE to SINGLE. (process_rc_script): New function. (launch_multi_user): New function. (kill_everyone): New function. (kill_multi_user): New function. (do_fastboot, rc_pid, session_pid): New variables. (process_signal): New function; guts from S_msg_sig_post_untraced. Handle state transitions here when programs exit. Process SIGTERM, and SIGHUP appropriately. (_PATH_RUNCOM, _PATH_LOGIN): New macros. (S_msg_sig_post_untraced): Only validate signal here; use process_signal to do the work, but reply first. (S_msg_sig_post): Likewise. (notify_shutdown): New function. (reboot_system): Use notify_shutdown.
1996-06-17(argp_help, argp_state_help, argp_error, argp_failure): Handle null streams.Miles Bader
1996-06-17(argp_parse): Handle null streams.Miles Bader
1996-06-17(parse_opt): Use argp_failure.Miles Bader
1996-06-17(struct argp_state): Add NAME, ERR_STREAM, & OUT_STREAM fields.Miles Bader
(argp_failure): New declaration. (ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with decimal value!). (argp_help): Add NAME argument.
1996-06-17(argp_default_parser): Output to STATE->out_stream.Miles Bader
(argp_parse): Initialize new fields in STATE. Output errors to STATE.err_stream.
1996-06-17(argp_help): Add and use NAME argument.Miles Bader
(argp_error): Use STATE->err_stream instead of STDERR. (argp_state_help): Supply NAME argument to argp_help. (argp_failure): New function. (indent_to): Terminate.
1996-06-16Initial revisionMiles Bader
1996-06-15(trivfs_S_fsys_set_options, trivfs_S_fsys_get_options,Miles Bader
trivfs_S_file_get_fs_options): Functions removed.
1996-06-15(FSSRCS): Add file-get-fs-options.cMiles Bader
(FSYSSRCS): Add fsys-set-options.c & fsys-get-options.c.
1996-06-15(read_disknode, write_inode):Miles Bader
Use hurd-specific fields only on a hurd filesystem.
1996-06-15(options): New variable.Miles Bader
(parse_opt): New function. (main): Parse ufs-specific options too. <string.h>: New include.
1996-06-15([hrs]d*): Allow user to specify slice as well. Patch from GordMichael I. Bushnell
Matzigkeit, gord@enci.ucalgary.ca.
1996-06-13(localstatedir, sharedstatedir): Add variables.Michael I. Bushnell
1996-06-13(MIGSRCS): Add startup_notifyServer.c.Michael I. Bushnell
1996-06-13(S_startup_dosync, arrange_shutdown_notification): New functions.Michael I. Bushnell
(pfinet_demuxer): Call startup_notify_server. (main): Call arrange_shutdown_notification).
1996-06-13(diskfs_S_startup_dosync): Uncomment function.Michael I. Bushnell
1996-06-13(diskfs_demuxer): Call diskfs_startup_notify_server.Michael I. Bushnell
1996-06-13(MIGSTUBS): Add startu_notifyServer.o.Michael I. Bushnell
1996-06-13(_diskfs_init_completed): NOTIFY doesn't need deallocation.Michael I. Bushnell
1996-06-13(diskfs_S_fsys_init): Build version string correctly.Michael I. Bushnell
1996-06-13Revert last change.Michael I. Bushnell
1996-06-13(diskfs_edit_version): Delete variable.Michael I. Bushnell
1996-06-13(SRCS): And remove pager.c back.Michael I. Bushnell
1996-06-13(struct netnode): Add member `fileinfo'.Michael I. Bushnell
1996-06-13(register_fresh_stat): Add decl.Michael I. Bushnell
1996-06-13(SRCS): Add pager.c.Michael I. Bushnell
1996-06-13(basename): Comment out declaration; it conflicts with libc's.Michael I. Bushnell
1996-06-13(do_exec): Add code missing from last change.Michael I. Bushnell
1996-06-13(do_exec): If secure, set the owner with proc_setowner.Michael I. Bushnell
1996-06-12(S_startup_request_notification): Fill NT->name correctly.Michael I. Bushnell
1996-06-12(S_startup_request_notification): Doc fix.Michael I. Bushnell
1996-06-12(subsystem declaration): Use correct value 29500 from subsystems file.Michael I. Bushnell
1996-06-11(dog): Don't print stupid message if login session is empty.Miles Bader
(add_utmp_entry): Use gettimeofday instead of time to get the time.
1996-06-06(more_memory): Use assert_perror instead of MACH_CALL.Miles Bader
"cthread_internals.h": Include removed.
1996-06-03(ps_emit_wait): Never truncate what we write.Miles Bader
1996-06-03(merge_procinfo):Miles Bader
Take a struct proc_stat as an arg, not all the individual fields. Correctly set old_pi_hdr. Correctly calculate REALLY_NEED. (set_procinfo_flags): Use new calling merge_procinfo calling convention. (proc_stat_set_flags): Try mallocing a buffer for PS->args. Move second call to set_procinfo_flags after msgport suppress test. Add TEST_MSGPORT_FLAGS variable, & use it. Be more picky about when we call set_procinfo_flags. (_proc_stat_free): Use explicit VM_ALLOCED flag for MFREEMEM.
1996-06-03(struct proc_stat): Add PROC_INFO_VM_ALLOCED, THREAD_WAITS_VM_ALLOCED, andMiles Bader
ARGS_VM_ALLOCED fields.
1996-06-03(ps_user_passwd): Check return value of install_passwd correctly (it's an ↵Miles Bader
error_t).
1996-06-02(struct ps_fmt_specs): The EXPANSIONS field now points to a structMiles Bader
ps_fmt_spec_block. Delete EXPANSIONS_ALLOCED field.
1996-06-02(struct ps_fmt_spec_block): New type.Miles Bader
(specs_add_alias): Use a linked list of ps_fmt_spec_blocks instead of reallocing a block of specs. (ps_fmt_specs_find): Change searching accordingly.
1996-06-02(set_procinfo_flags): New function.Miles Bader
(proc_stat_set_flags): Use it, to get msgport validity testing right. (merge_procinfo): Take and return HAVE instead of using a reference parameter. Do mem allocation more efficiently and correctly. (fetch_procinfo): Do conversion for PI_SIZE from/to units of sizeof (int), so no one else has to deal with it. (PROCINFO_MALLOC_SIZE, WAITS_MALLOC_SIZE): New macros. (MFREEMEM): New macro combining MFREEM & MFREEVM. (MFREEM, MFREEVM): Macros deleted.
1996-05-31(proc_stat_set_flags): After fetching number of threads to guess whether weMiles Bader
need wait info, put it in PS->num_threads. (merge_procinfo): Avoid vm_allocing a procinfo buffer each time if we can help it. Correctly reflect newly fetched info. (PSTAT_PROCINFO_MERGE, PSTAT_PROCINFO_REFETCH): New macros.
1996-05-30(S_proc_getsidport): MAKE_SEND_ONCE -> MAKE_SEND.Michael I. Bushnell
1996-05-29(S_proc_getprocinfo): Get rid of temp hack for strnlen.Miles Bader
1996-05-29Initial revisionMiles Bader