Print this page
uts: add a concept of a 'default' set of privileges, separate from 'basic'

*** 4,15 **** .\" 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 PRIV_ADDSET 3C "Sep 08, 2015" .SH NAME priv_addset, priv_allocset, priv_copyset, priv_delset, priv_emptyset, ! 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 .nf --- 4,15 ---- .\" 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 PRIV_ADDSET 3C "Sep 08, 2015" .SH NAME priv_addset, priv_allocset, priv_copyset, priv_delset, priv_emptyset, ! priv_basicset, priv_defaultset, 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 .nf
*** 43,52 **** --- 43,57 ---- \fBvoid\fR \fBpriv_basicset\fR(\fBpriv_set_t *\fR\fIsp\fR); .fi .LP .nf + \fBvoid\fR \fBpriv_defaultset\fR(\fBpriv_set_t *\fR\fIsp\fR); + .fi + + .LP + .nf \fBvoid\fR \fBpriv_fillset\fR(\fBpriv_set_t *\fR\fIsp\fR); .fi .LP .nf
*** 120,129 **** --- 125,138 ---- .sp .LP The \fBpriv_basicset()\fR function copies the basic privilege set to \fIsp\fR. .sp .LP + The \fBpriv_defaultset()\fR function copies the default 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 .LP The \fBpriv_freeset()\fR function frees the storage allocated by