summaryrefslogtreecommitdiff
path: root/pflocal
AgeCommit message (Collapse)Author
2002-06-11.Roland McGrath
2002-06-112002-06-08 Roland McGrath <roland@frob.com>Roland McGrath
* io.c (S_io_identity): Use ino_t for FILENO.
2002-05-08.Roland McGrath
2002-05-082002-05-08 Roland McGrath <roland@frob.com>Roland McGrath
* io.c (S_io_reauthenticate): unsigned -> size_t (S_io_restrict_auth): Likewise.
2002-04-24Beautify last change.Marcus Brinkmann
2002-04-242002-04-24 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* 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.
2001-12-22.Roland McGrath
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* connq.c (connq_compress): #if 0 out unused function.
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-04-01.Roland McGrath
2001-04-012001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* sock.c: Include "connq.h" for connq_destroy decl.
2001-02-202001-02-20 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* connq.c: Include <assert.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>.
2001-02-122001-02-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* connq.c (connq_destroy): New function. * connq.h: Prototype connq_destroy. * sock.c (sock_free): Call connq_destroy when listen or connect queue exist.
2000-08-09* pf.c (S_socket_create): Only accept S_IFCHR, S_IFSOCK andMark Kettenis
S_IFIFO as `magic' protocols.
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.
2000-07-26* Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis
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.
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-11.Roland McGrath
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sock.h: Add #include <sys/mman.h>.
1999-07-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* pf.c (S_socket_whatis_address): Use mmap instead of vm_allocate.
1999-07-11.Roland McGrath
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-03-02.Roland McGrath
1999-03-021999-03-01 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* pf.c (S_socket_whatis_address): Implement. Since we cannot tell what our adress is, return an empty string as the file name.
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
1998-07-20.Roland McGrath
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* pflocal.c (main): Fix return type to int, and use return.
1997-08-20Wed Aug 20 14:06:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* pflocal.c (main): New args for ports_manage_port_operations_multithread. * sserver.c (handle_sock_requests): Likewise.
1996-10-07.Miles Bader
1996-10-07(connq_listen):Miles Bader
Unlock CQ->lock when returning EWOULDBLOCK.
1996-09-17*** empty log message ***Thomas Bushnell
1996-07-23(sock_create): Remove NEXT_SOCK_ID.Miles Bader
1996-07-23.Miles Bader
1996-07-17Initial revisionRoland 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-07-01(sock_create): Initialize ID field to MACH_PORT_NULL.Miles Bader
1996-06-27(LCLHDRS): Add sserver.h.Michael I. Bushnell
1996-06-20(pflocal): Depend on ../libfshelp/libfshelp.a.Miles Bader
1996-05-16(sock_free): Destroy SOCK's id port if necessary.Miles Bader
1996-05-14(struct sock): Make the id field a receive right, not an int.Miles Bader
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-04-15(MIGSFLAGS): Look for mig-mutate.h in $(srcdir).Michael I. Bushnell
1996-01-27(S_socket_recv):Miles Bader
Test for MSG_OOB in IN_FLAGS, not FLAGS. Return EINVAL if we get MSG_OOB, not EOPNOTSUPP.
1996-01-27(sock_create_port, addr_create):Miles Bader
Use ports_create_port instead of ports_allocate_port.