CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/08/25 14:09:27
Modified files:
usr.sbin/cron : atrun.c cron.c funcs.h
Log message:
Use ppoll(2) instead of poll(2). This has two benefits. Firstly,
we can use struct timespec throughout and avoid any conversion
issues which might cause jobs to fire prematurely. Secondly, it
eliminates a race condition that could delay us taking action on
SIGCHLD and SIGHUP. OK deraadt@ okan@ ratchov@
