[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060820.124751.104041574.davem@davemloft.net>
Date: Sun, 20 Aug 2006 12:47:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arjan@...radead.org
Cc: solar@...nwall.com, ak@...e.de, wtarreau@...a.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] getsockopt() early argument sanity checking
From: Arjan van de Ven <arjan@...radead.org>
Date: Sun, 20 Aug 2006 18:30:51 +0200
> this reasoning goes out the window with kernel preemption of course ;)
Yes and even though this thing is for 2.4.x, it just shows
that this is a hack and we shouldn't eat two userspace
accesses for a hack.
Instead fix the setsockopt() implementations that aren't
checking the optlen parameter correctly.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists