Re: [PATCH] flag parameters: arch-specific SOCK_NONBLOCK

From: Kyle McMartin
Date: Thu May 15 2008 - 10:58:36 EST


On Tue, May 13, 2008 at 12:31:50AM -0400, Ulrich Drepper wrote:
> The value of O_NONBLOCK clashes on Alpha dn PARISC with the bits used
> for socket types. Therefore we cannot define SOCK_NONBLOCK as
> O_NONBLOCK on these platforms. This patch adds support for an
> arch-specific SOCK_NONBLOCK value which doesn't add costs for
> other architectures.
>
> include/asm-alpha/socket.h | 5 +++++
> include/asm-parisc/socket.h | 5 +++++
> include/linux/net.h | 2 ++
> net/socket.c | 9 +++++++++
> 4 files changed, 21 insertions(+)
>
>
> Signed-off-by: Ulrich Drepper <drepper@xxxxxxxxxx>
>

This looks fine to me. Thanks, Ulrich!

Acked-by: Kyle McMartin <kyle@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/