files: close_old_fds before forking children (v2)
A few processes can share one fd table. Each process has own set of service file descriptors and a process knows nothing about servic fds of another processes. So if two process share one fd table, close_old_fds will close servic descriptors of another process. Signed-off-by:Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment