Deleted Added
full compact
revoke.2 (108028) revoke.2 (108087)
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Berkeley Software Design, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 19 unchanged lines hidden (view full) ---

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)revoke.2 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Berkeley Software Design, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 19 unchanged lines hidden (view full) ---

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)revoke.2 8.1 (Berkeley) 6/4/93
36.\" $FreeBSD: head/lib/libc/sys/revoke.2 108028 2002-12-18 09:22:32Z ru $
36.\" $FreeBSD: head/lib/libc/sys/revoke.2 108087 2002-12-19 09:40:28Z ru $
37.\"
38.Dd June 4, 1993
39.Dt REVOKE 2
40.Os
41.Sh NAME
42.Nm revoke
43.Nd revoke file access
44.Sh LIBRARY

--- 39 unchanged lines hidden (view full) ---

84or an entire path name exceeded 1024 characters.
85.It Bq Er ENOENT
86The named file or a component of the path name does not exist.
87.It Bq Er EACCES
88Search permission is denied for a component of the path prefix.
89.It Bq Er ELOOP
90Too many symbolic links were encountered in translating the pathname.
91.It Bq Er EFAULT
37.\"
38.Dd June 4, 1993
39.Dt REVOKE 2
40.Os
41.Sh NAME
42.Nm revoke
43.Nd revoke file access
44.Sh LIBRARY

--- 39 unchanged lines hidden (view full) ---

84or an entire path name exceeded 1024 characters.
85.It Bq Er ENOENT
86The named file or a component of the path name does not exist.
87.It Bq Er EACCES
88Search permission is denied for a component of the path prefix.
89.It Bq Er ELOOP
90Too many symbolic links were encountered in translating the pathname.
91.It Bq Er EFAULT
92.Fa Path
92The
93.Fa path
94argument
93points outside the process's allocated address space.
94.It Bq Er EINVAL
95The implementation does not support the
96.Fn revoke
97operation on the named file.
98.It Bq Er EPERM
99The caller is neither the owner of the file nor the super user.
100.El
101.Sh SEE ALSO
102.Xr close 2
103.Sh HISTORY
104The
105.Fn revoke
106system call first appeared in
107.Bx 4.3 Reno .
95points outside the process's allocated address space.
96.It Bq Er EINVAL
97The implementation does not support the
98.Fn revoke
99operation on the named file.
100.It Bq Er EPERM
101The caller is neither the owner of the file nor the super user.
102.El
103.Sh SEE ALSO
104.Xr close 2
105.Sh HISTORY
106The
107.Fn revoke
108system call first appeared in
109.Bx 4.3 Reno .