Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 20:15:19 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200101230415.f0N4FJf49351@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2001/01/22 20:15:19 PST

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  o The move to using VADMIN under vaccess() resulted in some system
    calls returning EACCES instead of EPERM.  This patch modifies vaccess()
    to return EPERM instead of EACCES if VADMIN is among the requested
    rights.  This affects functions normally limited to the owners of
    a file, such as chmod(), as EPERM is the error indicating that
    privilege would allow the operation, rather than a chance in mandatory
    or discretionary rights.
  
  Reported by:	bde
  
  Revision  Changes    Path
  1.299     +2 -2      src/sys/kern/vfs_subr.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?200101230415.f0N4FJf49351>