summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/zone.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/zone.h')
-rw-r--r--usr/src/uts/common/sys/zone.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/zone.h b/usr/src/uts/common/sys/zone.h
index 2e69b0d1c7..27f52c57e2 100644
--- a/usr/src/uts/common/sys/zone.h
+++ b/usr/src/uts/common/sys/zone.h
@@ -40,6 +40,7 @@
#include <sys/uadmin.h>
#include <sys/ksynch.h>
#include <sys/socket_impl.h>
+#include <sys/secflags.h>
#include <netinet/in.h>
#ifdef __cplusplus
@@ -104,6 +105,7 @@ extern "C" {
#define ZONE_ATTR_FS_ALLOWED 16
#define ZONE_ATTR_NETWORK 17
#define ZONE_ATTR_INITNORESTART 20
+#define ZONE_ATTR_SECFLAGS 21
/* Start of the brand-specific attribute namespace */
#define ZONE_ATTR_BRAND_ATTRS 32768
@@ -578,6 +580,8 @@ typedef struct zone {
uint64_t zone_fspgin; /* fs pages paged in */
uint64_t zone_anon_alloc_fail; /* cnt of anon alloc fails */
+ psecflags_t zone_secflags; /* default zone security-flags */
+
/*
* Misc. kstats and counters for zone cpu-usage aggregation.
* The zone_Xtime values are the sum of the micro-state accounting