login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
13
Re: [PATCH 18/18] flag parameters: check magic constants
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
David Miller <davem@...>
To: <akpm@...>
Cc: <drepper@...>, <linux-kernel@...>, <netdev@...>, <davidel@...>, <mtk.manpages@...>, <torvalds@...>
Subject:
Re: [PATCH 18/18] flag parameters: check magic constants
Date: Monday, May 12, 2008 - 11:45 pm
From: Andrew Morton <akpm@linux-foundation.org> Date: Mon, 12 May 2008 20:13:41 -0700
quoted text
> On Tue, 6 May 2008 17:18:07 -0400 Ulrich Drepper <drepper@redhat.com> wrote: > > > --- a/net/socket.c > > +++ b/net/socket.c > > @@ -1219,6 +1219,13 @@ asmlinkage long sys_socket(int family, int type, int protocol) > > struct socket *sock; > > int flags; > > > > + /* Check the SOCK_* constants for consistency. */ > > + BUILD_BUG_ON(SOCK_CLOEXEC != O_CLOEXEC); > > + BUILD_BUG_ON(SOCK_NONBLOCK != O_NONBLOCK); > > + BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); > > + BUILD_BUG_ON(SOCK_CLOEXEC & SOCK_TYPE_MASK); > > + BUILD_BUG_ON(SOCK_NONBLOCK & SOCK_TYPE_MASK); > > The fifth assertion triggers with alpha allmodconfig.
Unfortunately, MIPS and PARISC look like they will as well :-/ --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 18/18] flag parameters: check magic constants
, Ulrich Drepper
, (Tue May 6, 5:18 pm)
Re: [PATCH 18/18] flag parameters: check magic constants
, Andrew Morton
, (Fri May 23, 1:22 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Ulrich Drepper
, (Fri May 23, 10:31 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Andrew Morton
, (Mon May 12, 11:13 pm)
Re: [PATCH 18/18] flag parameters: check magic constants
, Ulrich Drepper
, (Mon May 12, 11:54 pm)
Re: [PATCH 18/18] flag parameters: check magic constants
, David Miller
, (Tue May 13, 12:02 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Andrew Morton
, (Tue May 13, 1:04 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Ulrich Drepper
, (Tue May 13, 1:10 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Andrew Morton
, (Tue May 13, 1:19 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Ulrich Drepper
, (Tue May 13, 1:42 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Andrew Morton
, (Wed May 14, 12:43 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Ulrich Drepper
, (Tue May 13, 12:21 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, David Miller
, (Tue May 13, 12:39 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, Andrew Morton
, (Tue May 13, 12:01 am)
Re: [PATCH 18/18] flag parameters: check magic constants
, David Miller
, (Mon May 12, 11:45 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Tony Lindgren
[PATCH 37/90] ARM: OMAP: MPUIO wake updates
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Benjamin Herrenschmidt
Re: powerpc allmodconfig
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
865 guests
online.
Online users
billprice73
shante88996
Syndicate