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:
Andrew Morton <akpm@...>
To: Ulrich Drepper <drepper@...>
Cc: <linux-kernel@...>, <netdev@...>, <davidel@...>, <mtk.manpages@...>, <torvalds@...>
Subject:
Re: [PATCH 18/18] flag parameters: check magic constants
Date: Monday, May 12, 2008 - 11:13 pm
On Tue, 6 May 2008 17:18:07 -0400 Ulrich Drepper <drepper@redhat.com> wrote:
quoted text
> --- 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. --
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
:
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Linus Torvalds
Linux 2.6.25-rc4
Jon Smirl
Re: 463 kernel developers missing!
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
Re: HTB accuracy for high speed
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
681 guests
online.
Online users
strcmp
cekkmay
alanmaguire
cordic
ole6086
Syndicate