Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (prog-subdirs): Rename fsck to ufs-fsck. Add sutils. | Miles Bader | 1996-06-17 | 1 | -1/+1 |
| | |||||
* | autoboot: Make root readonly before fscking it. | Michael I. Bushnell | 1996-06-17 | 1 | -0/+1 |
| | |||||
* | fixup. | Michael I. Bushnell | 1996-06-17 | 1 | -8/+7 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1996-06-17 | 1 | -0/+77 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1996-06-17 | 1 | -0/+43 |
| | |||||
* | Include <paths.h>, <error.h>, <sys/wait.h>, and <hurd/msg_reply.h>. | Michael I. Bushnell | 1996-06-17 | 1 | -109/+422 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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_help, argp_state_help, argp_error, argp_failure): Handle null streams. | Miles Bader | 1996-06-17 | 1 | -26/+37 |
| | |||||
* | (argp_parse): Handle null streams. | Miles Bader | 1996-06-17 | 1 | -1/+1 |
| | |||||
* | (parse_opt): Use argp_failure. | Miles Bader | 1996-06-17 | 1 | -6/+1 |
| | |||||
* | (struct argp_state): Add NAME, ERR_STREAM, & OUT_STREAM fields. | Miles Bader | 1996-06-17 | 1 | -4/+25 |
| | | | | | | (argp_failure): New declaration. (ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with decimal value!). (argp_help): Add NAME argument. | ||||
* | (argp_default_parser): Output to STATE->out_stream. | Miles Bader | 1996-06-17 | 1 | -6/+13 |
| | | | | | (argp_parse): Initialize new fields in STATE. Output errors to STATE.err_stream. | ||||
* | (argp_help): Add and use NAME argument. | Miles Bader | 1996-06-17 | 1 | -13/+54 |
| | | | | | | | (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. | ||||
* | Initial revision | Miles Bader | 1996-06-16 | 3 | -0/+93 |
| | |||||
* | (trivfs_S_fsys_set_options, trivfs_S_fsys_get_options, | Miles Bader | 1996-06-15 | 1 | -28/+0 |
| | | | | trivfs_S_file_get_fs_options): Functions removed. | ||||
* | (FSSRCS): Add file-get-fs-options.c | Miles Bader | 1996-06-15 | 1 | -2/+4 |
| | | | | (FSYSSRCS): Add fsys-set-options.c & fsys-get-options.c. | ||||
* | (read_disknode, write_inode): | Miles Bader | 1996-06-15 | 1 | -13/+30 |
| | | | | Use hurd-specific fields only on a hurd filesystem. | ||||
* | (options): New variable. | Miles Bader | 1996-06-15 | 1 | -1/+37 |
| | | | | | | (parse_opt): New function. (main): Parse ufs-specific options too. <string.h>: New include. | ||||
* | ([hrs]d*): Allow user to specify slice as well. Patch from Gord | Michael I. Bushnell | 1996-06-15 | 1 | -2/+2 |
| | | | | Matzigkeit, gord@enci.ucalgary.ca. | ||||
* | (localstatedir, sharedstatedir): Add variables. | Michael I. Bushnell | 1996-06-13 | 1 | -0/+2 |
| | |||||
* | (MIGSRCS): Add startup_notifyServer.c. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+1 |
| | |||||
* | (S_startup_dosync, arrange_shutdown_notification): New functions. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+62 |
| | | | | | (pfinet_demuxer): Call startup_notify_server. (main): Call arrange_shutdown_notification). | ||||
* | (diskfs_S_startup_dosync): Uncomment function. | Michael I. Bushnell | 1996-06-13 | 1 | -2/+0 |
| | |||||
* | (diskfs_demuxer): Call diskfs_startup_notify_server. | Michael I. Bushnell | 1996-06-13 | 1 | -2/+5 |
| | |||||
* | (MIGSTUBS): Add startu_notifyServer.o. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+2 |
| | |||||
* | (_diskfs_init_completed): NOTIFY doesn't need deallocation. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+0 |
| | |||||
* | (diskfs_S_fsys_init): Build version string correctly. | Michael I. Bushnell | 1996-06-13 | 1 | -4/+1 |
| | |||||
* | Revert last change. | Michael I. Bushnell | 1996-06-13 | 1 | -0/+1 |
| | |||||
* | (diskfs_edit_version): Delete variable. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+0 |
| | |||||
* | (SRCS): And remove pager.c back. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+1 |
| | |||||
* | (struct netnode): Add member `fileinfo'. | Michael I. Bushnell | 1996-06-13 | 1 | -0/+2 |
| | |||||
* | (register_fresh_stat): Add decl. | Michael I. Bushnell | 1996-06-13 | 1 | -0/+3 |
| | |||||
* | (SRCS): Add pager.c. | Michael I. Bushnell | 1996-06-13 | 1 | -1/+1 |
| | |||||
* | (basename): Comment out declaration; it conflicts with libc's. | Michael I. Bushnell | 1996-06-13 | 1 | -2/+2 |
| | |||||
* | (do_exec): Add code missing from last change. | Michael I. Bushnell | 1996-06-13 | 1 | -2/+16 |
| | |||||
* | (do_exec): If secure, set the owner with proc_setowner. | Michael I. Bushnell | 1996-06-13 | 1 | -2/+23 |
| | |||||
* | (S_startup_request_notification): Fill NT->name correctly. | Michael I. Bushnell | 1996-06-12 | 1 | -1/+1 |
| | |||||
* | (S_startup_request_notification): Doc fix. | Michael I. Bushnell | 1996-06-12 | 1 | -0/+3 |
| | |||||
* | (subsystem declaration): Use correct value 29500 from subsystems file. | Michael I. Bushnell | 1996-06-12 | 1 | -1/+1 |
| | |||||
* | (dog): Don't print stupid message if login session is empty. | Miles Bader | 1996-06-11 | 1 | -5/+14 |
| | | | | (add_utmp_entry): Use gettimeofday instead of time to get the time. | ||||
* | (more_memory): Use assert_perror instead of MACH_CALL. | Miles Bader | 1996-06-06 | 1 | -6/+13 |
| | | | | "cthread_internals.h": Include removed. | ||||
* | (ps_emit_wait): Never truncate what we write. | Miles Bader | 1996-06-03 | 1 | -2/+2 |
| | |||||
* | (merge_procinfo): | Miles Bader | 1996-06-03 | 1 | -60/+72 |
| | | | | | | | | | | | | | | | 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. | ||||
* | (struct proc_stat): Add PROC_INFO_VM_ALLOCED, THREAD_WAITS_VM_ALLOCED, and | Miles Bader | 1996-06-03 | 1 | -0/+5 |
| | | | | ARGS_VM_ALLOCED fields. | ||||
* | (ps_user_passwd): Check return value of install_passwd correctly (it's an ↵ | Miles Bader | 1996-06-03 | 1 | -1/+1 |
| | | | | error_t). | ||||
* | (struct ps_fmt_specs): The EXPANSIONS field now points to a struct | Miles Bader | 1996-06-02 | 1 | -2/+1 |
| | | | | ps_fmt_spec_block. Delete EXPANSIONS_ALLOCED field. | ||||
* | (struct ps_fmt_spec_block): New type. | Miles Bader | 1996-06-02 | 1 | -28/+31 |
| | | | | | | (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. | ||||
* | (set_procinfo_flags): New function. | Miles Bader | 1996-06-02 | 1 | -199/+246 |
| | | | | | | | | | | | (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. | ||||
* | (proc_stat_set_flags): After fetching number of threads to guess whether we | Miles Bader | 1996-05-31 | 1 | -14/+38 |
| | | | | | | | | 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. | ||||
* | (S_proc_getsidport): MAKE_SEND_ONCE -> MAKE_SEND. | Michael I. Bushnell | 1996-05-30 | 1 | -1/+1 |
| | |||||
* | (S_proc_getprocinfo): Get rid of temp hack for strnlen. | Miles Bader | 1996-05-29 | 1 | -3/+0 |
| |