Module Name: src Committed By: christos Date: Fri Jun 9 17:36:30 UTC 2017
Modified Files: src/external/bsd/cron/bin/cron: Makefile src/external/bsd/cron/bin/crontab: Makefile src/external/bsd/cron/dist: Makefile config.h cron.c crontab.c database.c do_command.c funcs.h misc.c popen.c Added Files: src/external/bsd/cron/dist: closeall.c pam_auth.c Log Message: Apply selected patches from OpenWall: http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/vixie-cron/ 1. Add PAM support. 2. Sanitize children process reaping 3. futimens when we have an fd 4. close_all for crontab(8) 5. use a table for spool dirs instead of duplicating code. 6. handle errors from process_exit() 7. Add ENABLE_FIX_DIRECTORIES ifdef and enable it by default for compat 8. Avoid using fd's < STDERR Not applied: 1. no xfork (no setresuid) 2. did not do the lstat before open. 3. did not enable cron group To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/cron/bin/cron/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/bin/crontab/Makefile cvs rdiff -u -r1.2 -r1.3 src/external/bsd/cron/dist/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/cron/dist/closeall.c \ src/external/bsd/cron/dist/pam_auth.c cvs rdiff -u -r1.4 -r1.5 src/external/bsd/cron/dist/config.h \ src/external/bsd/cron/dist/popen.c cvs rdiff -u -r1.9 -r1.10 src/external/bsd/cron/dist/cron.c cvs rdiff -u -r1.13 -r1.14 src/external/bsd/cron/dist/crontab.c cvs rdiff -u -r1.8 -r1.9 src/external/bsd/cron/dist/database.c cvs rdiff -u -r1.7 -r1.8 src/external/bsd/cron/dist/do_command.c cvs rdiff -u -r1.3 -r1.4 src/external/bsd/cron/dist/funcs.h \ src/external/bsd/cron/dist/misc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.