Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-03 Thread Michael Deutschmann
On Tue, 1 Jun 2010, Vladimir Zapolskiy wrote: + SOCK_CLOEXEC = 0200, /* Atomically set close-on-exec flag for the + SOCK_NONBLOCK = 04000 /* Atomically mark descriptor(s) as That is not correct in general. The values vary between architectures. Michael Deutschmann

Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Natanael Copa
On Tue, Jun 1, 2010 at 4:02 PM, Vladimir Zapolskiy vzapols...@gmail.com wrote: This patch adds support for SOCK_CLOEXEC and SOCK_NONBLOCK socket descriptor flags, which are introduced since Linux 2.6.27 Nice! I was looking at this the other day but never had time to finish it. Did you get

Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Vladimir Zapolskiy
Hi, Nice! I was looking at this the other day but never had time to finish it. Did you get (recent) udev working with those patches? yes, I've tried to compile last versions of udev, and with this set of patches I have a working udev-151 for armv4t. With best wishes, Vladimir

Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Khem Raj
On (01/06/10 20:02), Vladimir Zapolskiy wrote: This patch adds support for SOCK_CLOEXEC and SOCK_NONBLOCK socket descriptor flags, which are introduced since Linux 2.6.27 Thanks applied. Signed-off-by: Vladimir Zapolskiy vzapols...@gmail.com --- libc/sysdeps/linux/common/bits/socket.h |