Print this page
uts: add a concept of a 'default' set of privileges, separate from 'basic'
*** 2,15 ****
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
SYNOPSIS
#include <priv.h>
int priv_addset(priv_set_t *sp, const char *priv);
--- 2,15 ----
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
SYNOPSIS
#include <priv.h>
int priv_addset(priv_set_t *sp, const char *priv);
*** 28,37 ****
--- 28,40 ----
void priv_basicset(priv_set_t *sp);
+ void priv_defaultset(priv_set_t *sp);
+
+
void priv_fillset(priv_set_t *sp);
void priv_freeset(priv_set_t *sp);
*** 84,93 ****
--- 87,99 ----
The priv_basicset() function copies the basic privilege set to sp.
+ The priv_defaultset() function copies the default privilege set to sp.
+
+
The priv_fillset() function asserts all privileges in sp, including the
privileges not currently defined in the system.
The priv_freeset() function frees the storage allocated by