Age | Commit message (Collapse) | Author |
|
|
|
|
|
* 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.
|
|
|
|
Fix typo.
|
|
* crash.c (main): New args for
ports_manage_port_operations_multithread.
* fifo.c (main): Likewise.
* firmlink.c (main): Likewise.
* new-fifo.c (main): Likewise.
* null.c (main): Likewise.
|
|
|
|
|
|
Remove devport.c.
(targets):
Remove devport.
|
|
|
|
|
|
|
|
|
|
Use argp to parse args.
(argp_program_version, args_doc, doc):
New variables.
Add new includes <argp.h> & <version.h>.
|
|
Make multithreaded.
|