xref: /titanic_41/usr/src/head/auth_list.h (revision a20ee4162885a4dc8273c6b6903dcb7e0e525704)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
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 /*
23  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24  *
25  * This is an internal header file. Not to be shipped.
26  */
27 
28 #ifndef	_AUTH_LIST_H
29 #define	_AUTH_LIST_H
30 
31 #ifdef	__cplusplus
32 extern "C" {
33 #endif
34 
35 
36 /*
37  * Names of authorizations currently in use in the system
38  */
39 
40 #define	AUTOCONF_READ_AUTH	"solaris.network.autoconf.read"
41 #define	AUTOCONF_SELECT_AUTH	"solaris.network.autoconf.select"
42 #define	AUTOCONF_WLAN_AUTH	"solaris.network.autoconf.wlan"
43 #define	AUTOCONF_WRITE_AUTH	"solaris.network.autoconf.write"
44 #define	CDRW_AUTH		"solaris.device.cdrw"
45 #define	CRONADMIN_AUTH		"solaris.jobs.admin"
46 #define	CRONUSER_AUTH		"solaris.jobs.user"
47 #define	DEFAULT_DEV_ALLOC_AUTH	"solaris.device.allocate"
48 #define	DEVICE_REVOKE_AUTH	"solaris.device.revoke"
49 #define	LINK_SEC_AUTH		"solaris.network.link.security"
50 #define	MAILQ_AUTH		"solaris.mail.mailq"
51 #define	NET_ILB_CONFIG_AUTH	"solaris.network.ilb.config"
52 #define	NET_ILB_ENABLE_AUTH	"solaris.network.ilb.enable"
53 #define	SET_DATE_AUTH		"solaris.system.date"
54 #define	WIFI_CONFIG_AUTH	"solaris.network.wifi.config"
55 #define	WIFI_WEP_AUTH		"solaris.network.wifi.wep"
56 #define	HP_MODIFY_AUTH		"solaris.hotplug.modify"
57 
58 /*
59  * The following authorizations can be qualified by appending <zonename>
60  */
61 #define	ZONE_CLONEFROM_AUTH	"solaris.zone.clonefrom"
62 #define	ZONE_LOGIN_AUTH		"solaris.zone.login"
63 #define	ZONE_MANAGE_AUTH	"solaris.zone.manage"
64 
65 #define	ZONE_AUTH_PREFIX	"solaris.zone."
66 
67 /*
68  * Authorizations used by Trusted Extensions.
69  */
70 #define	BYPASS_FILE_VIEW_AUTH	"solaris.label.win.noview"
71 #define	DEVICE_CONFIG_AUTH	"solaris.device.config"
72 #define	FILE_CHOWN_AUTH		"solaris.file.chown"
73 #define	FILE_DOWNGRADE_SL_AUTH	"solaris.label.file.downgrade"
74 #define	FILE_OWNER_AUTH		"solaris.file.owner"
75 #define	FILE_UPGRADE_SL_AUTH	"solaris.label.file.upgrade"
76 #define	MAINTENANCE_AUTH	"solaris.system.maintenance"
77 #define	PRINT_ADMIN_AUTH	"solaris.print.admin"
78 #define	PRINT_CANCEL_AUTH	"solaris.print.cancel"
79 #define	PRINT_LIST_AUTH		"solaris.print.list"
80 #define	PRINT_MAC_AUTH		"solaris.label.print"
81 #define	PRINT_NOBANNER_AUTH	"solaris.print.nobanner"
82 #define	PRINT_POSTSCRIPT_AUTH	"solaris.print.ps"
83 #define	PRINT_UNLABELED_AUTH	"solaris.print.unlabeled"
84 #define	SHUTDOWN_AUTH		"solaris.system.shutdown"
85 #define	SYS_ACCRED_SET_AUTH	"solaris.label.range"
86 #define	SYSEVENT_READ_AUTH	"solaris.system.sysevent.read"
87 #define	SYSEVENT_WRITE_AUTH	"solaris.system.sysevent.write"
88 #define	WIN_DOWNGRADE_SL_AUTH	"solaris.label.win.downgrade"
89 #define	WIN_UPGRADE_SL_AUTH	"solaris.label.win.upgrade"
90 
91 #ifdef	__cplusplus
92 }
93 #endif
94 
95 #endif	/* _AUTH_LIST_H */
96