Age | Commit message (Collapse) | Author |
|
|
|
* streamio.c (options): Add aliases --rdonly, --ro for -r.
Add aliases --rdwr, -rw for -w.
Add new option --writeonly/--wronly/-W.
(readonly): Variable removed.
(parse_opt): Set trivfs_allow_open for -r/-w/-W.
(main): Don't set trivfs_allow_open here. Instead, use it to decide
whether to set up input_buffer/output_buffer or not.
(open_hook): Use trivfs_allow_open instead of readonly.
Check whether read is allowed too.
(trivfs_modify_stat): Likewise.
(clear_buffer): Do nothing if argument is null.
* streamio.c (stream_name, readonly, rdev, nperopens): Remove
superfluous zero initializers.
|
|
|
|
* streamio.c (options): Add aliases --rdonly, --ro for -r.
Add aliases --rdwr, -rw for -w.
Add new option --writeonly/--wronly/-W.
(readonly): Variable removed.
(parse_opt): Set trivfs_allow_open for -r/-w/-W.
(main): Don't set trivfs_allow_open here. Instead, use it to decide
whether to set up input_buffer/output_buffer or not.
(open_hook): Use trivfs_allow_open instead of readonly.
Check whether read is allowed too.
(trivfs_modify_stat): Likewise.
* streamio.c (stream_name, readonly, rdev, nperopens): Remove
superfluous zero initializers.
|
|
2001-01-13 Marcus Brinkmann <marcus@gnu.org>
* Makefile (SRCS): Add streamio.c
(streamio): Add dependency on device_replyServer.o.
Other dependencies identical to those for crash and password.
(OBJS): Add missing object files to list (crashServer.o
crash_replyUser.o msgServer.o device_replyServer.o).
* storeio.c: New file by OKUJI Yoshinori.
sutils/
2001-01-14 Marcus Brinkmann <marcus@gnu.org>
* MAKEDEV.sh (mkdev: klog): New device, using /hurd/streamio kmsg.
(mkdev: std): Add klog to the standard list.
|
|
the ports lib. This makes sure the functions in libthreads
properly override the stubs in libports with the new dynamic
linker semantics in glibc 2.2.
|
|
|
|
* new-fifo.c (trivfs_protid_portclasses, trivfs_protid_nportclasses):
Fix to size 2.
|
|
* symlink.c (main): Don't use MAKE_SEND in Hurd RPC.
|
|
|
|
* crash.c (S_crash_dump_task): Use ports_get_send_right.
|
|
|
|
|
|
* crash.c (enum crash_action): New alternative crash_unspecified (0).
(crash_orphans_how): New variable.
(S_crash_dump_task): If crash_how != crash_orphans_how, ascertain if
the task is an orphan before deciding what to do.
(options): New options --action, --orphan-action.
Old options now compatability aliases for --action=foo.
(parse_opt): Parse them.
(doc): New variable.
(crash_argp): Use DOC.
|
|
|
|
* null.c: Support --full/-f option to be /dev/full (ENOSPC writes).
(write_error_code): New variable.
(options, argp): New static const variables.
(parse_opt): New function.
(main): Move local ARGP out to static.
(trivfs_S_io_write): Return write_error_code instead of zero.
|
|
|
|
* hello-mt.c: New file, modified from hello.c to be multithreaded.
* Makefile (targets, SRCS): Add hello-mt, hello-mt.c.
(hello-mt): Add appropriate deps.
* hello.c (trivfs_modify_stat): Set st_size from contents_len, not
sizeof (hello) - 1.
|
|
* hello-mt.c: New file, modified from hello.c to be multithreaded.
* Makefile (targets, SRCS): Add hello-mt, hello-mt.c.
(hello-mt): Add appropriate deps.
|
|
* hello-mt.c: New file, modified from hello.c to be multithreaded.
* Makefile (targets, SRCS): Add hello-mt, hello-mt.c.
(hello-mt): Add appropriate deps.
* Makefile (hello): Don't depend on libthreads.
|
|
|
|
* hello.c: New file. From Gord with some cleanups and hacks from me.
* Makefile (targets, SRCS): Add hello, hello.c.
(hello): Add appropriate deps.
|
|
|
|
* magic.c: Rewritten using libtrivfs.
With new flag --directory/-d, present an empty directory that
has . and .. as normal and lists no other contents, but
looking up anything else within it does the magical retry.
* Makefile (magic): Update library deps accordingly.
|
|
|
|
* null.c (trivfs_S_io_map): Renamed to ...
(trivfs_S_io_map_segment): ... here, with new parameter `index'.
* new-fifo.c (trivfs_S_io_map): Renamed to ...
(trivfs_S_io_map_segment): ... here, with new parameter `index'.
* fifo.c (trivfs_S_io_map): Renamed to ...
(trivfs_S_io_map_segment): ... here, with new parameter `index'.
|
|
|
|
* crash.c (trivfs_modify_stat): Remove redundant fstype setting.
* password.c (trivfs_modify_stat): Likewise.
|
|
* bogus-fifo.c (main): Deallocate bootstrap port after using it.
* fifo.c (main): Likewise.
* firmlink.c (main): Likewise.
* ifsock.c (main): Likewise.
* magic.c (main): Likewise.
* null.c (main): Likewise.
* symlink.c (main): Likewise.
|
|
|
|
* firmlink.c: Add #include <sys/mman.h>.
|
|
|
|
* firmlink.c: Add #include <sys/mman.h>.
(trivfs_S_io_read): Fix sloppy bugs in last change.
|
|
* firmlink.c (trivfs_S_io_read): Use mmap instead of vm_allocate.
|
|
|
|
* crash.c: Add #include <sys/mman.h> for munmap decl.
|
|
* crash.c (stop_pgrp): Use munmap instead of vm_deallocate.
|
|
|
|
* crash.c (options): Add --dump-core as alias for --core-file.
|
|
|
|
* crash.c: Support three modes of operation, selected by command line
switches:
-s/--suspend suspend crashing process (old behavior)
-k/--kill kill crashing process, no core dump
-c/--core-file dump core file
(enum crash_action): New type.
(crash_how): New variable.
(options, crash_argp, trivfs_runtime_argp): New variables.
(parse_opt, trivfs_append_args): New functions.
(main): Call argp_parse.
|
|
|
|
* null.c (trivfs_S_io_read): Fix return value.
Reported by Steinar Hamre <steinarh@fim.ntnu.no>.
|
|
|
|
* fwd.c (main): Add missing newline in usage msg.
From Marcus Brinkmann.
|
|
* password.c: New file.
* Makefile (targets): Add password.
(SRCS): Add password.c.
(OBJS): Add passwordServer.o.
(password-LDLIBS): New variable.
Use dependencies identical to those for crash.
|
|
|
|
|
|
* firmlink.c (main): Fix return type to int, and use return.
* fwd.c (main): Likewise.
* new-fifo.c (main): Likewise.
* magic.c (main): Likewise.
* fifo.c (main): Likewise.
* null.c (main): Likewise.
|
|
|