[BACK]Return to acl_valid.html CVS log [TXT][DIR] Up to [Development] / xfs-website.orig / manpages

File: [Development] / xfs-website.orig / manpages / acl_valid.html (download) (as text)

Revision 1.1, Thu Jan 25 19:55:30 2001 UTC (16 years, 8 months ago) by xfs
Branch: MAIN
CVS Tags: HEAD

Man pages update.

<html>
<head>
<meta name="Content-Style" content="text/css">
</head>
<body>
<a href="#NAME">NAME</a><br>
<a href="#SYNOPSIS">SYNOPSIS</a><br>
<a href="##include &lt;sys/acl.h&gt;">#include &lt;sys/acl.h&gt;</a><br>
<a href="#int acl_valid( struct acl *aclp);">int acl_valid( struct acl *aclp);</a><br>
<a href="#DESCRIPTION">DESCRIPTION</a><br>
<a href="#RETURN VALUES">RETURN VALUES</a><br>
<a href="#ERRORS">ERRORS</a><br>
<!-- Creator     : groff version 1.16.1  -->
<!-- CreationDate: Wed Jan 24 01:42:49 2001
 -->
<!-- Total number of pages: 1 -->
<!-- Page: 1 -->
<!-- left  margin: 220 -->
<!-- right margin: 750 -->
<a name="NAME"></a><h2>NAME</h2><p style="margin-left: 18%"><font size=3>acl_valid - validate an ACL</font></p>
<a name="SYNOPSIS"></a><h2>SYNOPSIS</h2><a name="#include &lt;sys/acl.h&gt;"></a><h2>#include &lt;sys/acl.h&gt;</h2><a name="int acl_valid( struct acl *aclp);"></a><h2>int acl_valid( struct acl *aclp);</h2><a name="DESCRIPTION"></a><h2>DESCRIPTION</h2><p style="margin-left: 18%"><font size=3>Check that the format of an ACL is valid.</font></p>
<p style="margin-left: 18%"><font size=3>First,</font> <font size=3><I>aclp</I></font> <font size=3>must be non null. The three required entries (ACL_USER_OBJ, ACL_GROUP_OBJ, and ACL_OTHER_OBJ) must exist exactly once in the ACL. If the ACL contains any ACL_USER, ACL_GROUP, or any implementation&shy;defined entries in the file group class, then one ACL_MASK entry is required. The ACL may contain at most one ACL_MASK entry.</font></p>
<p style="margin-left: 18%"><font size=3>The qualifier field must be unique among all entries of the same type.</font></p>
<a name="RETURN VALUES"></a><h2>RETURN VALUES</h2><p style="margin-left: 18%"><font size=3><I>acl_valid</I></font> <font size=3>returns 0 if the ACL is valid, &shy;1 otherwise.</font></p>
<a name="ERRORS"></a><h2>ERRORS</h2><p style="margin-left: 18%"><font size=3>EINVAL ACL is not valid.</font><br>
</p>
</body>
</html>