Re: core dumps when uid has been changed since exec

Alexander Kjeldaas (astor@guardian.no)
Tue, 4 Aug 1998 17:43:48 +0200


On Tue, Aug 04, 1998 at 05:06:23PM +1200, Chris Wedgwood wrote:
> Can anyone point me at the code which checks and then refuses to dump
> core when the uid has changed since the last time execve was called?
>
> I had a look for this, but can't find it anywhere. It doesn't look
> like its in the binary modules (where it doesn't belong) and the only
> other candidate I can find in arch/blah/kernel/signal.c but doesn't
> appear to be there either.
>

Check kernel/sys.c in the set*id functions.

astor

-- 
 Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
 http://www.guardian.no/

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