Kostik Belousov <kostikbel_at_gmail.com> writes: > Why ? We definitely leak file descriptor on exec(2) unless daemon > explicitely closes it after fork. I said that it is unobvious is it > right to enforce FD_CLOEXEC unconditionally, because some daemons > exec() itself to reinitialize. Sorry, you're right, FD_CLOEXEC does not affect fork(2). Anyway - I'm writing regression tests for pidfile(3). Please don't commit anything until they're done. DES -- Dag-Erling Smørgrav - des_at_des.noReceived on Mon Oct 19 2009 - 09:48:57 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:57 UTC