Age | Commit message (Collapse) | Author |
|
* lookup.c (diskfs_lookup): If we get an error from
fshelp_checkdirmod, clear *NP as well as returning the error.
Use diskfs_nrele instead of diskfs_nput in case *NP and DP are
the same.
1999-06-28 Thomas Bushnell, BSG <tb@mit.edu>
* dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer;
several little buglets fixed too.
|
|
|
|
* dir-rmdir.c (diskfs_S_dir_rmdir): Reorganized to make clearer.
|
|
* sync-default.c (diskfs_default_sync_interval): Reduce to five
seconds. Hardware is much different than when Unix originally
picked thirty, plus we manage VM differently than the Unix buffer
cache did, and tend to delay many more writes than Unix did.
|
|
|
|
* login.c (main): For no-uids shell, default SH_ARG0 to informative
value. Use asprintf to construct it.
|
|
|
|
* rc.sh: Clean /tmp using special hackery to nuke translators.
|
|
|
|
* ps.c (options): Doc fix.
|
|
|
|
* Makefile (DIST_FILES): Add move-if-change.
|
|
|
|
* pager.c (free_page_buf): Fix type cast.
|
|
|
|
* main.c (main): Remove commented-out wire_task_self call, #include.
|
|
|
|
* Makefile (HURDLIBS): Add ports and fshelp only if $(split-init)!=yes.
|
|
* init.c (open_console): Put this function inside [! SPLIT_INIT].
|
|
|
|
|
|
* init.c [SPLIT_INIT] (child_pid, child_task): New variables.
(process_signal, start_child, launch_something, launch_system): New
functions.
[! SPLIT_INIT] (system_state, shell_pid, rc_pid, launch_single_user,
process_rc_script, launch_multi_user, launch_system, kill_everyone,
kill_multi_user, process_signal): Variables and functions put inside
#ifndef SPLIT_INIT.
* stubs.c: New file, modified from ../proc/stubs.c.
* Makefile (SRCS): Remove ttys.c here.
[$(split-init) = yes] (SRCS): Add stubs.c
[$(split-init) = yes] (init-CPPFLAGS): New variable, -DSPLIT_INIT.
[$(split-init) = no] (SRCS): Add ttys.c only here.
[$(split-init) = no] (LDLIBS): Put defn (-lutil) under this test.
(split-init): New variable to turn on split-init, commented out.
|
|
* runttys.c: New file.c
* Makefile (targets, SRCS): Add runttys, runttys.c.
(runttys): New target.
(runttys-LDLIBS): New variable, -lutil.
|
|
* runsystem.sh: New file.
* Makefile (targets, special-targets): Add runsystem.
(runsystem): New target.
|
|
* console-run.c: New file.
* Makefile (targets, SRCS): Add console-run, console-run.c.
(console-run): New target.
|
|
* 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.
|
|
|
|
* move-if-change: New file, canonical GNU script.
|
|
|
|
* 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.
|
|
* 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>.
|
|
|
|
* 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.
|
|
|
|
* ttys.c: Include "ttys.h".
|
|
|
|
* 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).
|
|
|
|
* main.c (trivfs_goaway): Exit if there are no socket ports.
|
|
|
|
* init.c (run): Add const to SERVER arg, PROG local.
Don't trim directory name from PROG for argument.
|
|
|
|
* 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.
|
|
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.
|
|
|
|
* lookup.c (diskfs_get_directs): Add cast to silence warning.
|
|
|
|
* file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in
last change.
|
|
|
|
* cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally
redefining. Use GCC extension for statement expression with value 0.
|