Print this page
uts: add a concept of a 'default' set of privileges, separate from 'basic'
@@ -25,12 +25,10 @@
*/
#ifndef _PRIV_PRIVATE_H
#define _PRIV_PRIVATE_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/priv.h>
#include <limits.h>
/*
@@ -91,10 +89,11 @@
char **pd_setnames;
char **pd_privnames;
int *pd_setsort;
priv_impl_info_t *pd_pinfo;
priv_set_t *pd_basicset;
+ priv_set_t *pd_defaultset;
priv_set_t *pd_zoneset;
} priv_data_t;
extern priv_data_t *__priv_getdata(void);
extern priv_data_t *__priv_parse_info(priv_impl_info_t *);
@@ -112,10 +111,11 @@
extern const char *__priv_getbynum(const priv_data_t *, int);
extern int getprivinfo(priv_impl_info_t *, size_t);
extern priv_set_t *priv_basic(void);
+extern priv_set_t *priv_default(void);
#ifdef __cplusplus
}
#endif