<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/pflocal, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-08-08T23:49:49Z</updated>
<entry>
<title>Support MSG_DONTWAIT in pflocal send/recv</title>
<updated>2016-08-08T23:49:49Z</updated>
<author>
<name>Christian Seiler</name>
<email>christian@iwakd.de</email>
</author>
<published>2016-08-08T23:49:49Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=c8c973750b949f8c4fcac020c61a3b99e5d5c3a2'/>
<id>urn:sha1:c8c973750b949f8c4fcac020c61a3b99e5d5c3a2</id>
<content type='text'>
* pflocal/socket.c (S_socket_send): Also test for MSG_DONTWAIT in `flags'
for the `noblock' parameter of pipe_send call.
(S_socket_recv): Likewise for pipe_recv call.
</content>
</entry>
<entry>
<title>pflocal: Add support for access() on pipes</title>
<updated>2016-03-20T21:27:44Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-03-20T21:27:44Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=0da2914ac9d9321cca2d402b2c505881e436c725'/>
<id>urn:sha1:0da2914ac9d9321cca2d402b2c505881e436c725</id>
<content type='text'>
bash's '&lt;(' helper creates a pipe and gives /dev/fd/63 to the program, and
gcc would then run access() on it. So we actually need to support at least
some FS operations on pipes.

* pflocal/fs.c: New file.
* pflocal/mig-mutate.h (FILE_INTRAN, FILE_INTRAN_PAYLOAD, FILE_DESTRUCTOR,
FILE_IMPORTS): New macros.
* pflocal/sserver.c: Include "fs_S.h".
(sock_demuxer): Call fs_server_routine.
* pflocal/Makefile (SRCS): Add fs.c.
(MIGSTUBS): Add fsServer.o.
</content>
</entry>
<entry>
<title>pflocal: Do not abort on too small getopt parameter</title>
<updated>2016-01-03T03:42:04Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-01-03T03:42:04Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=4f9cbfeaf4421ccb0dd0867664f6d689794ef9f3'/>
<id>urn:sha1:4f9cbfeaf4421ccb0dd0867664f6d689794ef9f3</id>
<content type='text'>
* pflocal/socket.c (S_socket_getopt): When *value_len is too small, return
EINVAL instead of aborting.
</content>
</entry>
<entry>
<title>Add dumb SO_ERROR support to pflocal</title>
<updated>2016-01-03T02:40:19Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-01-03T02:33:48Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=046b776f2eb0f5b2fb26f86e987fc8185f8a6444'/>
<id>urn:sha1:046b776f2eb0f5b2fb26f86e987fc8185f8a6444</id>
<content type='text'>
pflocal does not currently have asynchronous operations, so we can make
SO_ERROR just report 0.

* pflocal/socket.c (S_socket_getopt): For `level' SOL_SOCKET and `opt'
SO_ERROR, report 0.
</content>
</entry>
<entry>
<title>Drop OTHERLIBS and use LDLIBS exclusively</title>
<updated>2015-12-31T20:47:32Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-31T16:49:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=a70c7531ed3a6378dd527da005a1fe63fbb4871a'/>
<id>urn:sha1:a70c7531ed3a6378dd527da005a1fe63fbb4871a</id>
<content type='text'>
When cross-compiling, OTHERLIBS magically turns -lpthread into the path
to the host libpthread.so file, resulting in build issues. LDLIBS does
not suffer from this problem and it seems that is already being used in
other Makefiles. This patch removes OTHERLIBS entirely from the build
system.

* Makeconf: Remove references to OTHERLIBS
* auth/Makefile: Replace OTHERLIBS with LDLIBS.
* boot/Makefile: Likewise.
* console/Makefile: Likewise.
* exec/Makefile: Likewise.
* ext2fs/Makefile: Likewise.
* fatfs/Makefile: Likewise.
* ftpfs/Makefile: Likewise.
* hostmux/Makefile: Likewise.
* isofs/Makefile: Likewise.
* libhurd-slab/Makefile: Likewise.
* nfs/Makefile: Likewise.
* nfsd/Makefile: Likewise.
* pfinet/Makefile: Likewise.
* proc/Makefile: Likewise.
* procfs/Makefile: Likewise.
* random/Makefile: Likewise.
* storeio/Makefile: Likewise.
* term/Makefile: Likewise.
* tmpfs/Makefile: Likewise.
* usermux/Makefile: Likewise.
</content>
</entry>
<entry>
<title>pflocal: avoid building the interrupt server</title>
<updated>2015-10-29T15:39:31Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2015-10-29T15:39:31Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=3f0a9b1145c25d1f0f19fc93da3c272c5505a5ee'/>
<id>urn:sha1:3f0a9b1145c25d1f0f19fc93da3c272c5505a5ee</id>
<content type='text'>
* pflocal/io.c: Do not needlessly include `interrupt_S.h'.
</content>
</entry>
<entry>
<title>pflocal: convert to trivfs dynamic classes and buckets</title>
<updated>2015-09-27T20:09:58Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2015-09-27T15:01:37Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=50a7577b022851594fd15f8c934cd3c4a37c01b6'/>
<id>urn:sha1:50a7577b022851594fd15f8c934cd3c4a37c01b6</id>
<content type='text'>
libtrivfs contains two ways of managing more than one port class and
bucket.  There is the old way of using a statically allocated array
with explicit length, and the new way with dynamically allocated
vectors.

Converting all users to the new way of handling multiple classes
and/or buckets, we can simplify the code in libtrivfs.  In many cases,
the code will be simpler and more expressive for the user.

This also fixes a mild bug.  The classes and buckets given to
`trivfs_startup' end up in the dynamic vectors too, making the object
lookup code use the more complicated code path.

* pflocal/pflocal.c: Convert to dynamic classes and buckets.
</content>
</entry>
<entry>
<title>Turn EADDRNOTAVAIL to more commonly-understood ECONNREFUSED</title>
<updated>2015-09-12T12:09:28Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-09-12T12:08:17Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=51f60c38c8d3cae7b0d75ba51eab5af47f6b5df7'/>
<id>urn:sha1:51f60c38c8d3cae7b0d75ba51eab5af47f6b5df7</id>
<content type='text'>
Thanks Svante Signell for the investigation.

* pflocal/socket.c (S_socket_connect, S_socket_send): When addr_get_sock
returns EADDRNOTAVAIL, translate into ECONNREFUSED.
</content>
</entry>
<entry>
<title>Fix build warning</title>
<updated>2015-09-12T10:35:59Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-09-12T10:35:59Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=c6d8af579cffa9662ed1ea9e6096cccec821c6a1'/>
<id>urn:sha1:c6d8af579cffa9662ed1ea9e6096cccec821c6a1</id>
<content type='text'>
* pflocal/sock.h (sock_bind): Move declaration.
</content>
</entry>
<entry>
<title>Fix closure of local server sockets</title>
<updated>2015-09-11T00:05:06Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-09-11T00:05:06Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=df2b1fb2caed423b22f6d59d22f087100dd1b7d8'/>
<id>urn:sha1:df2b1fb2caed423b22f6d59d22f087100dd1b7d8</id>
<content type='text'>
Since bound socks always have a ref for their address, they would never get
freed.  Thanks Svante Signell for the investigation.

* pflocal/sock.h (sock_deref): When `sock' has one ref left and is bound to
an address, unbound it, and thus shut it down.
</content>
</entry>
</feed>
