aboutsummaryrefslogtreecommitdiff
path: root/pflocal/io.c
Commit message (Collapse)AuthorAgeFilesLines
* Add `magic' protocols to specify the file type of a sockets. ThisMark Kettenis2000-08-021-2/+2
| | | | | | | | | | | | | 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.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-131-8/+0
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-081-0/+8
| | | | * io.c (S_io_map_segment): New function.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+1
| | | | * io.c: Add #include <sys/mman.h> for munmap decl.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-031-1/+1
| | | | * io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
* Tue Feb 16 05:52:35 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-161-1/+8
| | | | | * io.c (S_io_revoke): New function. Don't attempt to implement. (Other systems don't even permit non-file revokes.)
* Add braces to silence gcc warnings.Roland McGrath1998-10-201-17/+19
|
* (S_io_reauthenticate): Repeat sock_create_port andMichael I. Bushnell1996-07-141-8/+16
| | | | auth_server_authenticate for as long as we get EINTR.
* (S_io_reauthenticate): Don't use unsafe MOVE_SEND in call toMichael I. Bushnell1996-07-081-1/+2
| | | | auth_server_authenticate.
* (S_io_identity): New function.Miles Bader1996-05-141-0/+47
|
* (S_io_reauthenticate): Use new auth_server_authenticate protocol.Michael I. Bushnell1996-05-101-2/+1
|
* (S_io_select): Remove TAG arg.Miles Bader1996-05-091-5/+3
|
* (S_io_select):Miles Bader1996-01-151-20/+39
| | | | | Add reply port parameter, and request notification if it dies. Don't block if we can return EOF/EPIPE immediately.
* (S_io_set_all_openmodes, S_io_set_some_openmodes, S_io_clear_some_openmodes):Miles Bader1995-09-191-10/+11
| | | | | The user specifies O_NONBLOCK, not SOCK_NONBLOCK. (S_io_get_openmodes): Always return O_APPEND.
* (S_io_pathconf): New function.Miles Bader1995-09-191-1/+20
|
* (S_interrupt_operation): Function deleted.Miles Bader1995-09-061-13/+0
|
* (S_io_read, S_io_readable): Don't return EPIPE on EOF.Miles Bader1995-09-061-6/+8
|
* (S_io_stat): Only attempt to use the read pipe if it exists.Miles Bader1995-09-051-7/+8
|
* (S_io_select): Change the way selects are done, now that writes can block.Miles Bader1995-08-311-34/+30
| | | | (S_io_write): Pass in the new NOBLOCK parameter to pipe_write.
* (S_io_select): Use pipe_select instead of pipe_wait.Miles Bader1995-08-291-1/+1
|
* (S_interrupt_operation): Use ports_interrupt_rpc to interrupt waiting threads.Miles Bader1995-08-291-27/+1
|
* (S_io_select): Fix typo in masking off SELECT_URG.Roland McGrath1995-08-291-33/+22
| | | | Don't check open modes and return EBADF.
* (S_io_read, S_interrupt_operation, S_io_readable, S_io_select):Miles Bader1995-08-161-26/+26
| | | | | | 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.
* (S_interrupt_operation): Allow sockets trying to connect, and waiting forMiles Bader1995-07-301-7/+17
| | | | | connections to be interrupted. Change references to the CONNQ field in struct sock to LISTEN_QUEUE.
* entered into RCSMiles Bader1995-07-261-9/+5
|
* Formerly io.c.~12~Miles Bader1995-07-251-6/+23
|
* Formerly io.c.~11~Miles Bader1995-07-221-2/+21
|
* Formerly io.c.~10~Miles Bader1995-07-221-1/+39
|
* Formerly io.c.~9~Miles Bader1995-07-181-3/+63
|
* Formerly io.c.~8~Miles Bader1995-07-171-0/+1
|
* Formerly io.c.~7~Miles Bader1995-07-161-31/+35
|
* Formerly io.c.~6~Miles Bader1995-07-141-4/+5
|
* Formerly io.c.~5~Miles Bader1995-07-051-1/+3
|
* Formerly io.c.~4~Miles Bader1995-07-031-14/+8
|
* Formerly io.c.~3~Miles Bader1995-07-021-128/+252
|
* Formerly io.c.~2~Miles Bader1995-07-011-102/+71
|
* Initial revisionMiles Bader1995-07-011-0/+336