summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorAlex Wilson <alex.wilson@joyent.com>2015-09-08 11:52:58 -0700
committerAlex Wilson <alex.wilson@joyent.com>2015-09-08 12:22:32 -0700
commit26bd3a79a40a1f5bbd290d933c101a992b3a69df (patch)
tree8634fc2e99c4a9f93cf4895b31759eb41faac3ec /usr/src/man/man3c
parent0cc355c2e6d0f1ceb6efa371505ed4fbf0e7568c (diff)
downloadillumos-joyent-26bd3a79a40a1f5bbd290d933c101a992b3a69df.tar.gz
OS-4720 manpages about privileges are out of date wrt basicset and new privs in it
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/priv_addset.3c13
1 files changed, 11 insertions, 2 deletions
diff --git a/usr/src/man/man3c/priv_addset.3c b/usr/src/man/man3c/priv_addset.3c
index 7537cacde6..a695b87bcc 100644
--- a/usr/src/man/man3c/priv_addset.3c
+++ b/usr/src/man/man3c/priv_addset.3c
@@ -6,8 +6,9 @@
.TH PRIV_ADDSET 3C "Jan 28, 2005"
.SH NAME
priv_addset, priv_allocset, priv_copyset, priv_delset, priv_emptyset,
-priv_fillset, priv_freeset, priv_intersect, priv_inverse, priv_isemptyset,
-priv_isequalset, priv_isfullset, priv_ismember, priv_issubset, priv_union \-
+priv_basicset, priv_fillset, priv_freeset, priv_intersect, priv_inverse,
+priv_isemptyset, priv_isequalset, priv_isfullset, priv_ismember,
+priv_issubset, priv_union \-
privilege set manipulation functions
.SH SYNOPSIS
.LP
@@ -39,6 +40,11 @@ privilege set manipulation functions
.LP
.nf
+\fBvoid\fR \fBpriv_basicset\fR(\fBpriv_set_t *\fR\fIsp\fR);
+.fi
+
+.LP
+.nf
\fBvoid\fR \fBpriv_fillset\fR(\fBpriv_set_t *\fR\fIsp\fR);
.fi
@@ -114,6 +120,9 @@ The \fBpriv_delset()\fR function removes the named privilege \fIpriv\fR from
The \fBpriv_emptyset()\fR function clears all privileges from \fIsp\fR.
.sp
.LP
+The \fBpriv_basicset()\fR function copies the basic privilege set to \fIsp\fR.
+.sp
+.LP
The \fBpriv_fillset()\fR function asserts all privileges in \fIsp\fR, including
the privileges not currently defined in the system.
.sp