9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2012 by Delphix. All rights reserved.
24 */
25
26 #ifndef _SYS_DSL_DELEG_H
27 #define _SYS_DSL_DELEG_H
28
29 #include <sys/dmu.h>
30 #include <sys/dsl_pool.h>
31 #include <sys/zfs_context.h>
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 #define ZFS_DELEG_PERM_NONE ""
38 #define ZFS_DELEG_PERM_CREATE "create"
39 #define ZFS_DELEG_PERM_DESTROY "destroy"
40 #define ZFS_DELEG_PERM_SNAPSHOT "snapshot"
41 #define ZFS_DELEG_PERM_ROLLBACK "rollback"
42 #define ZFS_DELEG_PERM_CLONE "clone"
43 #define ZFS_DELEG_PERM_PROMOTE "promote"
44 #define ZFS_DELEG_PERM_RENAME "rename"
45 #define ZFS_DELEG_PERM_MOUNT "mount"
46 #define ZFS_DELEG_PERM_SHARE "share"
47 #define ZFS_DELEG_PERM_SEND "send"
48 #define ZFS_DELEG_PERM_RECEIVE "receive"
49 #define ZFS_DELEG_PERM_ALLOW "allow"
50 #define ZFS_DELEG_PERM_USERPROP "userprop"
51 #define ZFS_DELEG_PERM_VSCAN "vscan"
|
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright (c) 2012 by Delphix. All rights reserved.
24 */
25
26 #ifndef _SYS_DSL_DELEG_H
27 #define _SYS_DSL_DELEG_H
28
29 #include <sys/zfs_context.h>
30 #include <sys/dmu.h>
31 #include <sys/dsl_pool.h>
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 #define ZFS_DELEG_PERM_NONE ""
38 #define ZFS_DELEG_PERM_CREATE "create"
39 #define ZFS_DELEG_PERM_DESTROY "destroy"
40 #define ZFS_DELEG_PERM_SNAPSHOT "snapshot"
41 #define ZFS_DELEG_PERM_ROLLBACK "rollback"
42 #define ZFS_DELEG_PERM_CLONE "clone"
43 #define ZFS_DELEG_PERM_PROMOTE "promote"
44 #define ZFS_DELEG_PERM_RENAME "rename"
45 #define ZFS_DELEG_PERM_MOUNT "mount"
46 #define ZFS_DELEG_PERM_SHARE "share"
47 #define ZFS_DELEG_PERM_SEND "send"
48 #define ZFS_DELEG_PERM_RECEIVE "receive"
49 #define ZFS_DELEG_PERM_ALLOW "allow"
50 #define ZFS_DELEG_PERM_USERPROP "userprop"
51 #define ZFS_DELEG_PERM_VSCAN "vscan"
|