Age | Commit message (Collapse) | Author |
|
|
|
* Makefile (ourdevice.defs): Loosen up regexp since some whitespace in
the file changed.
|
|
* boot.c (main): If malloc or realloc fails, print diagnostic
message and exit.
(queue_read): Change return type from void to kern_return_t.
If malloc fails, return D_NO_MEMORY, otherwise D_SUCCESS (to simplify
code flow, malloc before acquiring the queuelock).
(ds_device_read): New variable err (local to the block in which it is used).
If queue_read fails, pass through error.
(ds_device_read_inband): Likewise.
(S_io_read): Likewise.
Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
|
|
|
|
* boot.c (S_io_reauthenticate): Check mach_port_insert_right result
with assert_perror.
|
|
* boot.c (S_io_reauthenticate): Don't use MACH_MSG_TYPE_MAKE_SEND
in Hurd RPC.
|
|
|
|
* boot.c (ds_device_get_status): Accept *STATUSLEN greater than needed.
|
|
|
|
* boot.c (S_io_map_segment): New function.
|
|
|
|
* boot.c (ds_device_read, S_io_read): Fix sloppy bugs in last change.
|
|
* boot.c (load_image): Use mmap instead of vm_allocate, when
allocating in mach_task_self ().
(boot_script_exec_cmd): Likewise.
(set_mach_stack_args): Likewise.
(read_reply): Likewise.
(S_io_read): Likewise.
|
|
|
|
* boot.c: Add #include <sys/mman.h> for munmap decl.
|
|
* boot.c (load_image): Fix typo in cast. Reported by Yamashita
TAKAO <jargon@lares.dti.ne.jp>.
|
|
* 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.
|
|
|
|
* boot.c (S_term_get_peername): New function.
|
|
|
|
* boot.c: Fix typo in last change.
|
|
|
|
* boot.c (main): Only use real device name if root_store is for an
enforced single run starting at the beginning of the device.
|
|
|
|
* boot.c (main): Add newline to error msg.
Patch by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
|
|
|
|
* boot.c (S_io_revoke): Add reply, replyPoly args.
|
|
* boot.c (S_io_revoke): New (unsupported) routine.
|
|
|
|
* boot.c (isig): New variable.
(init_termstate): If it's set, set ISIG flag in c_lflag.
(options): New option -I/--isig.
(parse_opt): Make -I set `isig'.
(boot_script_exec_cmd): Print out args as well as file name.
|
|
|
|
* boot_script.c: Include <string.h> instead of declaring memset here.
Include <stdlib.h> instead of declaring malloc, free here.
|
|
* boot.c: Include <fcntl.h> instead of <fcntlbits.h>. Suggested
by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
|
|
Pass more than a single character buffer to safe_gets.
|
|
|
|
|
|
Include libstore & libshouldbeinlibc.
|
|
New function.
(pseudo_root, root_store):
New variables.
(bootscript_args):
Now an array.
(ds_device_open, ds_device_close, ds_device_write, ds_device_write_inband,
ds_device_read, ds_device_read_inband, ds_device_get_status,
ds_device_set_status, ds_device_map, ds_xxx_device_set_filter,
ds_xxx_device_get_status, ds_xxx_device_set_status, ds_device_set_filter):
Handle "pseudo-root" device.
(main):
Use argp to parse args, and implement the pseudo-root device.
Include <argp.h> & <hurd/store.h>
(options, doc, args_doc):
New variables.
(bootscript):
Made global.
|
|
* boot_script.c (boot_script_parse_line): Don't print gratuitous
output noise.
|
|
* boot.c: Don't include varargs.h.
(set_mach_stack_args): Use stdarg instead of vararg.
|
|
|
|
|
|
(ourdevice.defs): Fix rule to work with Makeconf-generated device.defs.
|
|
|
|
|
|
|
|
|
|
|
|
auth_server_authenticate.
|
|
|