From owner-cvs-all Sat Aug 3 21:32:33 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7872B37B400; Sat, 3 Aug 2002 21:32:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E16043E42; Sat, 3 Aug 2002 21:32:28 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g744WSJU029531; Sat, 3 Aug 2002 21:32:28 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g744WRQv029530; Sat, 3 Aug 2002 21:32:27 -0700 (PDT) Message-Id: <200208040432.g744WRQv029530@freefall.freebsd.org> From: "Tim J. Robbins" Date: Sat, 3 Aug 2002 21:32:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/cron/lib misc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2002/08/03 21:32:27 PDT Modified files: usr.sbin/cron/lib misc.c Log: Never allow a user to use crontab if opening /var/cron/{allow,deny} fails for any reason other than ENOENT (think resource limits). Close allow and deny files before allowed() returns to stop the user's EDITOR being able to read them. Obtained from: OpenBSD (partially) Revision Changes Path 1.11 +23 -16 src/usr.sbin/cron/lib/misc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message