]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
alpha: Don't export SOCK_NONBLOCK to user space.
authorMichael Cree <mcree@orcon.net.nz>
Sun, 19 Aug 2012 02:40:56 +0000 (14:40 +1200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 19 Aug 2012 15:41:18 +0000 (08:41 -0700)
commita2fa3ccd7b43665fe14cb562761a6c3d26a1d13f
treed473d46a7a03e94813be2bb9405ea455070bc857
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
alpha: Don't export SOCK_NONBLOCK to user space.

Currently we export SOCK_NONBLOCK to user space but that conflicts with
the definition from glibc leading to compilation errors in user programs
(e.g.  see Debian bug #658460).

The generic socket.h restricts the definition of SOCK_NONBLOCK to the
kernel, as does the MIPS specific socket.h, so let's do the same on
Alpha.

Signed-off-by: Michael Cree <mcree@orcon.net.nz>
Acked-by: Matt Turner <mattst88@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/socket.h