Re: [patch 2/5] signalfd v2 - signalfd core ...

From: Linus Torvalds
Date: Thu Mar 08 2007 - 17:11:52 EST




On Fri, 9 Mar 2007, Oleg Nesterov wrote:
>
> Also. A malicious user can eat all memory, signalfd_deliver()->kmem_cache_alloc()
> doesn't check any limits.

This, btw, is one reason I *really* think signalfd() should just use the
same old signal queue, and not try to make its own.

Signal queueing and unqueuing simply isn't that simple.

Linus
-
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/