Age | Commit message (Collapse) | Author |
|
* dir.c (diskfs_lookup_hard): Use munmap instead of vm_deallocate.
(diskfs_direnter_hard): Likewise.
(diskfs_dirremove_hard): Likewise.
(diskfs_dirrewrite_hard): Likewise.
(diskfs_dirempty): Likewise.
(diskfs_drop_dirstat): Likewise.
(diskfs_get_directs): Likewise.
* hyper.c (allocate_mod_map): Likewise.
(get_hypermetadata): Likewise.
* pager.c (free_page_buf): Likewise.
* truncate.c (poke_pages): Likewise.
|
|
* core.c (core_dump_task): Use munmap instead of vm_deallocate,
when it's from our own task.
* elfcore.c: Likewise.
* exec.c (load_section): Likewise.
(map): Likewise.
(close_exec_stream): Likewise.
(finish_mapping): Likewise.
(load): Likewise.
(do_exec): Likewise.
(S_exec_setexecdata): Likewise.
* hashexec.c (check_hashbang): Likewise.
* main.c (deadboot): Likewise.
|
|
* defpager.c (pager_read_page): Use munmap instead of
vm_deallocate.
|
|
* lmail.c (bfree): Use munmap instead of vm_deallocate.
|
|
* boot.c (load_image): Use munmap instead of vm_deallocate when
it's from our own task.
(boot_script_read_file): Likewise.
(boot_script_exec_cmd): Likewise.
(set_mach_stack_args): Likewise.
(ds_device_read_inband): Likewise.
|
|
|
|
* Makefile (INSTALL-addauth-ops, INSTALL-setauth-ops,
INSTALL-su-ops): Removed. These programs don't have to be
installed suid-root anymore.
* frobauth-mod.c (frobauth_modify): Do not try to set the owner of
the processes we're frobbing. The process set their owner
themselves when we pass them their new authentication.
|
|
|
|
* nref.c: New file; guts from netfs.h.
* nrele.c: Likewise.
* nput.c: Likewise.
* netfs.h (netfs_nref, netfs_nrele, netfs_nput): Replace inline
definitions with normal declarations.
(NETFS_EI): Remove macro.
* netfs.c: Deleted file.
* Makefile (OTHERSRCS): Add nref.c, nrele.c, nput.c. Remove
netfs.c.
|
|
* translated.c: New file; guts from fshelp.h.
* perms-isowner.c: Likewise.
* perms-access.c: Likewise.
* prems-checkdirmod.c: Likewise.
* touch.c: Likewise.
* fshelp.h (fshelp_translated, fshelp_isowner, fshelp_access,
fshelp_checkdirmod, fshelp_touch): Replace inline definitions with
ordinary declarations.
(FSHELP_EI): Removed macro.
* fshelp.c: Deleted file.
* Makefile (SRCS): Added translated.c, perms-isowner.c,
perms-access.c, perms-checkdirmod.c, touch.c. Removed fshelp.c.
|
|
* node-nref.c: New file; guts from diskfs.h.
* node-nput.c: Likewise.
* node-nrele.c: Likewise.
* node-nrefl.c: Likewise.
* node-nputl.c: Likewise.
* node-nrelel.c: LIkewise.
* diskfs.h (diskfs_nref, diskfs_nput, diskfs_nrele,
diskfs_nref_light, diskfs_nput_light, diskfs_nrele_light): Replace
inline definitions with ordinary declarations.
(DISKFS_EI): Removed macro.
* diskfs.c: Deleted file.
* Makefile (OTHERSRCS): Added node-nref.c, node-nput.c
node-nrele.c, node-nrefl.c, node-nputl.c, node-nrelel.c. Removed
diskfs.c.
|
|
* rc.sh: Specify bash instead of sh.
(remove_translators): Don't descend into "." or "..". Alter
calling convention slightly and require the `nullglob' option to
be set. Change caller to suit. From Kalle Olavi Niemitalo
<tosi@ees2.oulu.fi>.
|
|
|
|
* hyper.c (diskfs_readonly_changed): Adjust whether the store
should permit writes too.
|
|
* 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".
|
|
|