Age | Commit message (Collapse) | Author |
|
|
|
* rpctrace.c (parse_msgid_list): Use ERR, not errno.
* shd.c (reap): Use error, not perror.
(command): Likewise.
(main): Likewise.
(run): Use error, not perror. Use ERR, not errno.
|
|
* ifsock.c (main): Use ERR, not errno.
* symlink.c: Include <error.h> and <errno.h>.
(main): Use err, not fprintf and exit. Use error, not perror and
exit. Use err, not error. Check for MACH_PORT_NULL
explicitly. Check for proper usage of symlink before checking if
symlink is started as a translator.
|
|
* main.c: Include <error.h>.
(main): Use error, not fprintf and exit or perror and exit. Use
ERR, not errno. Use MACH_PORT_NULL explicitly.
* users.c: Include <error.h>.
(init_users): Use ERR, not errno. Use error, not perror and exit.
|
|
* halt.c (main): Use error, not perror.
* reboot.c (main): Likewise.
* update.c (main): Use error, not perror and exit.
|
|
* fsys.c (init_filesystems): Use error, not fprintf. Use
MACH_PORT_NULL explicitly.
(write_filesystems): Use error, not fprintf. Use ERR, not errno.
* main.c (main): Use error, not perror and exit.
|
|
* main.c (main): Use error, not perror and exit. Use ERR, not errno.
* mount.c (mount_root): Likewise.
* rpc.c (rpc_receive_thread): Use error, not perror.
|
|
* init-startup.c (_diskfs_init_completed): Use error, not
fprintf.
|
|
* init.c (reboot_mach): Use ERR, not errno.
(run): Likewise.
(lauch_core_servers): Likewise.
(run_for_real): Use MACH_PORT_NULL explicitly.
(start_child): Likewise.
|
|
|
|
* fstests.c: Include <error.h>.
(main): Use error, not perror.
[HURDISH_TESTS]: Use this rather then having the code in question
#if 0'd out.
* timertest.c: Include <error.h> and <errno.h>
(main): Use error, not perror and exit.
|
|
* console-run.c (open_console): Use ERR, not errno.
|
|
* main.c (main): Use error, not fprintf and exit.
|
|
* boot.c (main): Use error, not perror and exit.
|
|
|
|
* peropen-make.c (diskfs_make_peropen): Instead of returning the
peropen, return as error_t and return the peropen in the new
parameter *PPO.
* diskfs.h (diskfs_make_peropen): Change declaration to reflect
new semantics.
* boot-start.c (diskfs_start_bootstrap): Check the return value of
diskfs_make_peropen using the new semantics.
(diskfs_S_exec_startup_get_info): Likewise.
(diskfs_execboot_fsys_startup): Likewise.
(diskfs_S_fsys_init): Likewise.
* dir-lookup.c (diskfs_S_dir_lookup): Likewise.
* dir-mkfile.c (diskfs_S_dir_mkfile): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-reparent.c (diskfs_S_file_reparent): Likewise.
* fsys-getfile.c (diskfs_S_fsys_getfile): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* trans-callback.c (_diskfs_translator_callback2_fn): Likewise.
* init-startup.c (diskfs_startup_diskfs): Likewise.
|
|
|
|
* pager.c (MAX_FREE_PAGE_BUFS): Remove obsolete macro.
(FREE_PAGE_BUFS): New macro.
(free_page_bufs_lock): Make this global variable local to
get_page_buf.
(free_page_bufs): Likewise.
(num_free_page_bufs): Likewise.
(get_page_buf): Reimplement using a new caching algorithm
based on preallocation of COW zero pages.
(free_page_buf): Likewise.
(find_block): Documentation fixes.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): Change tmpfs size argument to 50%.
|
|
* tmpfs.c (parse_opt): Grok % suffix on number to mean percentage
of the machine's RAM.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): Give the file mode 644 and pass
options to tmpfs: -m 1777 512M.
|
|
* tmpfs.c (options): New static const variable. Add --mode/-m.
(struct option_values): New type.
(parse_opt): Use that for VALUES. Grok -m to set VALUES->mode.
Grok ARGP_KEY_FINI and free our data structure.
(tmpfs_root_mode): New variable, set by -m.
(main): If -m was given, use that instead of underlying node's
permissions.
|
|
|
|
* MAKEDEV.sh (mkdev: shm): New, uses /hurd/tmpfs filesystem.
(mkdev: std): Add shm to the standard list.
|
|
|
|
* tmpfs.c (main): Don't release REALNODE.
|
|
|
|
* node.c: Include "default_pager_U.h", not <mach/default_pager.h>.
(diskfs_truncate): Return early if page-rounded size is unchanged.
Call default_pager_object_set_size on the memory object.
(diskfs_grow): Likewise.
|
|
* Makefile (OBJS): Add default_pagerUser.o here.
|
|
* setup.c (default_pager_paging_storage): Fail if receiver port is not
default_pager_default_port.
|
|
* Makefile (OBJS): Add default_pager_replyUser.o here.
* main.c (default_pager_bootstrap_port): Declaration removed.
(main): Don't use it.
* Makefile (OBJS): Remove bootstrapServer.o from here.
|
|
Excised default pager functionality from serverboot.
* Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to
(EXTRA_DIST): ... here.
(OBJS): Remove *Server.o from here.
(MIGSFLAGS): Variable removed.
* bootstrap.c (main): Replace paging-file boot-script functions with a
stub that prints an error. No longer call partition_init,
default_pager_initialize, or default_pager.
(default_pager_bootstrap_port): Variable removed.
(main): Don't use it.
(default_pager_exception_port): Declaration removed.
(main): Don't use it.
* default_pager.c (default_pager_bootstrap_port): Variable removed.
(default_pager_demux_default): Don't use it.
(default_pager_initialize): Likewise.
(default_pager): Likewise.
(do_bootstrap_privileged_ports, bootstrap_compat): Functions removed.
[mips] (set_ras_address): Likewise.
* default_pager.c (pager_truncate): New function.
(struct dpager): New member `limit'.
(pager_alloc): Initialize it.
(default_pager_object_set_size): New function.
(seqnos_memory_object_lock_completed): Rewritten, no longer a stub.
(default_pager_demux_object): Try default_pager_server too.
|
|
Excised default pager functionality from serverboot.
* Makefile (SRCS): Move def_pager_setup.c default_pager.c kalloc.c to
(EXTRA_DIST): ... here.
(OBJS): Remove *Server.o from here.
(MIGSFLAGS): Variable removed.
* bootstrap.c (main): Replace paging-file boot-script functions with a
stub that prints an error. No longer call partition_init,
default_pager_initialize, or default_pager.
(default_pager_bootstrap_port): Variable removed.
(main): Don't use it.
(default_pager_exception_port): Declaration removed.
(main): Don't use it.
* default_pager.c (default_pager_bootstrap_port): Variable removed.
(default_pager_demux_default): Don't use it.
(default_pager_initialize): Likewise.
(default_pager): Likewise.
(do_bootstrap_privileged_ports, bootstrap_compat): Functions removed.
[mips] (set_ras_address): Likewise.
|
|
* default_pager.defs (default_pager_object_set_size): New RPC.
* default_pager_reply.defs: New file.
|
|
|
|
* main.c (default_pager_bootstrap_port): Declaration removed.
(main): Don't use it.
|
|
|
|
* Makeconf ($(libname).so.$(hurd-version)): Reorder link arguments so
that .map files come after the -( ... -) group.
|
|
|
|
* mutations.h (TIOCTL_IMPORTS): New macro.
* priv.h: Protect from multiple inclusion.
|
|
|
|
* vga.c (vga_init): io_perm -> ioperm.
(vga_deinit): Likewise.
|
|
|
|
* dynafont.c: Include <string.h>.
* focus.c: Likewise.
* vga.c: Likewise.
* vga-display.c: Likewise.
|
|
* main.c: Include <error.h>.
(main): Use `error' instead of perror + exit.
(console_mode, console_owner, console_group): Use *_t, not int.
|
|
* console/mutations.h (TIOCTL_IMPORTS): New macro.
* priv.h: Protect from multiple inclusion.
|
|
* vga.c (vga_init): io_perm -> ioperm.
* dynafont.c: Include <string.h>.
* focus.c: Likewise.
* vga.c: Likewise.
* vga-display.c: Likewise.
|
|
|