summaryrefslogtreecommitdiff
path: root/pflocal/io.c
AgeCommit message (Collapse)Author
2000-08-02Add `magic' protocols to specify the file type of a sockets. ThisMark Kettenis
allows implementation of POSIX pipes by using a S_IFSOCK protocol. * sock.h: Include <sys/types.h>. (struct sock): Add new member `mode'. (sock_create): Add new parameter `mode'. * sock.c (sock_create): Initialize `mode' member of struct sock, with new parameter. * pf.c (S_socket_create): Pass file type/mode to sock_create based on PROTOCOL. * io.c (S_io_stat): Use new member of `struct sock' to set ST->st_mode.
1999-09-13Reverted changes related to io_map_segment.Roland McGrath
1999-09-081999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io.c (S_io_map_segment): New function.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io.c: Add #include <sys/mman.h> for munmap decl.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
1999-02-16Tue Feb 16 05:52:35 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io.c (S_io_revoke): New function. Don't attempt to implement. (Other systems don't even permit non-file revokes.)
1998-10-20Add braces to silence gcc warnings.Roland McGrath
1996-07-14(S_io_reauthenticate): Repeat sock_create_port andMichael I. Bushnell
auth_server_authenticate for as long as we get EINTR.
1996-07-08(S_io_reauthenticate): Don't use unsafe MOVE_SEND in call toMichael I. Bushnell
auth_server_authenticate.
1996-05-14(S_io_identity): New function.Miles Bader
1996-05-10(S_io_reauthenticate): Use new auth_server_authenticate protocol.Michael I. Bushnell
1996-05-09(S_io_select): Remove TAG arg.Miles Bader
1996-01-15(S_io_select):Miles Bader
Add reply port parameter, and request notification if it dies. Don't block if we can return EOF/EPIPE immediately.
1995-09-19(S_io_set_all_openmodes, S_io_set_some_openmodes, S_io_clear_some_openmodes):Miles Bader
The user specifies O_NONBLOCK, not SOCK_NONBLOCK. (S_io_get_openmodes): Always return O_APPEND.
1995-09-19(S_io_pathconf): New function.Miles Bader
1995-09-06(S_interrupt_operation): Function deleted.Miles Bader
1995-09-06(S_io_read, S_io_readable): Don't return EPIPE on EOF.Miles Bader
1995-09-05(S_io_stat): Only attempt to use the read pipe if it exists.Miles Bader
1995-08-31(S_io_select): Change the way selects are done, now that writes can block.Miles Bader
(S_io_write): Pass in the new NOBLOCK parameter to pipe_write.
1995-08-29(S_io_select): Use pipe_select instead of pipe_wait.Miles Bader
1995-08-29(S_interrupt_operation): Use ports_interrupt_rpc to interrupt waiting threads.Miles Bader
1995-08-29(S_io_select): Fix typo in masking off SELECT_URG.Roland McGrath
Don't check open modes and return EBADF.
1995-08-16(S_io_read, S_interrupt_operation, S_io_readable, S_io_select):Miles Bader
Use pipe_release_reader instead of pipe_release. (S_io_write): Use pipe_release_writer instead of pipe_release. (S_io_readable, S_io_read): Reflect EPIPE as EOF.
1995-07-30(S_interrupt_operation): Allow sockets trying to connect, and waiting forMiles Bader
connections to be interrupted. Change references to the CONNQ field in struct sock to LISTEN_QUEUE.
1995-07-26entered into RCSMiles Bader
1995-07-25Formerly io.c.~12~Miles Bader
1995-07-22Formerly io.c.~11~Miles Bader
1995-07-22Formerly io.c.~10~Miles Bader
1995-07-18Formerly io.c.~9~Miles Bader
1995-07-17Formerly io.c.~8~Miles Bader
1995-07-16Formerly io.c.~7~Miles Bader
1995-07-14Formerly io.c.~6~Miles Bader
1995-07-05Formerly io.c.~5~Miles Bader
1995-07-03Formerly io.c.~4~Miles Bader
1995-07-02Formerly io.c.~3~Miles Bader
1995-07-01Formerly io.c.~2~Miles Bader
1995-07-01Initial revisionMiles Bader