Received: by mail.netbsd.org (Postfix, from userid 605) id 7486484DEE; Fri, 9 Jun 2017 17:36:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0144F84DCA for ; Fri, 9 Jun 2017 17:36:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id WqHFHUPSDqae for ; Fri, 9 Jun 2017 17:36:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 575F484DC1 for ; Fri, 9 Jun 2017 17:36:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 498BBFB81; Fri, 9 Jun 2017 17:36:30 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 9 Jun 2017 13:36:30 -0400 From: "Christos Zoulas" Subject: CVS commit: src/external/bsd/cron To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170609173630.498BBFB81@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: 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.