Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
|
|
Add firmlink to targets depending on libthreads.
|
|
|
|
|
|
Remove -i.
(getroot):
If firmlink returns ENOENT, act like an unresolvable link.
Don't support visible mode.
(argp):
Use OPTIONS.
|
|
|
|
New target.
(SRCS):
Add firmlink.c.
(targets):
Add firmlink.
|
|
|
|
|
|
New function.
(main):
Use argp instead of getopt.
Don't use old trivfs port class/bucket variables.
Don't create our own port classes/bucket, let trivfs_startup do it.
(argp_program_version, argp):
New variables.
(trivfs_protid_portclasses, trivfs_cntl_portclasses,
trivfs_protid_nportclasses, trivfs_cntl_nportclasses):
Variables removed.
(options):
Use argp structures instead of getopt ones.
<getopt.h>:
Include removed.
<version.h>:
New include.
<argp.h>:
New include.
|
|
trivfs_cntl_portclasses, trivfs_protid_nportclasses,
trivfs_cntl_nportclasses):
Variables removed.
(main):
Don't use them.
|