Re: broken daemonize (COW credentials?)

From: David Howells
Date: Thu Jan 08 2009 - 06:15:57 EST


Jiri Slaby <jirislaby@xxxxxxxxx> wrote:

> I'm observing daemonize crashes with this code:

I'm not seeing daemonize() crash, but I can see how it might - depending on
the changes to the creds made by daemonize(). commit_creds() should only call
set_dumpable() if task->mm is not NULL.

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