summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2007-04-06 01:11:39 +0000
committerpjd <pjd@FreeBSD.org>2007-04-06 01:11:39 +0000
commitbddf8f26d1e129be97e5cd206ddd05a664c486e8 (patch)
treeb8aa26566f5528d46f0ae0f75a9f7f4550812403
parent3b005d330261f33318ca1ee3fef1940237fd788b (diff)
downloadFreeBSD-src-bddf8f26d1e129be97e5cd206ddd05a664c486e8.zip
FreeBSD-src-bddf8f26d1e129be97e5cd206ddd05a664c486e8.tar.gz
Add ZFS-specific privileges.
-rw-r--r--sys/sys/priv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index f6c6b72..3c40322 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -227,6 +227,15 @@
#define PRIV_UFS_SETUSE 273 /* setuse(). */
/*
+ * ZFS-specific privileges.
+ */
+#define PRIV_ZFS_POOL_CONFIG 280 /* Can configure ZFS pools. */
+#define PRIV_ZFS_INJECT 281 /* Can inject faults in the ZFS fault
+ injection framework. */
+#define PRIV_ZFS_JAIL 282 /* Can attach/detach ZFS file systems
+ to/from jails. */
+
+/*
* VFS privileges.
*/
#define PRIV_VFS_READ 310 /* Override vnode DAC read perm. */
OpenPOWER on IntegriCloud