aboutsummaryrefslogtreecommitdiff
path: root/trans
Commit message (Collapse)AuthorAgeFilesLines
* Initial revisionRoland McGrath1996-07-171-0/+324
|
* (open_hook):Miles Bader1996-07-171-66/+79
| | | | | | | | | | | | | | 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.
* (stop_pgrp): Fetch pgrp using correct call.Michael I. Bushnell1996-07-131-2/+5
|
* (stop_pgrp): Don't do anything if ORPHANED.Michael I. Bushnell1996-07-081-2/+2
|
* (stop_pgrp): Take second arg CTTYID. Fetch each pgrp member's msgpor andRoland McGrath1996-07-081-10/+16
| | | | | | 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): fixupMichael I. Bushnell1996-07-081-1/+3
|
* (stop_pgrp): New function.Michael I. Bushnell1996-07-081-0/+31
| | | | (S_crash_dump_task): Call stop_pgrp.
* (fwd): Depend on libports.Michael I. Bushnell1996-07-081-1/+1
|
* (crash): New target.Michael I. Bushnell1996-07-041-0/+1
|
* (S_msg_describe_ports): New function.Michael I. Bushnell1996-07-011-0/+5
|
* (S_crash_dump_task): Drop arg TARGET.Michael I. Bushnell1996-07-011-5/+3
| | | | | (dump_core): Likewise; all callers changed. (struct crasher): Delete member `target'.
* (S_crash_dump_task): New args EXC, CODE, SUBCODE, CTTY_ID. SupplyMichael I. Bushnell1996-07-011-7/+9
| | | | | | | 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.
* (targets): Added crash.Michael I. Bushnell1996-07-011-1/+1
| | | | (SRCS): Added crash.c.
* (crash): New target.Michael I. Bushnell1996-07-011-1/+4
|
* typo fixesRoland McGrath1996-06-211-4/+4
|
* (null ifsock fifo new-fifo devport): Depend on ../libfshelp/libfshelp.a.Miles Bader1996-06-201-1/+1
|
* Initial revisionMiles Bader1996-05-291-0/+185
|
* (parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader1996-05-111-1/+2
|
* (all): Delete target.Michael I. Bushnell1996-04-301-2/+2
| | | | | (include ../Makeconf): *Before* all dependences. ($(targets)): Each program depends on its associated .o.
* Use ports_create_port instead of ports_allocate_port, and notice the error.Roland McGrath1996-04-271-5/+4
|
* (fifo_trans_parse_args): Supply missing arg to argp_parse.Michael I. Bushnell1996-04-151-1/+1
|
* Initial revisionMichael I. Bushnell1996-04-151-0/+810
|
* (targets): Add devport.Miles Bader1996-03-311-5/+5
| | | | | (SRCS): Add devport.c. Add devport as a target to various dependency rules.
* (trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs.Miles Bader1996-01-271-5/+9
|
* (trivfs_S_io_select):Miles Bader1996-01-191-3/+40
| | | | | Request interruption if the reply-port dies. Don't block if there's an error immediately available.
* Initial revisionRoland McGrath1995-12-151-0/+578
|
* (main): Add flags argument to trivfs_startup call.Miles Bader1995-11-063-3/+3
|
* (S_fsys_get_options): New function.Miles Bader1995-11-062-10/+22
| | | | | (main): Add flags argument to fsys_startup call. (S_fsys_startup): Add FLAGS arg.
* Add fwd.Miles Bader1995-10-081-4/+4
|
* (S_fsys_getpriv): Add new extra args.Miles Bader1995-10-082-4/+6
|
* Initial revisionMiles Bader1995-10-041-0/+51
|
* (targets): Add new-fifoMiles Bader1995-09-221-4/+6
| | | | | (SRCS): Add new-fifo.c (new-fifo): New target.
* (trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate.Miles Bader1995-09-181-1/+1
|
* (trivfs_S_file_set_size): Renamed from trivfs_S_file_truncate;Miles Bader1995-09-181-5/+3
| | | | Return EINVAL if the new size isn't 0.
* (open_hook): Block for read only when there's really someone reading already,Miles Bader1995-09-111-23/+52
| | | | | | | | | or until there's a writer. (open_hook): Use the WAIT macro to block. (wait_for_writer): New variable. (main): Set WAIT_FOR_WRITER with WAIT_FOR_READER. (trivfs_modify_stat): Only return pipe info if there's a pipe. (close_hook): Don't die if there's no pipe.
* (trivfs_S_io_select): Use pipe_pair_select.Miles Bader1995-08-311-13/+15
| | | | (trivfs_S_io_write): Pass in the NOBLOCK parameter to pipe_write.
* (trivfs_goaway): Implement correctly.Miles Bader1995-08-301-11/+31
| | | | | | (main): When we time out, don't exit unless there are no opens. (main): Add timeouts. (port_bucket): Now a local variable in main.
* (open_hook): Use hurd_condition_wait to detect interrupts.Miles Bader1995-08-291-14/+10
|
* (trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader1995-08-241-6/+10
| | | | | (trivfs_modify_stat): Give the size of the fifo now that we've got a handle on it.
* (trivfs_goaway, trivfs_modify_stat): Update arguments.Miles Bader1995-08-242-7/+4
|
* (S_fsys_forward): New function.Miles Bader1995-08-243-0/+21
|
* (all): New target.Miles Bader1995-08-241-24/+9
| | | | | | (symlink, magic, ifsock, fifo, null): Put all dependencies in these targets. (null-HURDLIBS, ifsock-HURDLIBS, fifo-HURDLIBS): Removed. Get rid of rules dealing with error.o
* (open_hook): Use condition_broadcast instead of condition_signal onMiles Bader1995-08-211-2/+2
| | | | active_fifo_changed, as all waiters need be notified of changes.
* Initial revisionMiles Bader1995-08-151-0/+521
|
* (SRCS): Add fifo.c.Miles Bader1995-08-151-2/+5
| | | | | (targets): Add fifo. (fifo): New target.
* (main): Don't pass in the MACH_RCV_TIMEOUT flag with a zero timeout.Miles Bader1995-07-251-1/+1
|
* Initial revisionMiles Bader1995-07-251-0/+152
|
* (OBJS): New var.Michael I. Bushnell1995-07-071-0/+1
|
* Removed dependencies that are now automatically generated.Michael I. Bushnell1995-07-061-4/+0
|
* (ifsock-HURDLIBS, null-HURDLIBS): New vars.Michael I. Bushnell1995-07-061-2/+8
| | | | (null, ifsock): Fix dependencies.