Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2002 21:32:27 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/cron/lib misc.c
Message-ID:  <200208040432.g744WRQv029530@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208040432.g744WRQv029530>