xref: /titanic_50/usr/src/head/auth_list.h (revision a20ee4162885a4dc8273c6b6903dcb7e0e525704)
17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * CDDL HEADER START
37c478bd9Sstevel@tonic-gate  *
47c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
545916cd2Sjpk  * Common Development and Distribution License (the "License").
645916cd2Sjpk  * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate  *
87c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate  * and limitations under the License.
127c478bd9Sstevel@tonic-gate  *
137c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate  *
197c478bd9Sstevel@tonic-gate  * CDDL HEADER END
207c478bd9Sstevel@tonic-gate  */
21cb8a054bSGlenn Faden 
227c478bd9Sstevel@tonic-gate /*
23*a20ee416SGlenn Faden  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
247c478bd9Sstevel@tonic-gate  *
257c478bd9Sstevel@tonic-gate  * This is an internal header file. Not to be shipped.
267c478bd9Sstevel@tonic-gate  */
277c478bd9Sstevel@tonic-gate 
287c478bd9Sstevel@tonic-gate #ifndef	_AUTH_LIST_H
297c478bd9Sstevel@tonic-gate #define	_AUTH_LIST_H
307c478bd9Sstevel@tonic-gate 
317c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
327c478bd9Sstevel@tonic-gate extern "C" {
337c478bd9Sstevel@tonic-gate #endif
347c478bd9Sstevel@tonic-gate 
357c478bd9Sstevel@tonic-gate 
367c478bd9Sstevel@tonic-gate /*
377c478bd9Sstevel@tonic-gate  * Names of authorizations currently in use in the system
387c478bd9Sstevel@tonic-gate  */
397c478bd9Sstevel@tonic-gate 
406ba597c5SAnurag S. Maskey #define	AUTOCONF_READ_AUTH	"solaris.network.autoconf.read"
416ba597c5SAnurag S. Maskey #define	AUTOCONF_SELECT_AUTH	"solaris.network.autoconf.select"
426ba597c5SAnurag S. Maskey #define	AUTOCONF_WLAN_AUTH	"solaris.network.autoconf.wlan"
436ba597c5SAnurag S. Maskey #define	AUTOCONF_WRITE_AUTH	"solaris.network.autoconf.write"
447c478bd9Sstevel@tonic-gate #define	CDRW_AUTH		"solaris.device.cdrw"
457c478bd9Sstevel@tonic-gate #define	CRONADMIN_AUTH		"solaris.jobs.admin"
467c478bd9Sstevel@tonic-gate #define	CRONUSER_AUTH		"solaris.jobs.user"
477c478bd9Sstevel@tonic-gate #define	DEFAULT_DEV_ALLOC_AUTH	"solaris.device.allocate"
487c478bd9Sstevel@tonic-gate #define	DEVICE_REVOKE_AUTH	"solaris.device.revoke"
49b00044a2SJames Carlson #define	LINK_SEC_AUTH		"solaris.network.link.security"
507c478bd9Sstevel@tonic-gate #define	MAILQ_AUTH		"solaris.mail.mailq"
51dbed73cbSSangeeta Misra #define	NET_ILB_CONFIG_AUTH	"solaris.network.ilb.config"
52dbed73cbSSangeeta Misra #define	NET_ILB_ENABLE_AUTH	"solaris.network.ilb.enable"
537c478bd9Sstevel@tonic-gate #define	SET_DATE_AUTH		"solaris.system.date"
54516fc7f3Shx147065 #define	WIFI_CONFIG_AUTH	"solaris.network.wifi.config"
55516fc7f3Shx147065 #define	WIFI_WEP_AUTH		"solaris.network.wifi.wep"
5626947304SEvan Yan #define	HP_MODIFY_AUTH		"solaris.hotplug.modify"
577c478bd9Sstevel@tonic-gate 
5845916cd2Sjpk /*
59cb8a054bSGlenn Faden  * The following authorizations can be qualified by appending <zonename>
60cb8a054bSGlenn Faden  */
61cb8a054bSGlenn Faden #define	ZONE_CLONEFROM_AUTH	"solaris.zone.clonefrom"
62cb8a054bSGlenn Faden #define	ZONE_LOGIN_AUTH		"solaris.zone.login"
63cb8a054bSGlenn Faden #define	ZONE_MANAGE_AUTH	"solaris.zone.manage"
64cb8a054bSGlenn Faden 
65cb8a054bSGlenn Faden #define	ZONE_AUTH_PREFIX	"solaris.zone."
66cb8a054bSGlenn Faden 
67cb8a054bSGlenn Faden /*
68cb8a054bSGlenn Faden  * Authorizations used by Trusted Extensions.
6945916cd2Sjpk  */
7045916cd2Sjpk #define	BYPASS_FILE_VIEW_AUTH	"solaris.label.win.noview"
7145916cd2Sjpk #define	DEVICE_CONFIG_AUTH	"solaris.device.config"
7245916cd2Sjpk #define	FILE_CHOWN_AUTH		"solaris.file.chown"
7345916cd2Sjpk #define	FILE_DOWNGRADE_SL_AUTH	"solaris.label.file.downgrade"
7445916cd2Sjpk #define	FILE_OWNER_AUTH		"solaris.file.owner"
7545916cd2Sjpk #define	FILE_UPGRADE_SL_AUTH	"solaris.label.file.upgrade"
7612f130f2Sgww #define	MAINTENANCE_AUTH	"solaris.system.maintenance"
7745916cd2Sjpk #define	PRINT_ADMIN_AUTH	"solaris.print.admin"
7845916cd2Sjpk #define	PRINT_CANCEL_AUTH	"solaris.print.cancel"
7945916cd2Sjpk #define	PRINT_LIST_AUTH		"solaris.print.list"
8045916cd2Sjpk #define	PRINT_MAC_AUTH		"solaris.label.print"
8145916cd2Sjpk #define	PRINT_NOBANNER_AUTH	"solaris.print.nobanner"
8245916cd2Sjpk #define	PRINT_POSTSCRIPT_AUTH	"solaris.print.ps"
8345916cd2Sjpk #define	PRINT_UNLABELED_AUTH	"solaris.print.unlabeled"
8445916cd2Sjpk #define	SHUTDOWN_AUTH		"solaris.system.shutdown"
8545916cd2Sjpk #define	SYS_ACCRED_SET_AUTH	"solaris.label.range"
866ba597c5SAnurag S. Maskey #define	SYSEVENT_READ_AUTH	"solaris.system.sysevent.read"
876ba597c5SAnurag S. Maskey #define	SYSEVENT_WRITE_AUTH	"solaris.system.sysevent.write"
8845916cd2Sjpk #define	WIN_DOWNGRADE_SL_AUTH	"solaris.label.win.downgrade"
8945916cd2Sjpk #define	WIN_UPGRADE_SL_AUTH	"solaris.label.win.upgrade"
9045916cd2Sjpk 
917c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
927c478bd9Sstevel@tonic-gate }
937c478bd9Sstevel@tonic-gate #endif
947c478bd9Sstevel@tonic-gate 
957c478bd9Sstevel@tonic-gate #endif	/* _AUTH_LIST_H */
96