diff options
Diffstat (limited to 'usr/src/man/man3sec/acl_check.3sec')
-rw-r--r-- | usr/src/man/man3sec/acl_check.3sec | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/usr/src/man/man3sec/acl_check.3sec b/usr/src/man/man3sec/acl_check.3sec index b3a383c6af..6b866b4192 100644 --- a/usr/src/man/man3sec/acl_check.3sec +++ b/usr/src/man/man3sec/acl_check.3sec @@ -3,13 +3,13 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH acl_check 3SEC "22 Apr 2008" "SunOS 5.11" "File Access Control Library Functions" +.TH ACL_CHECK 3SEC "Apr 22, 2008" .SH NAME acl_check \- check the validity of an ACL .SH SYNOPSIS .LP .nf -cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lsec\fR [ \fIlibrary\fR\&.\|.\|. ] +cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lsec\fR [ \fIlibrary\fR\&.\|.\|. ] #include <sys/acl.h> \fBint\fR \fBacl_check\fR(\fBacl_t *\fR\fIaclp\fR, \fBint\fR \fIisdir\fR); @@ -69,57 +69,47 @@ If the ACL is valid, \fBacl_check()\fR returns 0. Otherwise \fBerrno\fR is set to \fBEINVAL\fR and the return value is set to one of the following: .sp .ne 2 -.mk .na \fB\fBEACL_INHERIT_ERROR\fR\fR .ad .RS 23n -.rt There are invalid inheritance flags specified. .RE .sp .ne 2 -.mk .na \fB\fBEACL_FLAGS_ERROR\fR\fR .ad .RS 23n -.rt There are invalid flags specified on the ACL that don't map to supported flags in NFSV4/ZFS ACL model. .RE .sp .ne 2 -.mk .na \fB\fBEACL_ENTRY_ERROR\fR\fR .ad .RS 23n -.rt The ACL contains an unknown value in the type field. .RE .sp .ne 2 -.mk .na \fB\fBEACL_MEM_ERROR\fR\fR .ad .RS 23n -.rt The system cannot allocate any memory. .RE .sp .ne 2 -.mk .na \fB\fBEACL_INHERIT_NOTDIR\fR\fR .ad .RS 23n -.rt Inheritance flags are only allowed for ACLs on directories. .RE @@ -131,15 +121,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO |