summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-06-181999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runttys.c: New file.c * Makefile (targets, SRCS): Add runttys, runttys.c. (runttys): New target. (runttys-LDLIBS): New variable, -lutil.
1999-06-181999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runsystem.sh: New file. * Makefile (targets, special-targets): Add runsystem. (runsystem): New target.
1999-06-181999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* console-run.c: New file. * Makefile (targets, SRCS): Add console-run, console-run.c. (console-run): New target.
1999-06-181999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* runsystem.sh: New file. * Makefile (targets, special-targets): Add runsystem. (runsystem): New target. 1999-06-15 Roland McGrath <roland@baalperazim.frob.com> * runttys.c: New file.c * Makefile (targets, SRCS): Add runttys, runttys.c. (runttys): New target. (runttys-LDLIBS): New variable, -lutil. * console-run.c: New file. * Makefile (targets, SRCS): Add console-run, console-run.c. (console-run): New target.
1999-06-18.Roland McGrath
1999-06-181999-06-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* move-if-change: New file, canonical GNU script.
1999-06-17.Roland McGrath
1999-06-171999-06-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (%.info rule): Put output in build dir, not srcdir. Pass -I options to makeinfo for both dirs. (move-if-change): New variable. (version.texi, stamp-version): New targets, update version.texi (in build dir) from `$(hurd-version)' as set in Makeconf.
1999-06-16Tue Jun 15 21:51:58 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pager.c: Clamp the number of free pages we keep around to some reasonably small value. Patch from Mark Kettenis <kettenis@wins.uva.nl>. 1999-06-15 Thomas Bushnell, BSG <tb@mit.edu> * inode.c (diskfs_validate_flags_change): Invert sense of test wrt bits that haven't yet been defined. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
1999-06-15.Roland McGrath
1999-06-151999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (booted): New variable. (open_console): Use that instead of system_state. (S_startup_essential_task): Likewise. (do_mach_notify_dead_name): Likewise. (launch_system): New function. (S_startup_essential_task): Call it. * init.c (global_argv): Make static. * init.c (startup_envz, startup_envz_len): New variables. (run, run_for_real): Use those for child environment. (main): Set them up from our ENVP argument. 1999-06-14 Roland McGrath <roland@baalperazim.frob.com> * init.c (main): Barf if run in a normal Hurd environment (not boot). * init.c (record_essential_task): Add missing return.
1999-06-15.Roland McGrath
1999-06-151999-06-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ttys.c: Include "ttys.h".
1999-06-14.Roland McGrath
1999-06-141999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (kill_multi_user): Suggest `ps -AlM' in error message. * init.c (record_essential_task): New function, broken out of S_startup_essential_task. (S_startup_essential_task): Call it. (frob_kernel_process): Call it for kernel task port. (kill_everyone): Remove special case for PID 2 (kernel task).
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* main.c (trivfs_goaway): Exit if there are no socket ports.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (run): Add const to SERVER arg, PROG local. Don't trim directory name from PROG for argument.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ttys.c (struct terminal): Use `pid_t' for `pid' member. (ttys, nttys, ttyslen): Make variables static. (setup_terminal, add_terminal, find_line, startup_terminal, shutdown_terminal): Make all these functions static. Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* lookup.c (diskfs_get_directs): Add cast to silence warning.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in last change.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally redefining. Use GCC extension for statement expression with value 0.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-trans.c (diskfs_S_file_get_translator): If we return an error, vm_deallocate any vm_allocated memory. From Mark Kettenis <kettenis@gnu.org>.
1999-06-11.Roland McGrath
1999-06-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fsck.c (options): Add -t/--fstype option. (main): Parse that option, and use it to constrain fstab list. * fsck.c (FSCK_F_DRYRUN): New macro. (options, main): Add -N/--dry-run option to set it. (fs_start_fsck): If FSCK_F_DRYRUN set, just print out and return zero. * fsck.c (fscks_start_fsck): If FSCK_F_DRYRUN is set, don't try to make read-only, just print a message that we would. * fsck.c (options, main): Change --fstab from -t to -F. 1999-06-10 Roland McGrath <roland@baalperazim.frob.com> * fsck.c (options): Add -A/--all and -R/--exclude-root options for compatibility with Linux, and --exclude=PATTERN as general form. (main): Parse them. Constrain fstab list by exclude patterns. * fsck.c (fsck): Don't check for "noauto" mntopt. No other system skips a filesystem because of it. (fsck): Always start at pass 1, not 0. In every other system, "pass 0" always means to skip that filesystem entirely.
1999-06-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
1999-06-05.Roland McGrath
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (create_startup_proc): Don't call add_proc_to_hash here. * main.c (main): Do it here instead, after we have the task port.
1999-06-05.Roland McGrath
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc. * mgt.c (make_ids): Add const to arguments.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* proc.h (struct proc): Use unsigned int for flag bitfields. * mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (request_dead_name): New function. (S_startup_request_notification, S_startup_essential_task): Use it. (run): Request dead-name notification for new task. (main): Request dead-name notification for FSTASK. (do_mach_notify_dead_name): If system_state is INITIAL, recognize FSTASK, AUTHTASK, PROCTASK specifically and crash with appropriate msg. 1999-06-04 Roland McGrath <roland@baalperazim.frob.com> * init.c (launch_core_servers): Use proc_child on the proc server task to register it with itself as our child. Snarf its proc port and use proc_mark_exec do remove that unsightly `f', as we do for the other bootstrap processes.
1999-06-04.Roland McGrath
1999-06-041999-06-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (map): Fix mapping calls to use F->__offset consistently instead of F->__target.
1999-06-04.Roland McGrath
1999-06-041999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-start.c (diskfs_start_bootstrap): Pass environment collected from `environ' on to init. The kernel can send more parameters through this way without us knowing about them specifically.
1999-06-03.Roland McGrath
1999-06-031999-06-03 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* default_pager.c (new_partition): Declare `waste' as `int' instead of `unsigned int'.
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (frob_kernel_process): If no --kernel-command-line option, try `getenv ("MULTIBOOT_CMDLINE")' before defaulting to "(kernel)".
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment variable, set its value as ${kernel-command-line} for boot scripts.