From dwmalone@maths.tcd.ie  Fri Jan 15 12:20:04 1999
Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA05585
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jan 1999 12:20:00 -0800 (PST)
          (envelope-from dwmalone@maths.tcd.ie)
Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP
          id <aa22824@salmon.maths.tcd.ie>; 15 Jan 99 20:19:57 +0000 (GMT)
Message-Id: <9901152019.aa15467@walton.maths.tcd.ie>
Date: Fri, 15 Jan 99 20:19:57 +0000 (GMT)
From: dwmalone@maths.tcd.ie
Sender: dwmalone@maths.tcd.ie
Reply-To: dwmalone@maths.tcd.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: -CURRENT revoke(2) man page says you can only revoke devices.
X-Send-Pr-Version: 3.2

>Number:         9517
>Category:       docs
>Synopsis:       -CURRENT revoke(2) man page says you can only revoke devices.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 15 12:30:00 PST 1999
>Closed-Date:    Sun Jan 17 18:38:21 PST 1999
>Last-Modified:  Sun Jan 17 18:38:51 PST 1999
>Originator:     David Malone
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
School of Mathematics, Trinity College, Dublin.
>Environment:

	3.0-CURRENT as of just before Christmas.

>Description:

man revoke says:

     Access to a file may be revoked only by its owner or the super user.  The
     revoke() function is currently supported only for block and character
     special device files.  It is normally used to prepare a terminal device
     for a new login session, preventing any access by a previous user of the
     terminal.

However, someone implimented VOP_REVOKE a while ago (looking at
sys/kern/vnode_if.src 1.14 "VFS Mega Commit" mentions this), and
it now seems to work fine on executables, directories, NFS files
and the like.

>How-To-Repeat:



>Fix:
	
It could probably not mention this restriction any more.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Sun Jan 17 18:38:21 PST 1999 
State-Changed-Why:  
Fixed in rev 1.4 of "src/lib/libc/sys/revoke.2", thanks! 
>Unformatted:
