Messages in this thread | | | Date | Sun, 20 Aug 2006 12:47:51 -0700 (PDT) | Subject | Re: [PATCH] getsockopt() early argument sanity checking | From | David Miller <> |
| |
From: Arjan van de Ven <arjan@infradead.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |