Re: [PATCH] Fix sigaltstack corruption among cloned threads

From: Ulrich Drepper
Date: Mon Mar 13 2006 - 11:26:37 EST


On 3/13/06, Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
> Because vfork also sets CLONE_VM and vfork isn't supposed to reset
> alternate stack setting.

I'd say this is rather an oversight than a real requirement (we fixed
quite a few such problems in the POSIX spec of vfork) but it should be
as safe as any other solution. So, I'm OK with the extended CLONE_VM
test.
-
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/