summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/procfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/procfs.h')
-rw-r--r--usr/src/uts/common/sys/procfs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/procfs.h b/usr/src/uts/common/sys/procfs.h
index 501af712ef..427d682d68 100644
--- a/usr/src/uts/common/sys/procfs.h
+++ b/usr/src/uts/common/sys/procfs.h
@@ -65,6 +65,7 @@ extern "C" {
#include <sys/priv.h>
#include <sys/stat.h>
#include <sys/param.h>
+#include <sys/secflags.h>
/*
* System call interfaces for /proc.
@@ -400,6 +401,17 @@ typedef struct prpriv {
priv_chunk_t pr_sets[1]; /* array of sets */
} prpriv_t;
+#define PRSECFLAGS_VERSION_1 1
+#define PRSECFLAGS_VERSION_CURRENT PRSECFLAGS_VERSION_1
+typedef struct prsecflags {
+ uint32_t pr_version;
+ char pr_pad[4];
+ secflagset_t pr_effective;
+ secflagset_t pr_inherit;
+ secflagset_t pr_lower;
+ secflagset_t pr_upper;
+} prsecflags_t;
+
/*
* Watchpoint interface. PCWATCH and /proc/<pid>/watch
*/