Age | Commit message (Collapse) | Author |
|
|
|
|
|
* 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.
|
|
|
|
|
|
* connq.c: Include <assert.h>. Reported by Arkadi E. Shishlov
<arkadi@it.lv>.
|
|
* connq.c (connq_destroy): New function.
* connq.h: Prototype connq_destroy.
* sock.c (sock_free): Call connq_destroy when listen or connect
queue exist.
|
|
S_IFIFO as `magic' protocols.
|
|
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.
|
|
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.
|
|
|
|
* io.c (S_io_map_segment): New function.
|
|
|
|
* pf.c (S_socket_whatis_address): Use mmap instead of vm_allocate.
|
|
|
|
* io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
|
|
|
|
* io.c (S_io_revoke): New function. Don't attempt to implement.
(Other systems don't even permit non-file revokes.)
|
|
|
|
|
|
* pflocal.c (main): New args for
ports_manage_port_operations_multithread.
* sserver.c (handle_sock_requests): Likewise.
|
|
|
|
|
|
|
|
|