summaryrefslogtreecommitdiff
path: root/usr/src/man/man3sec
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3sec')
-rw-r--r--usr/src/man/man3sec/acl_check.3sec27
-rw-r--r--usr/src/man/man3sec/acl_free.3sec17
-rw-r--r--usr/src/man/man3sec/acl_get.3sec27
-rw-r--r--usr/src/man/man3sec/acl_strip.3sec37
-rw-r--r--usr/src/man/man3sec/acl_totext.3sec145
-rw-r--r--usr/src/man/man3sec/acl_trivial.3sec21
-rw-r--r--usr/src/man/man3sec/aclcheck.3sec31
-rw-r--r--usr/src/man/man3sec/aclsort.3sec15
-rw-r--r--usr/src/man/man3sec/acltomode.3sec15
-rw-r--r--usr/src/man/man3sec/acltotext.3sec45
10 files changed, 75 insertions, 305 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
diff --git a/usr/src/man/man3sec/acl_free.3sec b/usr/src/man/man3sec/acl_free.3sec
index d1a5e8615a..b6da135a1b 100644
--- a/usr/src/man/man3sec/acl_free.3sec
+++ b/usr/src/man/man3sec/acl_free.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_free 3SEC "6 Oct 2005" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACL_FREE 3SEC "Oct 6, 2005"
.SH NAME
acl_free \- free memory associated with an acl_t structure
.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>
\fBvoid\fR \fBacl_free\fR(\fBacl_t *\fR\fIaclp\fR);
@@ -32,15 +32,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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/acl_get.3sec b/usr/src/man/man3sec/acl_get.3sec
index 0e14bef268..065a0eec5d 100644
--- a/usr/src/man/man3sec/acl_get.3sec
+++ b/usr/src/man/man3sec/acl_get.3sec
@@ -3,14 +3,14 @@
.\" 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_get 3SEC "6 Oct 2005" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACL_GET 3SEC "Oct 6, 2005"
.SH NAME
acl_get, facl_get, acl_set, facl_set \- get or set a file's Access Control List
(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_get\fR(\fBconst char *\fR\fIpath\fR, \fBint\fR \fIflag\fR, \fBacl_t **\fR\fIaclp\fR);
@@ -70,56 +70,46 @@ Otherwise, -1 is returned and \fBerrno\fR is set to indicate the error.
These functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 11n
-.rt
The caller does not have access to a component of \fIpath\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 11n
-.rt
A disk I/O error has occured while retrieving the ACL.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 11n
-.rt
A component of the \fIpath\fR does not exist.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOSYS\fR\fR
.ad
.RS 11n
-.rt
The file system does not support ACLs.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOTSUP\fR\fR
.ad
.RS 11n
-.rt
The ACL supplied could not be translated to an NFSv4 ACL.
.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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/acl_strip.3sec b/usr/src/man/man3sec/acl_strip.3sec
index 95ce33d6e7..761e22684f 100644
--- a/usr/src/man/man3sec/acl_strip.3sec
+++ b/usr/src/man/man3sec/acl_strip.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_strip 3SEC "6 Oct 2005" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACL_STRIP 3SEC "Oct 6, 2005"
.SH NAME
acl_strip \- remove all ACLs from a file
.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_strip\fR(\fBconst char *\fR\fIpath\fR, \fBuid_t\fR \fIuid\fR, \fBgid_t\fR \fIgid\fR, \fBmode_t\fR \fImode\fR);
@@ -33,68 +33,56 @@ Upon successful completion, \fBacl_strip()\fR returns 0. Otherwise it returns
The \fBacl_strip()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 16n
-.rt
Search permission is denied on a component of the path prefix of \fIpath\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEFAULT\fR\fR
.ad
.RS 16n
-.rt
The \fIpath\fR argument points to an illegal address.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 16n
-.rt
The \fIuid\fR or \fIgid\fR argument is out of range.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEIO\fR\fR
.ad
.RS 16n
-.rt
A disk I/O error has occurred while storing or retrieving the ACL.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBELOOP\fR\fR
.ad
.RS 16n
-.rt
A loop exists in symbolic links encountered during the resolution of the
\fIpath\fR argument.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENAMETOOLONG\fR\fR
.ad
.RS 16n
-.rt
The length of the \fIpath\fR argument exceeds {\fBPATH_MAX\fR}, or the
length of a path component exceeds {\fBNAME_MAX\fR} while \fB_POSIX_NO_TRUNC\fR
is in effect.
@@ -102,46 +90,38 @@ is in effect.
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 16n
-.rt
A component of \fIpath\fR does not exist.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOTDIR\fR\fR
.ad
.RS 16n
-.rt
A component of the prefix of \fIpath\fR is not a directory.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEPERM\fR\fR
.ad
.RS 16n
-.rt
The effective user ID does not match the owner of the file and the process does
not have appropriate privileges.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEROFS\fR\fR
.ad
.RS 16n
-.rt
The file system is mounted read-only.
.RE
@@ -153,15 +133,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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/acl_totext.3sec b/usr/src/man/man3sec/acl_totext.3sec
index c70cab81b0..6e55c2323c 100644
--- a/usr/src/man/man3sec/acl_totext.3sec
+++ b/usr/src/man/man3sec/acl_totext.3sec
@@ -3,7 +3,7 @@
.\" 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_totext 3SEC "16 Jun 2008" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACL_TOTEXT 3SEC "Jun 16, 2008"
.SH NAME
acl_totext, acl_fromtext \- convert internal representation to or from
external representation
@@ -35,24 +35,20 @@ Values for \fIflags\fR are constructed by a bitwise-inclusive-OR of \fIflags\fR
from the following list, defined in <\fBsys/acl.h\fR>.
.sp
.ne 2
-.mk
.na
\fB\fBACL_COMPACT_FMT\fR\fR
.ad
.RS 19n
-.rt
For NFSv4 ACLs, the ACL entries will be formatted using the compact ACL format
detailed in \fBls\fR(1) for the \fB-V\fR option.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBACL_APPEND_ID\fR\fR
.ad
.RS 19n
-.rt
Append the \fBuid\fR or \fBgid\fR for additional user or group entries. This
flag is used to construt ACL entries in a manner that is suitable for archive
utilities such as \fBtar\fR(1). When the ACL is translated from the external
@@ -64,12 +60,10 @@ be ignored when the user or group name does exist on the system.
.sp
.ne 2
-.mk
.na
\fB\fBACL_SID_FMT\fR\fR
.ad
.RS 19n
-.rt
For NFSv4 ACLs, the ACL entries for user or group entries will use the
\fBusersid\fR or \fBgroupsid\fR format when the "id" field in the ACL entry is
an ephemeral \fBuid\fR or \fBgid\fR. The raw \fBsid\fR format will only be
@@ -93,96 +87,80 @@ ACL entry contains three, four or five colon separated fields. The first field
contains the ACL entry type. The entry type keywords are defined as:
.sp
.ne 2
-.mk
.na
\fB\fBeveryone@\fR\fR
.ad
.RS 13n
-.rt
This ACL entry specifies the access granted to any user or group that does not
match any previous ACL entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgroup\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with a GID specifies the access granted to a additional group of
the object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgroup@\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with no GID specified in the ACL entry field specifies the
access granted to the owning group of the object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgroupsid\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with a SID or Windows name specifies the access granted to a
Windows group. This type of entry is for a CIFS server created file.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBowner@\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with no UID specified in the ACL entry field specifies the
access granted to the owner of the object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBsid\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with a SID or Windows name when the entry could be either a
group or a user.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBuser\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with a UID specifies the access granted to a additional user of
the object.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBusersid\fR\fR
.ad
.RS 13n
-.rt
This ACL entry with a SID or Windows name specifies the access granted to a
Windows user. This type of entry is for a CIFS server created file.
.RE
@@ -194,24 +172,20 @@ ACL entries. This field is not used for \fBowner@\fR, \fBgroup@\fR, or
\fBeveryone@\fR entries.
.sp
.ne 2
-.mk
.na
\fB\fBuid\fR\fR
.ad
.RS 7n
-.rt
This field contains a user-name or user-ID. If the user-name cannot be resolved
to a UID, then the entry is assumed to be a numeric UID.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgid\fR\fR
.ad
.RS 7n
-.rt
This field contains a group-name or group-ID. If the group-name can't be
resolved to a GID, then the entry is assumed to be a numeric GID.
.RE
@@ -224,188 +198,154 @@ the permissions depends on whether \fBACL_COMPACT_FMT\fR is specified. When the
is used with a forward slash (/) separating the permissions.
.sp
.ne 2
-.mk
.na
\fB\fBadd_file\fR\fR
.ad
.RS 20n
-.rt
Add a file to a directory.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBadd_subdirectory\fR\fR
.ad
.RS 20n
-.rt
Add a subdirectory.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBappend\fR\fR
.ad
.RS 20n
-.rt
Append data.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBdelete\fR\fR
.ad
.RS 20n
-.rt
Delete.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBdelete_child\fR\fR
.ad
.RS 20n
-.rt
Delete child.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBexecute\fR\fR
.ad
.RS 20n
-.rt
Execute permission.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBlist_directory\fR\fR
.ad
.RS 20n
-.rt
List a directory.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBread_acl\fR\fR
.ad
.RS 20n
-.rt
Read ACL.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBread_data\fR\fR
.ad
.RS 20n
-.rt
Read permission.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBread_attributes\fR\fR
.ad
.RS 20n
-.rt
Read attributes.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBread_xattr\fR\fR
.ad
.RS 20n
-.rt
Read named attributes.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBsynchronize\fR\fR
.ad
.RS 20n
-.rt
Synchronize.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBwrite_acl\fR\fR
.ad
.RS 20n
-.rt
Write ACL.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBwrite_attributes\fR\fR
.ad
.RS 20n
-.rt
Write attributes.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBwrite_data\fR\fR
.ad
.RS 20n
-.rt
Write permission.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBwrite_owner\fR\fR
.ad
.RS 20n
-.rt
Write owner.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBwrite_xattr\fR\fR
.ad
.RS 20n
-.rt
Write named attributes.
.RE
@@ -420,155 +360,127 @@ letters. A hyphen (-) character is used to indicate that the permission at
that position is not specified.
.sp
.ne 2
-.mk
.na
\fB\fBa\fR\fR
.ad
.RS 5n
-.rt
read attributes
.RE
.sp
.ne 2
-.mk
.na
\fB\fBA\fR\fR
.ad
.RS 5n
-.rt
write attributes
.RE
.sp
.ne 2
-.mk
.na
\fB\fBc\fR\fR
.ad
.RS 5n
-.rt
read ACL
.RE
.sp
.ne 2
-.mk
.na
\fB\fBC\fR\fR
.ad
.RS 5n
-.rt
write ACL
.RE
.sp
.ne 2
-.mk
.na
\fB\fBd\fR\fR
.ad
.RS 5n
-.rt
delete
.RE
.sp
.ne 2
-.mk
.na
\fB\fBD\fR\fR
.ad
.RS 5n
-.rt
delete child
.RE
.sp
.ne 2
-.mk
.na
\fB\fBo\fR\fR
.ad
.RS 5n
-.rt
write owner
.RE
.sp
.ne 2
-.mk
.na
\fB\fBp\fR\fR
.ad
.RS 5n
-.rt
append
.RE
.sp
.ne 2
-.mk
.na
\fB\fBr\fR\fR
.ad
.RS 5n
-.rt
read_data
.RE
.sp
.ne 2
-.mk
.na
\fB\fBR\fR\fR
.ad
.RS 5n
-.rt
read named attributes
.RE
.sp
.ne 2
-.mk
.na
\fB\fBs\fR\fR
.ad
.RS 5n
-.rt
synchronize
.RE
.sp
.ne 2
-.mk
.na
\fB\fBw\fR\fR
.ad
.RS 5n
-.rt
write_data
.RE
.sp
.ne 2
-.mk
.na
\fB\fBW\fR\fR
.ad
.RS 5n
-.rt
write named attributes
.RE
.sp
.ne 2
-.mk
.na
\fB\fBx\fR\fR
.ad
.RS 5n
-.rt
execute
.RE
@@ -584,45 +496,37 @@ flags set. The following is the list of inheritance flags separated by a slash
(/) character.
.sp
.ne 2
-.mk
.na
\fB\fBdir_inherit\fR\fR
.ad
.RS 16n
-.rt
\fBACE_DIRECTORY_INHERIT_ACE\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBfile_inherit\fR\fR
.ad
.RS 16n
-.rt
\fBACE_FILE_INHERIT_ACE\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBinherit_only\fR\fR
.ad
.RS 16n
-.rt
\fBACE_INHERIT_ONLY_ACE\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBno_propagate\fR\fR
.ad
.RS 16n
-.rt
\fBACE_NO_PROPAGATE_INHERIT_ACE\fR
.RE
@@ -633,67 +537,55 @@ and is represented as positional arguments. A hyphen (-) character is used to
indicate that the inheritance flag at that position is not specified.
.sp
.ne 2
-.mk
.na
\fB\fBd\fR\fR
.ad
.RS 5n
-.rt
\fBdir_inherit\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBf\fR\fR
.ad
.RS 5n
-.rt
\fBfile_inherit\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBF\fR\fR
.ad
.RS 5n
-.rt
failed access (not currently supported)
.RE
.sp
.ne 2
-.mk
.na
\fB\fBi\fR\fR
.ad
.RS 5n
-.rt
\fBinherit_only\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBn\fR\fR
.ad
.RS 5n
-.rt
\fBno_propagate\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBS\fR\fR
.ad
.RS 5n
-.rt
successful access (not currently supported)
.RE
@@ -702,23 +594,19 @@ successful access (not currently supported)
The fifth field contains the type of the ACE (\fBallow\fR or \fBdeny\fR):
.sp
.ne 2
-.mk
.na
\fB\fBallow\fR\fR
.ad
.RS 9n
-.rt
The mask specified in field three should be allowed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBdeny\fR\fR
.ad
.RS 9n
-.rt
The mask specified in field three should be denied.
.RE
@@ -733,100 +621,82 @@ Upon successful completion, the \fBacl_fromtext()\fR function returns 0.
Otherwise, the return value is set to one of the following:
.sp
.ne 2
-.mk
.na
\fB\fBEACL_FIELD_NOT_BLANK\fR\fR
.ad
.RS 28n
-.rt
A field that should be blank is not blank.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_FLAGS_ERROR\fR\fR
.ad
.RS 28n
-.rt
An invalid ACL flag was specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_INHERIT_ERROR\fR\fR
.ad
.RS 28n
-.rt
An invalid inheritance field was specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_INVALID_ACCESS_TYPE\fR\fR
.ad
.RS 28n
-.rt
An invalid access type was specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_INVALID_STR\fR\fR
.ad
.RS 28n
-.rt
The string is \fINULL\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_INVALID_USER_GROUP\fR\fR
.ad
.RS 28n
-.rt
The required user or group name not found.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_MISSING_FIELDS\fR\fR
.ad
.RS 28n
-.rt
The ACL needs more fields to be specified.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_PERM_MASK_ERROR\fR\fR
.ad
.RS 28n
-.rt
The permission mask is invalid.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACL_UNKNOWN_DATA\fR\fR
.ad
.RS 28n
-.rt
Unknown data was found in the ACL.
.RE
@@ -877,15 +747,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-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/acl_trivial.3sec b/usr/src/man/man3sec/acl_trivial.3sec
index dc59362396..82513c4091 100644
--- a/usr/src/man/man3sec/acl_trivial.3sec
+++ b/usr/src/man/man3sec/acl_trivial.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_trivial 3SEC "6 Oct 2005" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACL_TRIVIAL 3SEC "Oct 6, 2005"
.SH NAME
acl_trivial \- determine whether a file has a trivial 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_trivial\fR(\fBchar *\fR\fIpath\fR);
@@ -37,23 +37,19 @@ indicate the error.
The \fBacl_trivial()\fR function will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 10n
-.rt
A file's ACL could not be read.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 10n
-.rt
A component of \fIpath\fR does not name an existing file or \fIpath\fR is an
empty string.
.RE
@@ -66,15 +62,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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/aclcheck.3sec b/usr/src/man/man3sec/aclcheck.3sec
index 02922e1957..85c3aba921 100644
--- a/usr/src/man/man3sec/aclcheck.3sec
+++ b/usr/src/man/man3sec/aclcheck.3sec
@@ -3,7 +3,7 @@
.\" 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 aclcheck 3SEC "10 Dec 2001" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACLCHECK 3SEC "Dec 10, 2001"
.SH NAME
aclcheck \- check the validity of an ACL
.SH SYNOPSIS
@@ -125,91 +125,75 @@ If the \fBACL\fR is valid, \fBalcheck()\fR will return \fB0\fR. Otherwise
following:
.sp
.ne 2
-.mk
.na
\fB\fBGRP_ERROR\fR\fR
.ad
.RS 19n
-.rt
There is more than one \fBGROUP_OBJ\fR or \fBDEF_GROUP_OBJ\fR \fBACL\fR entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBUSER_ERROR\fR\fR
.ad
.RS 19n
-.rt
There is more than one \fBUSER_OBJ\fR or \fBDEF_USER_OBJ\fR \fBACL\fR entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBCLASS_ERROR\fR\fR
.ad
.RS 19n
-.rt
There is more than one \fBCLASS_OBJ\fR (\fBACL\fR mask) or \fBDEF_CLASS_OBJ\fR
(default \fBACL\fR mask) entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBOTHER_ERROR\fR\fR
.ad
.RS 19n
-.rt
There is more than one \fBOTHER_OBJ\fR or \fBDEF_OTHER_OBJ\fR \fBACL\fR entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBDUPLICATE_ERROR\fR\fR
.ad
.RS 19n
-.rt
Duplicate entries of \fBUSER\fR, \fBGROUP\fR, \fBDEF_USER\fR, or
\fBDEF_GROUP\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENTRY_ERROR\fR\fR
.ad
.RS 19n
-.rt
The entry type is invalid.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBMISS_ERROR\fR\fR
.ad
.RS 19n
-.rt
Missing an entry. The \fIwhich\fR parameter returns \fB\(mi1\fR in this case.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBMEM_ERROR\fR\fR
.ad
.RS 19n
-.rt
The system cannot allocate any memory. The \fBwhich\fR parameter returns
\fB\(mi1\fR in this case.
.RE
@@ -222,15 +206,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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelUnsafe
+MT-Level Unsafe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/aclsort.3sec b/usr/src/man/man3sec/aclsort.3sec
index 344bb4d105..248dab28de 100644
--- a/usr/src/man/man3sec/aclsort.3sec
+++ b/usr/src/man/man3sec/aclsort.3sec
@@ -3,7 +3,7 @@
.\" 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 aclsort 3SEC "10 Dec 2001" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACLSORT 3SEC "Dec 10, 2001"
.SH NAME
aclsort \- sort an ACL
.SH SYNOPSIS
@@ -85,15 +85,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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelUnsafe
+MT-Level Unsafe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/acltomode.3sec b/usr/src/man/man3sec/acltomode.3sec
index 72045760b0..bc8bb9ff6c 100644
--- a/usr/src/man/man3sec/acltomode.3sec
+++ b/usr/src/man/man3sec/acltomode.3sec
@@ -3,7 +3,7 @@
.\" 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 acltomode 3SEC "10 Dec 2001" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACLTOMODE 3SEC "Dec 10, 2001"
.SH NAME
acltomode, aclfrommode \- convert an ACL to or from permission bits
.SH SYNOPSIS
@@ -75,15 +75,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 Stability Evolving
+Interface Stability Evolving
_
-MT-LevelUnsafe
+MT-Level Unsafe
.TE
.SH SEE ALSO
diff --git a/usr/src/man/man3sec/acltotext.3sec b/usr/src/man/man3sec/acltotext.3sec
index b70a6bcbeb..23dea4c0d8 100644
--- a/usr/src/man/man3sec/acltotext.3sec
+++ b/usr/src/man/man3sec/acltotext.3sec
@@ -3,7 +3,7 @@
.\" 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 acltotext 3SEC "10 Dec 2001" "SunOS 5.11" "File Access Control Library Functions"
+.TH ACLTOTEXT 3SEC "Dec 10, 2001"
.SH NAME
acltotext, aclfromtext \- convert internal representation to or from external
representation
@@ -49,12 +49,10 @@ field contains the \fBACL\fR entry tag type. The entry type keywords are
defined as:
.sp
.ne 2
-.mk
.na
\fB\fBuser\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry with no \fBUID\fR specified in the \fBACL\fR entry
\fBID\fR field specifies the access granted to the owner of the object.
Otherwise, this \fBACL\fR entry specifies the access granted to a specific
@@ -63,12 +61,10 @@ user-name or user-id number.
.sp
.ne 2
-.mk
.na
\fB\fBgroup\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry with no \fBGID\fR specified in the \fBACL\fR entry
\fBID\fR field specifies the access granted to the owning group of the object.
Otherwise, this \fBACL\fR entry specifies the access granted to a specific
@@ -77,36 +73,30 @@ group-name or group-id number.
.sp
.ne 2
-.mk
.na
\fB\fBother\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry specifies the access granted to any user or group that
does not match any other \fBACL\fR entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBmask\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry specifies the maximum access granted to user or group
entries.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBdefault:user\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry with no uid specified in the \fBACL\fR entry \fBID\fR
field specifies the default access granted to the owner of the object.
Otherwise, this \fBACL\fR entry specifies the default access granted to a
@@ -115,12 +105,10 @@ specific user-name or user-\fBID\fR number.
.sp
.ne 2
-.mk
.na
\fB\fBdefault:group\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry with no gid specified in the \fBACL\fR entry \fBID\fR
field specifies the default access granted to the owning group of the object.
Otherwise, this \fBACL\fR entry specifies the default access granted to a
@@ -129,23 +117,19 @@ specific group-name or group-\fBID\fR number.
.sp
.ne 2
-.mk
.na
\fB\fBdefault:other\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry specifies the default access for other entry.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBdefault:mask\fR\fR
.ad
.RS 17n
-.rt
This \fBACL\fR entry specifies the default access for mask entry.
.RE
@@ -154,36 +138,30 @@ This \fBACL\fR entry specifies the default access for mask entry.
The second field contains the \fBACL\fR entry \fBID\fR, as follows:
.sp
.ne 2
-.mk
.na
\fB\fBuid\fR\fR
.ad
.RS 9n
-.rt
This field specifies a user-name, or user-\fBID\fR if there is no user-name
associated with the user-\fBID\fR number.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBgid\fR\fR
.ad
.RS 9n
-.rt
This field specifies a group-name, or group-\fBID\fR if there is no group-name
associated with the group-\fBID\fR number.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBempty\fR\fR
.ad
.RS 9n
-.rt
This field is used by the user and group \fBACL\fR entry types.
.RE
@@ -193,45 +171,37 @@ The third field contains the following symbolic discretionary access
permissions:
.sp
.ne 2
-.mk
.na
\fB\fBr\fR\fR
.ad
.RS 9n
-.rt
read permission
.RE
.sp
.ne 2
-.mk
.na
\fB\fBw\fR\fR
.ad
.RS 9n
-.rt
write permission
.RE
.sp
.ne 2
-.mk
.na
\fB\fBx\fR\fR
.ad
.RS 9n
-.rt
execute/search permission
.RE
.sp
.ne 2
-.mk
.na
\fB\fB\(mi\fR \fR
.ad
.RS 9n
-.rt
no access
.RE
@@ -252,15 +222,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 StabilityEvolving
+Interface Stability Evolving
_
-MT-LevelUnsafe
+MT-Level Unsafe
.TE
.SH SEE ALSO