On Mon, Oct 23 2017, "Todd C. Miller" <todd.mil...@courtesan.com> wrote: > On Mon, 23 Oct 2017 17:27:15 +0200, Jeremie Courreges-Anglas wrote: > >> Here it is. Liberal use of O_CLOEXEC except for poke_daemon() which is >> more obvious (but I can add it there too if you prefer). cronSock >> already uses SOCK_CLOEXEC. > > You can't set O_CLOEXEC for the fd in atrun.c as that will become > the executed command's stdin. The others are OK millert@
Gaah, yes indeed. I should have used my existing diff instead of re-doing it from scratch. I'll check everything again before committing, thanks. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE