Age | Commit message (Collapse) | Author |
|
|
|
(other-subdirs): Delete init; add config.
|
|
(INSTALLED_LOCAL_HEADERS): Split into two cases based on $(installhdrsubdir).
($(INSTALLED_LOCAL_HEADERS)) [$(installhdrsubdir) == .]:
Linked to $(top_srcdir)/include. Prefix ../ to link contents.
|
|
|
|
|
|
|
|
|
|
|
|
(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.
|
|
|
|
|
|
|
|
(argp_failure): New declaration.
(ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with decimal value!).
(argp_help): Add NAME argument.
|
|
(argp_parse):
Initialize new fields in STATE. Output errors to STATE.err_stream.
|
|
(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.
|
|
|
|
trivfs_S_file_get_fs_options): Functions removed.
|
|
(FSYSSRCS): Add fsys-set-options.c & fsys-get-options.c.
|
|
Use hurd-specific fields only on a hurd filesystem.
|
|
(parse_opt): New function.
(main): Parse ufs-specific options too.
<string.h>: New include.
|
|
Matzigkeit, gord@enci.ucalgary.ca.
|
|
|
|
|
|
(pfinet_demuxer): Call startup_notify_server.
(main): Call arrange_shutdown_notification).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(add_utmp_entry): Use gettimeofday instead of time to get the time.
|
|
"cthread_internals.h": Include removed.
|
|
|
|
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.
|
|
ARGS_VM_ALLOCED fields.
|
|
error_t).
|
|
ps_fmt_spec_block. Delete EXPANSIONS_ALLOCED field.
|
|
(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.
|
|
(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.
|