Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `magic' protocols to specify the file type of a sockets. This | Mark Kettenis | 2000-08-02 | 1 | -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 McGrath | 1999-09-13 | 1 | -8/+0 |
| | |||||
* | 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-09-08 | 1 | -0/+8 |
| | | | | * io.c (S_io_map_segment): New function. | ||||
* | 1999-07-10 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-07-11 | 1 | -0/+1 |
| | | | | * io.c: Add #include <sys/mman.h> for munmap decl. | ||||
* | 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-07-03 | 1 | -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 Bushnell | 1999-02-16 | 1 | -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 McGrath | 1998-10-20 | 1 | -17/+19 |
| | |||||
* | (S_io_reauthenticate): Repeat sock_create_port and | Michael I. Bushnell | 1996-07-14 | 1 | -8/+16 |
| | | | | auth_server_authenticate for as long as we get EINTR. | ||||
* | (S_io_reauthenticate): Don't use unsafe MOVE_SEND in call to | Michael I. Bushnell | 1996-07-08 | 1 | -1/+2 |
| | | | | auth_server_authenticate. | ||||
* | (S_io_identity): New function. | Miles Bader | 1996-05-14 | 1 | -0/+47 |
| | |||||
* | (S_io_reauthenticate): Use new auth_server_authenticate protocol. | Michael I. Bushnell | 1996-05-10 | 1 | -2/+1 |
| | |||||
* | (S_io_select): Remove TAG arg. | Miles Bader | 1996-05-09 | 1 | -5/+3 |
| | |||||
* | (S_io_select): | Miles Bader | 1996-01-15 | 1 | -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 Bader | 1995-09-19 | 1 | -10/+11 |
| | | | | | The user specifies O_NONBLOCK, not SOCK_NONBLOCK. (S_io_get_openmodes): Always return O_APPEND. | ||||
* | (S_io_pathconf): New function. | Miles Bader | 1995-09-19 | 1 | -1/+20 |
| | |||||
* | (S_interrupt_operation): Function deleted. | Miles Bader | 1995-09-06 | 1 | -13/+0 |
| | |||||
* | (S_io_read, S_io_readable): Don't return EPIPE on EOF. | Miles Bader | 1995-09-06 | 1 | -6/+8 |
| | |||||
* | (S_io_stat): Only attempt to use the read pipe if it exists. | Miles Bader | 1995-09-05 | 1 | -7/+8 |
| | |||||
* | (S_io_select): Change the way selects are done, now that writes can block. | Miles Bader | 1995-08-31 | 1 | -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 Bader | 1995-08-29 | 1 | -1/+1 |
| | |||||
* | (S_interrupt_operation): Use ports_interrupt_rpc to interrupt waiting threads. | Miles Bader | 1995-08-29 | 1 | -27/+1 |
| | |||||
* | (S_io_select): Fix typo in masking off SELECT_URG. | Roland McGrath | 1995-08-29 | 1 | -33/+22 |
| | | | | Don't check open modes and return EBADF. | ||||
* | (S_io_read, S_interrupt_operation, S_io_readable, S_io_select): | Miles Bader | 1995-08-16 | 1 | -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 for | Miles Bader | 1995-07-30 | 1 | -7/+17 |
| | | | | | connections to be interrupted. Change references to the CONNQ field in struct sock to LISTEN_QUEUE. | ||||
* | entered into RCS | Miles Bader | 1995-07-26 | 1 | -9/+5 |
| | |||||
* | Formerly io.c.~12~ | Miles Bader | 1995-07-25 | 1 | -6/+23 |
| | |||||
* | Formerly io.c.~11~ | Miles Bader | 1995-07-22 | 1 | -2/+21 |
| | |||||
* | Formerly io.c.~10~ | Miles Bader | 1995-07-22 | 1 | -1/+39 |
| | |||||
* | Formerly io.c.~9~ | Miles Bader | 1995-07-18 | 1 | -3/+63 |
| | |||||
* | Formerly io.c.~8~ | Miles Bader | 1995-07-17 | 1 | -0/+1 |
| | |||||
* | Formerly io.c.~7~ | Miles Bader | 1995-07-16 | 1 | -31/+35 |
| | |||||
* | Formerly io.c.~6~ | Miles Bader | 1995-07-14 | 1 | -4/+5 |
| | |||||
* | Formerly io.c.~5~ | Miles Bader | 1995-07-05 | 1 | -1/+3 |
| | |||||
* | Formerly io.c.~4~ | Miles Bader | 1995-07-03 | 1 | -14/+8 |
| | |||||
* | Formerly io.c.~3~ | Miles Bader | 1995-07-02 | 1 | -128/+252 |
| | |||||
* | Formerly io.c.~2~ | Miles Bader | 1995-07-01 | 1 | -102/+71 |
| | |||||
* | Initial revision | Miles Bader | 1995-07-01 | 1 | -0/+336 |