PERFORCE change 22891 for review
Robert Watson
rwatson at freebsd.org
Sun Dec 29 20:37:00 GMT 2002
http://perforce.freebsd.org/chv.cgi?CH=22891
Change 22891 by rwatson at rwatson_paprika on 2002/12/29 12:36:52
Integ libc-posix1e code from TrustedBSD base to TrustedBSD ACL
branch.
Affected files ...
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl.3#3 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_add_perm.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_calc_mask.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_clear_perms.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_copy_entry.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_create_entry.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete.3#3 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete_entry.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete_perm.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_from_text.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get.3#3 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_entry.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_perm_np.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_permset.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_qualifier.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_tag_type.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set_permset.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set_qualifier.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set_tag_type.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_to_text.3#2 integrate
.. //depot/projects/trustedbsd/acl/lib/libc/posix1e/mac_set.3#2 integrate
Differences ...
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl.3#3 (text+ko) ====
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl.3,v 1.19 2002/11/08 15:01:28 rwatson Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl.3,v 1.20 2002/12/27 12:15:28 schweikh Exp $
.\"
.Dd December 18, 2002
.Dt ACL 3
@@ -43,7 +43,7 @@
permits file systems to export Access Control Lists via the VFS, and
provides a library for userland access to and manipulation of these ACLs.
Not all file systems provide support for ACLs, and some may require that
-ACL support be explicitely enabled by the administrator.
+ACL support be explicitly enabled by the administrator.
The library calls include routines to allocate, duplicate, retrieve, set,
and validate ACLs associated with file objects.
As well as the POSIX.1e routines, there are a number of non-portable
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_add_perm.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_add_perm.3,v 1.5 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_add_perm.3,v 1.6 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_ADD_PERM 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_add_perm "acl_permset_t permset_d" "acl_perm_t perm"
.Sh DESCRIPTION
+The
.Fn acl_add_perm
+function
is a POSIX.1e call that adds the permission contained in
.Fa perm
to the permission set
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_calc_mask.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_calc_mask.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_calc_mask.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_CALC_MASK 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_calc_mask "acl_t *acl_p"
.Sh DESCRIPTION
+The
.Fn acl_calc_mask
+function
is a POSIX.1e call that calculates and set the permissions
associated with the
.Dv ACL_MASK
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_clear_perms.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_clear_perms.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_clear_perms.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_CLEAR_PERMS 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_clear_perms "acl_permset_t permset_d"
.Sh DESCRIPTION
+The
.Fn acl_clear_perms
+function
is a POSIX.1e call that clears all permissions from permissions set
.Fa permset_d .
.Sh RETURN VALUES
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_copy_entry.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_copy_entry.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_copy_entry.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_COPY_ENTRY 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_copy_entry "acl_entry_t dest_d" "acl_entry_t src_d"
.Sh DESCRIPTION
+The
.Fn acl_copy_entry
+function
is a POSIX.1e call that copies the contents of ACL entry
.Fa src_d
to ACL entry
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_create_entry.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_create_entry.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_create_entry.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 16, 2001
.Dt ACL_CREATE_ENTRY 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_create_entry "acl_t *acl_p" "acl_entry_t *entry_p"
.Sh DESCRIPTION
+The
.Fn acl_create_entry
+function
is a POSIX.1e call that creates a new ACL entry in the ACL
pointed to by
.Fa acl_p .
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete.3#3 (text+ko) ====
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_delete.3,v 1.13 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_delete.3,v 1.14 2002/12/18 12:45:09 ru Exp $
.\"
.Dd January 28, 2000
.Dt ACL_DELETE 3
@@ -61,7 +61,9 @@
and
.Fn acl_delete_link_np
each allow the deletion of an ACL from a file.
+The
.Fn acl_delete_def_file
+function
is a POSIX.1e call that deletes the default ACL from a file (normally a
directory) by name; the remainder of the calls are non-portable extensions
that permit the deletion of arbitrary ACL types from a file/directory
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete_entry.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_delete_entry.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_delete_entry.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_DELETE_ENTRY 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_delete_entry "acl_t acl" "acl_entry_t entry_d"
.Sh DESCRIPTION
+The
.Fn acl_delete_entry
+function
is a POSIX.1e call that removes the ACL entry
.Fa entry_d
from ACL
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete_perm.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_delete_perm.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_delete_perm.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_DELETE_PERM 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_delete_perm "acl_permset_t permset_d" "acl_perm_t perm"
.Sh DESCRIPTION
+The
.Fn acl_delete_perm
+function
is a POSIX.1e call that removes specific permissions from permissions set
.Fa perm .
.Sh RETURN VALUES
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_from_text.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_from_text.3,v 1.13 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_from_text.3,v 1.14 2002/12/18 12:45:09 ru Exp $
.\"
.Dd January 28, 2000
.Dt ACL_FROM_TEXT 3
@@ -103,9 +103,11 @@
.Sh BUGS
These features are not yet fully implemented.
.Pp
+The
.Fn acl_from_text
and
.Fn acl_to_text
+functions
rely on the
.Xr getpwent 3
library calls to manage username and uid mapping, as well as the
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get.3#3 (text+ko) ====
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_get.3,v 1.13 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_get.3,v 1.14 2002/12/18 12:45:09 ru Exp $
.\"
.Dd January 28, 2000
.Dt ACL_GET 3
@@ -56,11 +56,14 @@
.Fn acl_get_link_np ,
.Fn acl_get_fd_np
each allow the retrieval of an ACL from a file.
+The
.Fn acl_get_fd
is a POSIX.1e call that allows the retrieval of an ACL of type
ACL_TYPE_ACCESS
from a file descriptor.
+The
.Fn acl_get_fd_np
+function
is a non-portable form of
.Fn acl_get_fd
that allows the retrieval of any type of ACL from a file descriptor.
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_entry.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_get_entry.3,v 1.5 2001/10/03 16:25:08 bde Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_get_entry.3,v 1.6 2002/12/18 12:45:09 ru Exp $
.\"
.Dd April 13, 2001
.Dt ACL_GET_ENTRY 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_get_entry "acl_t acl" "int entry_id" "acl_entry_t *entry_p"
.Sh DESCRIPTION
+The
.Fn acl_get_entry
+function
is a POSIX.1e call that retrieves a descriptor for an ACL entry
specified by the argument
.Fa entry_d
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_perm_np.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_get_perm_np.3,v 1.3 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_get_perm_np.3,v 1.4 2002/12/18 12:45:09 ru Exp $
.\"
.Dd April 10, 2001
.Dt ACL_GET_PERM_NP 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_get_perm_np "acl_permset_t permset_d" "acl_perm_t perm"
.Sh DESCRIPTION
+The
.Fn acl_get_perm_np
+function
is a non-portable function that checks if a permission is set in
a permission set.
.Sh RETURN VALUES
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_permset.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_get_permset.3,v 1.4 2001/10/01 16:08:56 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_get_permset.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_GET_PERMSET 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_get_permset "acl_entry_t entry_d" "acl_permset_t *permset_p"
.Sh DESCRIPTION
+The
.Fn acl_get_permset
+function
is a POSIX.1e call that returns via
.Fa permset_p
a descriptor to the permission set in the ACL entry
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_qualifier.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_get_qualifier.3,v 1.4 2001/10/01 16:08:57 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_get_qualifier.3,v 1.6 2002/12/27 12:15:28 schweikh Exp $
.\"
.Dd March 13, 2001
.Dt ACL_GET_QUALIFIER 3
@@ -39,7 +39,9 @@
.Ft void *
.Fn acl_get_qualifier "acl_entry_t entry_d"
.Sh DESCRIPTION
+The
.Fn acl_get_qualifier
+function
is a POSIX.1e call that retrieves the qualifier of the tag for
the ACL entry indicated by the argument
.Fa entry_d
@@ -64,7 +66,7 @@
will be a pointer to type
.Vt gid_t .
.Pp
-If the value of the tag type in the ACL enty referred to by
+If the value of the tag type in the ACL entry referred to by
.Fa entry_d
is
.Dv ACL_UNDEFINED_TAG , ACL_USER_OBJ , ACL_GROUP_OBJ ,
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get_tag_type.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_get_tag_type.3,v 1.5 2002/01/29 12:18:45 jedgar Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_get_tag_type.3,v 1.7 2002/12/27 12:15:28 schweikh Exp $
.\"
.Dd March 10, 2001
.Dt ACL_GET_TAG_TYPE 3
@@ -39,8 +39,10 @@
.Ft int
.Fn acl_get_tag_type "acl_entry_t entry_d" "acl_tag_t *tag_type_p"
.Sh DESCRIPTION
+The
.Fn acl_get_tag_type
-is a POSIX.1e call that returs the tag type for the ACL entry
+function
+is a POSIX.1e call that returns the tag type for the ACL entry
.Fa entry_d .
Upon successful completion, the location referred to by the argument
.Fa tag_type_p
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set_permset.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_set_permset.3,v 1.5 2001/10/01 16:08:57 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_set_permset.3,v 1.6 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_SET_PERMSET 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_set_permset "acl_entry_t entry_d" "acl_permset_t permset_d"
.Sh DESCRIPTION
+The
.Fn acl_set_permset
+function
is a POSIX.1e call that sets the permissions of ACL entry
.Fa entry_d
with the permissions contained in
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set_qualifier.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_set_qualifier.3,v 1.4 2001/10/01 16:08:57 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_set_qualifier.3,v 1.5 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_SET_QUALIFIER 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_set_qualifier "acl_entry_t entry_d" "const void *tag_qualifier_p"
.Sh DESCRIPTION
+The
.Fn acl_set_qualifier
+function
is a POSIX.1e call that sets the qualifier of the tag for the ACl entry
.Fa entry_d
to the value referred to by
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set_tag_type.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_set_tag_type.3,v 1.5 2001/10/01 16:08:57 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_set_tag_type.3,v 1.6 2002/12/18 12:45:09 ru Exp $
.\"
.Dd March 10, 2001
.Dt ACL_SET_TAG_TYPE 3
@@ -39,7 +39,9 @@
.Ft int
.Fn acl_set_tag_type "acl_entry_t entry_d" "acl_tag_t tag_type"
.Sh DESCRIPTION
+The
.Fn acl_set_tag_type
+function
is a POSIX.1e call that sets the ACL tag type of ACL entry
.Fa entry_d
to the value of
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_to_text.3#2 (text+ko) ====
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/acl_to_text.3,v 1.13 2001/10/01 16:08:57 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/acl_to_text.3,v 1.14 2002/12/18 12:45:09 ru Exp $
.\"
.Dd January 28, 2000
.Dt ACL_TO_TEXT 3
@@ -113,9 +113,11 @@
.Sh BUGS
These features are not yet fully implemented.
.Pp
+The
.Fn acl_from_text
and
.Fn acl_to_text
+functions
rely on the
.Xr getpwent 3
library calls to manage username and uid mapping, as well as the
==== //depot/projects/trustedbsd/acl/lib/libc/posix1e/mac_set.3#2 (text+ko) ====
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $FreeBSD: src/lib/libc/posix1e/mac_set.3,v 1.3 2002/12/11 15:55:29 ru Exp $
+.\" $FreeBSD: src/lib/libc/posix1e/mac_set.3,v 1.5 2002/12/27 12:15:28 schweikh Exp $
.\"
.Dd December 21, 2001
.Dt MAC_SET 3
@@ -87,17 +87,21 @@
.It Bq Er EACCES
MAC write access to the file is denied.
.It Bq Er EBADF
+The
.Fa fd
+argument
is not a valid file descriptor.
.It Bq Er EINVAL
+The
.Fa label
+argument
is not a valid MAC label.
.It Bq Er EOPNOTSUPP
Setting MAC labels is not supported
by the file referenced by
.Fa fd .
.It Bq Er EPERM
-The calling process had insufficient privelege
+The calling process had insufficient privilege
to change the MAC label.
.It Bq Er EROFS
File system for the object being modified
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list