Bug 10528

Summary: SOCK_CLOEXEC and SOCK_NONBLOCK does not match the kernel value
Product: glibc Reporter: Aurelien Jarno <aurelien>
Component: portsAssignee: Roland McGrath <roland>
Status: RESOLVED FIXED    
Severity: normal CC: fweimer, glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: alpha-unknown-linux-gnu Target: alpha-unknown-linux-gnu
Build: alpha-unknown-linux-gnu Last reconfirmed:
Attachments: Patch to fix the problem
New patch

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.