xref: /freebsd/lib/libc/posix1e/acl_delete_entry.3 (revision 32eef9aeb1f39a1623cea55da147c89abbd5b9a5)
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
4214721edaSChris D. Faulhaber.Fn acl_delete_entry
4314721edaSChris D. Faulhaberis a POSIX.1e call that removes the ACL entry
44bc057d3dSRuslan Ermilov.Fa entry_d
4514721edaSChris D. Faulhaberfrom ACL
46bc057d3dSRuslan Ermilov.Fa acl .
4714721edaSChris D. Faulhaber.Sh RETURN VALUES
48bc057d3dSRuslan Ermilov.Rv -std acl_delete_entry
4914721edaSChris D. Faulhaber.Sh ERRORS
50bc057d3dSRuslan ErmilovThe
5114721edaSChris D. Faulhaber.Fn acl_delete_entry
52bc057d3dSRuslan Ermilovfunction fails if:
5314721edaSChris D. Faulhaber.Bl -tag -width Er
5414721edaSChris D. Faulhaber.It Bq Er EINVAL
5514721edaSChris D. FaulhaberArgument
56bc057d3dSRuslan Ermilov.Fa acl
5714721edaSChris D. Faulhaberdoes not point to a valid ACL.  Argument
58bc057d3dSRuslan Ermilov.Fa entry_d
5914721edaSChris D. Faulhaberis not a valid descriptor for an ACL entry in
60bc057d3dSRuslan Ermilov.Fa acl .
6114721edaSChris D. Faulhaber.El
6214721edaSChris D. Faulhaber.Sh SEE ALSO
6314721edaSChris D. Faulhaber.Xr acl 3 ,
6414721edaSChris D. Faulhaber.Xr acl_copy_entry 3 ,
6514721edaSChris D. Faulhaber.Xr acl_get_entry 3 ,
6614721edaSChris D. Faulhaber.Xr posix1e 3
6714721edaSChris D. Faulhaber.Sh STANDARDS
6814721edaSChris D. FaulhaberPOSIX.1e is described in IEEE POSIX.1e draft 17.
6914721edaSChris D. Faulhaber.Sh HISTORY
7014721edaSChris D. FaulhaberPOSIX.1e support was introduced in
7114721edaSChris D. Faulhaber.Fx 4.0 .
7214721edaSChris D. FaulhaberThe
7314721edaSChris D. Faulhaber.Fn acl_delete_entry
7414721edaSChris D. Faulhaberfunction was added in
7514721edaSChris D. Faulhaber.Fx 5.0 .
7614721edaSChris D. Faulhaber.Sh AUTHORS
7714721edaSChris D. FaulhaberThe
7814721edaSChris D. Faulhaber.Fn acl_delete_entry
7914721edaSChris D. Faulhaberfunction was written by
8014721edaSChris D. Faulhaber.An Chris D. Faulhaber Aq jedgar@fxp.org .
81