Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 6 May 2013 07:55:15 +0400
From: Solar Designer <>
Subject: Re: Core bug: -fork vs. timer.

On Fri, May 03, 2013 at 01:46:27PM +0200, magnum wrote:
> With OS_TIMER=1, forked processes' save timer does not work. Childrens' session files are not saved until (hopefully) at exit. Moving sig_init() to after john_fork() fixes it, but I'm not sure of other consequences.

This is now fixed with "Reinitialize setitimer() after fork()".

Curiously, setitimer() is inherited over execve(), but not over fork().


Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ