From a6888a2b3a918920fe27133308c820e78dcecf16 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 2 Aug 2000 20:19:45 +0000 Subject: Add `magic' protocols to specify the file type of a sockets. This allows implementation of POSIX pipes by using a S_IFSOCK protocol. * sock.h: Include . (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. --- pflocal/ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pflocal/ChangeLog') diff --git a/pflocal/ChangeLog b/pflocal/ChangeLog index 92f51914..a8b48a63 100644 --- a/pflocal/ChangeLog +++ b/pflocal/ChangeLog @@ -1,3 +1,17 @@ +2000-08-02 Mark Kettenis + + Add `magic' protocols to specify the file type of a sockets. This + allows implementation of POSIX pipes by using a S_IFSOCK protocol. + * sock.h: Include . + (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 Mark Kettenis * Makefile (HURDLIBS): Reorder libs such that the threads lib -- cgit v1.2.3