Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 26 Dec 2012 16:56:29 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Status of musl and RPC libraries

On Mon, Dec 24, 2012 at 12:05:22PM -0800, Isaac Dunham wrote:
> [4] -Porting Android librpc.
> 
> Approach number 4 was the quickest, so if you're curious, see 
> https://github.com/idunham/libdrpc

I suspect this is the only sane approach. Most RPC code is full of
hideous legacy mess, so Android is probably the only one unlikely to
be encumbered by that..

> While I was porting this, I ran across one minor issue:
> Linux poll(2) supports POLLRDHUP (0x2000), which _GNU_SOURCE makes
> available in <poll.h> on glibc. This will detect when the streeam
> socket peer has closed the connection. I'm not aware of a POSIX
> equivalent to this.
> Any chance of this getting added to poll.h (with proper feature tests)?

It doesn't need to be protected. POLL* is in the reserved namespace
for poll.h. I have added it in git.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.