xref: /freebsd/lib/libc/posix1e/acl_delete_entry.3 (revision 1a0a934547909744a6a2fa4cfd5b795ec6394f05)
114721edaSChris D. Faulhaber.\"-
214721edaSChris D. Faulhaber.\" Copyright (c) 2001 Chris D. Faulhaber
314721edaSChris D. Faulhaber.\" All rights reserved.
414721edaSChris D. Faulhaber.\"
514721edaSChris D. Faulhaber.\" Redistribution and use in source and binary forms, with or without
614721edaSChris D. Faulhaber.\" modification, are permitted provided that the following conditions
714721edaSChris D. Faulhaber.\" are met:
814721edaSChris D. Faulhaber.\" 1. Redistributions of source code must retain the above copyright
914721edaSChris D. Faulhaber.\"    notice, this list of conditions and the following disclaimer.
1014721edaSChris D. Faulhaber.\" 2. Redistributions in binary form must reproduce the above copyright
1114721edaSChris D. Faulhaber.\"    notice, this list of conditions and the following disclaimer in the
1214721edaSChris D. Faulhaber.\"    documentation and/or other materials provided with the distribution.
1314721edaSChris D. Faulhaber.\"
1414721edaSChris D. Faulhaber.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1514721edaSChris D. Faulhaber.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1614721edaSChris D. Faulhaber.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1714721edaSChris D. Faulhaber.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR THE VOICES IN HIS HEAD BE
1814721edaSChris D. Faulhaber.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1914721edaSChris D. Faulhaber.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2014721edaSChris D. Faulhaber.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2114721edaSChris D. Faulhaber.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2214721edaSChris D. Faulhaber.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2314721edaSChris D. Faulhaber.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2414721edaSChris D. Faulhaber.\" POSSIBILITY OF SUCH DAMAGE.
2514721edaSChris D. Faulhaber.\"
2614721edaSChris D. Faulhaber.\" $FreeBSD$
2714721edaSChris D. Faulhaber.\"
2814721edaSChris D. Faulhaber.Dd March 10, 2001
2914721edaSChris D. Faulhaber.Dt ACL_DELETE_ENTRY 3
3014721edaSChris D. Faulhaber.Os
3114721edaSChris D. Faulhaber.Sh NAME
3214721edaSChris D. Faulhaber.Nm acl_delete_entry
33bc057d3dSRuslan Ermilov.Nd delete an ACL entry from an ACL
3414721edaSChris D. Faulhaber.Sh LIBRARY
3531acc836SRuslan Ermilov.Lb libc
3614721edaSChris D. Faulhaber.Sh SYNOPSIS
3732eef9aeSRuslan Ermilov.In sys/types.h
3832eef9aeSRuslan Ermilov.In sys/acl.h
3914721edaSChris D. Faulhaber.Ft int
4014721edaSChris D. Faulhaber.Fn acl_delete_entry "acl_t acl" "acl_entry_t entry_d"
4114721edaSChris D. Faulhaber.Sh DESCRIPTION
421fae73b1SRuslan ErmilovThe
4314721edaSChris D. Faulhaber.Fn acl_delete_entry
441fae73b1SRuslan Ermilovfunction
4514721edaSChris D. Faulhaberis a POSIX.1e call that removes the ACL entry
46bc057d3dSRuslan Ermilov.Fa entry_d
4714721edaSChris D. Faulhaberfrom ACL
48bc057d3dSRuslan Ermilov.Fa acl .
4914721edaSChris D. Faulhaber.Sh RETURN VALUES
50bc057d3dSRuslan Ermilov.Rv -std acl_delete_entry
5114721edaSChris D. Faulhaber.Sh ERRORS
52bc057d3dSRuslan ErmilovThe
5314721edaSChris D. Faulhaber.Fn acl_delete_entry
54bc057d3dSRuslan Ermilovfunction fails if:
5514721edaSChris D. Faulhaber.Bl -tag -width Er
5614721edaSChris D. Faulhaber.It Bq Er EINVAL
5714721edaSChris D. FaulhaberArgument
58bc057d3dSRuslan Ermilov.Fa acl
591a0a9345SRuslan Ermilovdoes not point to a valid ACL.
601a0a9345SRuslan ErmilovArgument
61bc057d3dSRuslan Ermilov.Fa entry_d
6214721edaSChris D. Faulhaberis not a valid descriptor for an ACL entry in
63bc057d3dSRuslan Ermilov.Fa acl .
6414721edaSChris D. Faulhaber.El
6514721edaSChris D. Faulhaber.Sh SEE ALSO
6614721edaSChris D. Faulhaber.Xr acl 3 ,
6714721edaSChris D. Faulhaber.Xr acl_copy_entry 3 ,
6814721edaSChris D. Faulhaber.Xr acl_get_entry 3 ,
6914721edaSChris D. Faulhaber.Xr posix1e 3
7014721edaSChris D. Faulhaber.Sh STANDARDS
7114721edaSChris D. FaulhaberPOSIX.1e is described in IEEE POSIX.1e draft 17.
7214721edaSChris D. Faulhaber.Sh HISTORY
7314721edaSChris D. FaulhaberPOSIX.1e support was introduced in
7414721edaSChris D. Faulhaber.Fx 4.0 .
7514721edaSChris D. FaulhaberThe
7614721edaSChris D. Faulhaber.Fn acl_delete_entry
7714721edaSChris D. Faulhaberfunction was added in
7814721edaSChris D. Faulhaber.Fx 5.0 .
7914721edaSChris D. Faulhaber.Sh AUTHORS
8014721edaSChris D. FaulhaberThe
8114721edaSChris D. Faulhaber.Fn acl_delete_entry
8214721edaSChris D. Faulhaberfunction was written by
8314721edaSChris D. Faulhaber.An Chris D. Faulhaber Aq jedgar@fxp.org .
84