Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 12:30:26 +0100
From:      Mel Flynn <>
Cc:        Ian Rose <>
Subject:   Re: most signals not being delivered to processes
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thursday 26 March 2009 21:50:36 Ian Rose wrote:

> However, hopefully the problem has gone away.  Another member of our
> team thinks that somehow the issue is related to some system services
> (sshd and dhcpd) failing to completely detach from their controlling
> terminal due to a setuid wrapper he set up, and thus they "are left
> holding on to some old bad controlling terminal even though they
> daemonize themselves".

As a hint to your team member, daemon(8) program allows one to switch user 
before daemonizing and detaches properly when asked to. If he wishes to 
implement this in C himself, visit the setusercontext(3) manpage, which does 
the setuid() and login class limits automagically.

Want to link to this message? Use this URL: <>