Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Beautify last change. | Marcus Brinkmann | 2002-04-24 | 1 | -2/+2 |
| | |||||
* | 2002-04-24 Ognyan Kulev <ogi@fmi.uni-sofia.bg> | Marcus Brinkmann | 2002-04-24 | 2 | -26/+24 |
| | | | | | | | * sock.c (sock_shutdown): When both SHUTDOWN_READ and SHUTDOWN_WRITE are set in FLAGS unlock sock->lock after all processing of `sock' is finished. (sock_create): Replace bzero with memset. | ||||
* | . | Roland McGrath | 2001-12-22 | 1 | -0/+11 |
| | |||||
* | 2001-12-22 Roland McGrath <roland@frob.com> | Roland McGrath | 2001-12-22 | 1 | -7/+9 |
| | | | | * connq.c (connq_compress): #if 0 out unused function. | ||||
* | 2001-12-22 Roland McGrath <roland@frob.com> | Roland McGrath | 2001-12-22 | 2 | -11/+11 |
| | | | | | | | | | * sock.h (sock_deref): Don't define this extern inline. Instead, use static inline and __attribute__ ((unused)). * mig-decls.h (begin_using_sock_user_port): Likewise. (end_using_sock_user_port): Likewise. (begin_using_addr_port): Likewise. (end_using_addr_port): Likewise. | ||||
* | . | Roland McGrath | 2001-04-01 | 1 | -0/+4 |
| | |||||
* | 2001-03-31 Roland McGrath <roland@frob.com> | Roland McGrath | 2001-04-01 | 1 | -3/+3 |
| | | | | * sock.c: Include "connq.h" for connq_destroy decl. | ||||
* | 2001-02-20 Marcus Brinkmann <marcus@gnu.org> | Marcus Brinkmann | 2001-02-20 | 2 | -0/+6 |
| | | | | | * connq.c: Include <assert.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>. | ||||
* | 2001-02-11 Marcus Brinkmann <marcus@gnu.org> | Marcus Brinkmann | 2001-02-12 | 4 | -0/+28 |
| | | | | | | | * connq.c (connq_destroy): New function. * connq.h: Prototype connq_destroy. * sock.c (sock_free): Call connq_destroy when listen or connect queue exist. | ||||
* | * pf.c (S_socket_create): Only accept S_IFCHR, S_IFSOCK and | Mark Kettenis | 2000-08-09 | 2 | -6/+18 |
| | | | | S_IFIFO as `magic' protocols. | ||||
* | Add `magic' protocols to specify the file type of a sockets. This | Mark Kettenis | 2000-08-02 | 5 | -11/+41 |
| | | | | | | | | | | | | | 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. | ||||
* | * Makefile (HURDLIBS): Reorder libs such that the threads lib | Mark Kettenis | 2000-07-26 | 2 | -2/+9 |
| | | | | | | comes before the ports lib. This makes sure the functions in libthreads properly override the stubs in libports with the new dynamic linker semantics in glibc 2.2. | ||||
* | Reverted changes related to io_map_segment. | Roland McGrath | 1999-09-13 | 2 | -8/+4 |
| | |||||
* | 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-09-08 | 2 | -0/+12 |
| | | | | * io.c (S_io_map_segment): New function. | ||||
* | . | Roland McGrath | 1999-07-11 | 1 | -0/+4 |
| | |||||
* | 1999-07-11 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-07-11 | 1 | -2/+3 |
| | | | | * sock.h: Add #include <sys/mman.h>. | ||||
* | 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-07-11 | 2 | -1/+5 |
| | | | | * pf.c (S_socket_whatis_address): Use mmap instead of vm_allocate. | ||||
* | . | Roland McGrath | 1999-07-11 | 1 | -0/+4 |
| | |||||
* | 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 | 2 | -1/+5 |
| | | | | * io.c (TRASH_IDS): Use munmap instead of vm_deallocate. | ||||
* | . | Roland McGrath | 1999-03-02 | 1 | -0/+5 |
| | |||||
* | 1999-03-01 Mark Kettenis <kettenis@gnu.org> | Roland McGrath | 1999-03-02 | 1 | -3/+21 |
| | | | | | * pf.c (S_socket_whatis_address): Implement. Since we cannot tell what our adress is, return an empty string as the file name. | ||||
* | Tue Feb 16 05:52:35 1999 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-02-16 | 2 | -1/+13 |
| | | | | | * 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 | 2 | -17/+23 |
| | |||||
* | . | Roland McGrath | 1998-07-20 | 1 | -7/+11 |
| | |||||
* | 1998-07-20 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1998-07-20 | 1 | -4/+6 |
| | | | | * pflocal.c (main): Fix return type to int, and use return. | ||||
* | Wed Aug 20 14:06:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> | Thomas Bushnell | 1997-08-20 | 3 | -5/+10 |
| | | | | | | * pflocal.c (main): New args for ports_manage_port_operations_multithread. * sserver.c (handle_sock_requests): Likewise. | ||||
* | . | Miles Bader | 1996-10-07 | 1 | -0/+4 |
| | |||||
* | (connq_listen): | Miles Bader | 1996-10-07 | 1 | -2/+5 |
| | | | | Unlock CQ->lock when returning EWOULDBLOCK. | ||||
* | *** empty log message *** | Thomas Bushnell | 1996-09-17 | 2 | -2/+6 |
| | |||||
* | (sock_create): Remove NEXT_SOCK_ID. | Miles Bader | 1996-07-23 | 1 | -1/+0 |
| | |||||
* | . | Miles Bader | 1996-07-23 | 1 | -0/+4 |
| | |||||
* | Initial revision | Roland McGrath | 1996-07-17 | 1 | -0/+244 |
| | |||||
* | (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. | ||||
* | (sock_create): Initialize ID field to MACH_PORT_NULL. | Miles Bader | 1996-07-01 | 1 | -1/+1 |
| | |||||
* | (LCLHDRS): Add sserver.h. | Michael I. Bushnell | 1996-06-27 | 1 | -1/+1 |
| | |||||
* | (pflocal): Depend on ../libfshelp/libfshelp.a. | Miles Bader | 1996-06-20 | 1 | -1/+1 |
| | |||||
* | (sock_free): Destroy SOCK's id port if necessary. | Miles Bader | 1996-05-16 | 1 | -1/+3 |
| | |||||
* | (struct sock): Make the id field a receive right, not an int. | Miles Bader | 1996-05-14 | 1 | -3/+4 |
| | |||||
* | (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 |
| | |||||
* | (MIGSFLAGS): Look for mig-mutate.h in $(srcdir). | Michael I. Bushnell | 1996-04-15 | 1 | -2/+2 |
| | |||||
* | (S_socket_recv): | Miles Bader | 1996-01-27 | 1 | -6/+6 |
| | | | | | Test for MSG_OOB in IN_FLAGS, not FLAGS. Return EINVAL if we get MSG_OOB, not EOPNOTSUPP. | ||||
* | (sock_create_port, addr_create): | Miles Bader | 1996-01-27 | 1 | -15/+16 |
| | | | | Use ports_create_port instead of ports_allocate_port. | ||||
* | (trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs. | Miles Bader | 1996-01-27 | 1 | -16/+12 |
| | | | | (thread_cancel): Function deleted. | ||||
* | (S_socket_connect): Handle connectionless protocols correctly. | Miles Bader | 1996-01-24 | 1 | -29/+56 |
| | | | | (S_socket_send): Allow DEST_ADDR to be null if the socket is connected. | ||||
* | (sock_bind): Don't change SOCK's ref count if we're returning an error. | Miles Bader | 1996-01-24 | 1 | -10/+11 |
| | |||||
* | Remove debugging noise. | Miles Bader | 1996-01-19 | 1 | -2/+0 |
| |