Bug 10528 - SOCK_CLOEXEC and SOCK_NONBLOCK does not match the kernel value
SOCK_CLOEXEC and SOCK_NONBLOCK does not match the kernel value
Status: RESOLVED FIXED
Product: glibc
Classification: Unclassified
Component: ports
unspecified
: P2 normal
: ---
Assigned To: Roland McGrath
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-16 13:27 UTC by Aurelien Jarno
Modified: 2010-03-23 15:24 UTC (History)
1 user (show)

See Also:
Host: alpha-unknown-linux-gnu
Target: alpha-unknown-linux-gnu
Build: alpha-unknown-linux-gnu
Last reconfirmed:


Attachments
Patch to fix the problem (13.95 KB, patch)
2009-08-16 13:28 UTC, Aurelien Jarno
Details | Diff
New patch (13.98 KB, patch)
2010-02-13 10:08 UTC, Aurelien Jarno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Jarno 2009-08-16 13:27:54 UTC
SOCK_NONBLOCK on alpha does not match the kernel value as the default value is 
not used on this architecture. It needs its own version of bits/socket.h.

Patch will follow.
Comment 1 Aurelien Jarno 2009-08-16 13:28:31 UTC
Created attachment 4138 [details]
Patch to fix the problem
Comment 2 Aurelien Jarno 2010-02-13 10:07:52 UTC
SOCK_CLOEXEC is also affected, new patch will follow
Comment 3 Aurelien Jarno 2010-02-13 10:08:58 UTC
Created attachment 4595 [details]
New patch
Comment 4 Joseph Myers 2010-03-23 15:24:08 UTC
I have applied a patch for this issue as discussed on libc-ports.