dsl_deleg.h revision ecd6cf800b63704be73fb264c3f5b6e0dafc068d
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_DSL_PERMS_H
#define _SYS_DSL_PERMS_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/dsl_pool.h>
#include <sys/zfs_context.h>
#ifdef __cplusplus
extern "C" {
#endif
#define ZFS_DELEG_PERM_NONE ""
#define ZFS_DELEG_PERM_CREATE "create"
#define ZFS_DELEG_PERM_DESTROY "destroy"
#define ZFS_DELEG_PERM_SNAPSHOT "snapshot"
#define ZFS_DELEG_PERM_ROLLBACK "rollback"
#define ZFS_DELEG_PERM_CLONE "clone"
#define ZFS_DELEG_PERM_PROMOTE "promote"
#define ZFS_DELEG_PERM_RENAME "rename"
#define ZFS_DELEG_PERM_MOUNT "mount"
#define ZFS_DELEG_PERM_SHARE "share"
#define ZFS_DELEG_PERM_SEND "send"
#define ZFS_DELEG_PERM_RECEIVE "receive"
#define ZFS_DELEG_PERM_QUOTA "quota"
#define ZFS_DELEG_PERM_RESERVATION "reservation"
#define ZFS_DELEG_PERM_VOLSIZE "volsize"
#define ZFS_DELEG_PERM_RECORDSIZE "recordsize"
#define ZFS_DELEG_PERM_MOUNTPOINT "mountpoint"
#define ZFS_DELEG_PERM_SHARENFS "sharenfs"
#define ZFS_DELEG_PERM_CHECKSUM "checksum"
#define ZFS_DELEG_PERM_COMPRESSION "compression"
#define ZFS_DELEG_PERM_ATIME "atime"
#define ZFS_DELEG_PERM_DEVICES "devices"
#define ZFS_DELEG_PERM_EXEC "exec"
#define ZFS_DELEG_PERM_SETUID "setuid"
#define ZFS_DELEG_PERM_READONLY "readonly"
#define ZFS_DELEG_PERM_ZONED "zoned"
#define ZFS_DELEG_PERM_SNAPDIR "snapdir"
#define ZFS_DELEG_PERM_ACLMODE "aclmode"
#define ZFS_DELEG_PERM_ACLINHERIT "aclinherit"
#define ZFS_DELEG_PERM_ALLOW "allow"
#define ZFS_DELEG_PERM_CANMOUNT "canmount"
#define ZFS_DELEG_PERM_USERPROP "userprop"
#define ZFS_DELEG_PERM_SHAREISCSI "shareiscsi"
#define ZFS_DELEG_PERM_XATTR "xattr"
#define ZFS_DELEG_PERM_COPIES "copies"
#ifdef __cplusplus
}
#endif
#endif /* _SYS_DSL_PERMS_H */