[Bug libc/19144] daemon() fails to prevent reacquisition of controlling terminal

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Mon Oct 19 08:36:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=19144

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
How risky is adding the second fork?  Would it otherwise change behavior?

By the way, the manual daemon(3) manual page talks about the “calling process's
current working directory”.  I think this is misleading because the function
exits the calling process before changing the current directory.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list