Re: Hmm.. "notify_parent()".

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Aug 28 2000 - 19:29:21 EST


On Mon, 28 Aug 2000, Alexander Viro wrote:
> Umm...
> a) WTF do we export it?

I suspect the iBCS2 module used to use it.

> b) we are using the same thing in do_signal() on all architectures.

Yes, this could be cleaned up.

> c) generating ELF coredumps and exec.c::must_not_trace_exec() are
> vulnerable too.

Basically anything that uses p_pptr, I think. Which is not that much.

> d) Where do we initialize ->p_pptr if test in the beginning of
> do_fork() fails?

Look at the line that says "*p = *current", and grok it.

Anyway, what I really wanted to know was whether I was overlooking
something or not. You seem to agree that it looks like a real bug.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:22 EST