aboutsummaryrefslogtreecommitdiff
path: root/pflocal
Commit message (Collapse)AuthorAgeFilesLines
* Beautify last change.Marcus Brinkmann2002-04-241-2/+2
|
* 2002-04-24 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann2002-04-242-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 McGrath2001-12-221-0/+11
|
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-7/+9
| | | | * connq.c (connq_compress): #if 0 out unused function.
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-222-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 McGrath2001-04-011-0/+4
|
* 2001-03-31 Roland McGrath <roland@frob.com>Roland McGrath2001-04-011-3/+3
| | | | * sock.c: Include "connq.h" for connq_destroy decl.
* 2001-02-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-02-202-0/+6
| | | | | * connq.c: Include <assert.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>.
* 2001-02-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-02-124-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 andMark Kettenis2000-08-092-6/+18
| | | | S_IFIFO as `magic' protocols.
* Add `magic' protocols to specify the file type of a sockets. ThisMark Kettenis2000-08-025-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 libMark Kettenis2000-07-262-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 McGrath1999-09-132-8/+4
|
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-082-0/+12
| | | | * io.c (S_io_map_segment): New function.
* .Roland McGrath1999-07-111-0/+4
|
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-2/+3
| | | | * sock.h: Add #include <sys/mman.h>.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-112-1/+5
| | | | * pf.c (S_socket_whatis_address): Use mmap instead of vm_allocate.
* .Roland McGrath1999-07-111-0/+4
|
* 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-032-1/+5
| | | | * io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
* .Roland McGrath1999-03-021-0/+5
|
* 1999-03-01 Mark Kettenis <kettenis@gnu.org>Roland McGrath1999-03-021-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 Bushnell1999-02-162-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 McGrath1998-10-202-17/+23
|
* .Roland McGrath1998-07-201-7/+11
|
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-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 Bushnell1997-08-203-5/+10
| | | | | | * pflocal.c (main): New args for ports_manage_port_operations_multithread. * sserver.c (handle_sock_requests): Likewise.
* .Miles Bader1996-10-071-0/+4
|
* (connq_listen):Miles Bader1996-10-071-2/+5
| | | | Unlock CQ->lock when returning EWOULDBLOCK.
* *** empty log message ***Thomas Bushnell1996-09-172-2/+6
|
* (sock_create): Remove NEXT_SOCK_ID.Miles Bader1996-07-231-1/+0
|
* .Miles Bader1996-07-231-0/+4
|
* Initial revisionRoland McGrath1996-07-171-0/+244
|
* (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.
* (sock_create): Initialize ID field to MACH_PORT_NULL.Miles Bader1996-07-011-1/+1
|
* (LCLHDRS): Add sserver.h.Michael I. Bushnell1996-06-271-1/+1
|
* (pflocal): Depend on ../libfshelp/libfshelp.a.Miles Bader1996-06-201-1/+1
|
* (sock_free): Destroy SOCK's id port if necessary.Miles Bader1996-05-161-1/+3
|
* (struct sock): Make the id field a receive right, not an int.Miles Bader1996-05-141-3/+4
|
* (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
|
* (MIGSFLAGS): Look for mig-mutate.h in $(srcdir).Michael I. Bushnell1996-04-151-2/+2
|
* (S_socket_recv):Miles Bader1996-01-271-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 Bader1996-01-271-15/+16
| | | | Use ports_create_port instead of ports_allocate_port.
* (trivfs_goaway): Handle errors from ports_inhibit_bucket_rpcs.Miles Bader1996-01-271-16/+12
| | | | (thread_cancel): Function deleted.
* (S_socket_connect): Handle connectionless protocols correctly.Miles Bader1996-01-241-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 Bader1996-01-241-10/+11
|
* Remove debugging noise.Miles Bader1996-01-191-2/+0
|