On 3/4/2019 10:11 AM, Josh Fisher wrote:
... The fix should be either compiling Bacula with the correct headers or else file a bug report with Zyxel.
Or to use plain accept() and call fcntl() with CLOEXEC. As I understand it, there can be a race condition if you fire off your pre-(post-?)job script from a separate thread, that's the only difference between that and accept4().
Whatever problem is being avoided by using accept4() on linux 2.6.32+, is presumably still alive and well on every other supported platform?
Dima _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users