Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
Function removed (trivfs default is now sufficient).
|
|
|
|
Always return 0.
(argp_program_version):
New variable.
(provide_zeros):
Variable removed.
(main):
Use argp for argument parsing.
(trivfs_S_io_read):
Don't return zeros anymore.
(trivfs_S_file_check_access):
New function.
|
|
|
|
|
|
Unbreak a new read pipe even if not waiting for writers.
Only bother to do anything if O_READ | O_WRITE.
When O_NONBLOCK is set, just don't block if possible, instead of of
returning EWOULDBLOCK.
Only set PO->hook if O_READ or O_WRITE is set.
(close_hook):
Also disconnect ACTIVE_FIFO if the laster writer is going away and there
were no readers.
(trivfs_S_file_set_size): Add #!$@&* reply port args.
(trivfs_S_io_select): The pipe is on CRED->po->hook, not CRED->hook.
(trivfs_modify_stat): Zero the returned size if there's no pipe.
|
|
|
|
|
|
send msg_sig_post with that as refport instead of calling POSIX.1 kill
function like a bonehead.
(S_crash_dump_task): Pass CTTY_ID arg through to stop_pgrp.
|
|
|
|
(S_crash_dump_task): Call stop_pgrp.
|
|
|
|
|
|
|
|
(dump_core): Likewise; all callers changed.
(struct crasher): Delete member `target'.
|
|
SIGCODE arg to proc_mark_stop.
(signal_crasher): New arg SIGCODE, supply to proc_mark_exit. All
callers changed.
(S_msg_sig_post_untraced): Supply C->sigcode to proc_mark_stop.
|
|
(SRCS): Added crash.c.
|
|
|
|
|
|
|
|
|
|
|