xref: /onnv-gate/usr/src/head/auth_list.h (revision 12582:4a05f6f7bc8c)
10Sstevel@tonic-gate /*
20Sstevel@tonic-gate  * CDDL HEADER START
30Sstevel@tonic-gate  *
40Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
51676Sjpk  * Common Development and Distribution License (the "License").
61676Sjpk  * You may not use this file except in compliance with the License.
70Sstevel@tonic-gate  *
80Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate  * See the License for the specific language governing permissions
110Sstevel@tonic-gate  * and limitations under the License.
120Sstevel@tonic-gate  *
130Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate  *
190Sstevel@tonic-gate  * CDDL HEADER END
200Sstevel@tonic-gate  */
2112578SGlenn.Faden@Sun.COM 
220Sstevel@tonic-gate /*
23*12582SGlenn.Faden@Sun.COM  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
240Sstevel@tonic-gate  *
250Sstevel@tonic-gate  * This is an internal header file. Not to be shipped.
260Sstevel@tonic-gate  */
270Sstevel@tonic-gate 
280Sstevel@tonic-gate #ifndef	_AUTH_LIST_H
290Sstevel@tonic-gate #define	_AUTH_LIST_H
300Sstevel@tonic-gate 
310Sstevel@tonic-gate #ifdef	__cplusplus
320Sstevel@tonic-gate extern "C" {
330Sstevel@tonic-gate #endif
340Sstevel@tonic-gate 
350Sstevel@tonic-gate 
360Sstevel@tonic-gate /*
370Sstevel@tonic-gate  * Names of authorizations currently in use in the system
380Sstevel@tonic-gate  */
390Sstevel@tonic-gate 
4011767SAnurag.Maskey@Sun.COM #define	AUTOCONF_READ_AUTH	"solaris.network.autoconf.read"
4111767SAnurag.Maskey@Sun.COM #define	AUTOCONF_SELECT_AUTH	"solaris.network.autoconf.select"
4211767SAnurag.Maskey@Sun.COM #define	AUTOCONF_WLAN_AUTH	"solaris.network.autoconf.wlan"
4311767SAnurag.Maskey@Sun.COM #define	AUTOCONF_WRITE_AUTH	"solaris.network.autoconf.write"
440Sstevel@tonic-gate #define	CDRW_AUTH		"solaris.device.cdrw"
450Sstevel@tonic-gate #define	CRONADMIN_AUTH		"solaris.jobs.admin"
460Sstevel@tonic-gate #define	CRONUSER_AUTH		"solaris.jobs.user"
470Sstevel@tonic-gate #define	DEFAULT_DEV_ALLOC_AUTH	"solaris.device.allocate"
480Sstevel@tonic-gate #define	DEVICE_REVOKE_AUTH	"solaris.device.revoke"
497645Sjames.d.carlson@sun.com #define	LINK_SEC_AUTH		"solaris.network.link.security"
500Sstevel@tonic-gate #define	MAILQ_AUTH		"solaris.mail.mailq"
5110946SSangeeta.Misra@Sun.COM #define	NET_ILB_CONFIG_AUTH	"solaris.network.ilb.config"
5210946SSangeeta.Misra@Sun.COM #define	NET_ILB_ENABLE_AUTH	"solaris.network.ilb.enable"
530Sstevel@tonic-gate #define	SET_DATE_AUTH		"solaris.system.date"
54995Shx147065 #define	WIFI_CONFIG_AUTH	"solaris.network.wifi.config"
55995Shx147065 #define	WIFI_WEP_AUTH		"solaris.network.wifi.wep"
5610923SEvan.Yan@Sun.COM #define	HP_MODIFY_AUTH		"solaris.hotplug.modify"
570Sstevel@tonic-gate 
581676Sjpk /*
5912578SGlenn.Faden@Sun.COM  * The following authorizations can be qualified by appending <zonename>
6012578SGlenn.Faden@Sun.COM  */
6112578SGlenn.Faden@Sun.COM #define	ZONE_CLONEFROM_AUTH	"solaris.zone.clonefrom"
6212578SGlenn.Faden@Sun.COM #define	ZONE_LOGIN_AUTH		"solaris.zone.login"
6312578SGlenn.Faden@Sun.COM #define	ZONE_MANAGE_AUTH	"solaris.zone.manage"
6412578SGlenn.Faden@Sun.COM 
6512578SGlenn.Faden@Sun.COM #define	ZONE_AUTH_PREFIX	"solaris.zone."
6612578SGlenn.Faden@Sun.COM 
6712578SGlenn.Faden@Sun.COM /*
6812578SGlenn.Faden@Sun.COM  * Authorizations used by Trusted Extensions.
691676Sjpk  */
701676Sjpk #define	BYPASS_FILE_VIEW_AUTH	"solaris.label.win.noview"
711676Sjpk #define	DEVICE_CONFIG_AUTH	"solaris.device.config"
721676Sjpk #define	FILE_CHOWN_AUTH		"solaris.file.chown"
731676Sjpk #define	FILE_DOWNGRADE_SL_AUTH	"solaris.label.file.downgrade"
741676Sjpk #define	FILE_OWNER_AUTH		"solaris.file.owner"
751676Sjpk #define	FILE_UPGRADE_SL_AUTH	"solaris.label.file.upgrade"
767487Sgww@eng.sun.com #define	MAINTENANCE_AUTH	"solaris.system.maintenance"
771676Sjpk #define	PRINT_ADMIN_AUTH	"solaris.print.admin"
781676Sjpk #define	PRINT_CANCEL_AUTH	"solaris.print.cancel"
791676Sjpk #define	PRINT_LIST_AUTH		"solaris.print.list"
801676Sjpk #define	PRINT_MAC_AUTH		"solaris.label.print"
811676Sjpk #define	PRINT_NOBANNER_AUTH	"solaris.print.nobanner"
821676Sjpk #define	PRINT_POSTSCRIPT_AUTH	"solaris.print.ps"
831676Sjpk #define	PRINT_UNLABELED_AUTH	"solaris.print.unlabeled"
841676Sjpk #define	SHUTDOWN_AUTH		"solaris.system.shutdown"
851676Sjpk #define	SYS_ACCRED_SET_AUTH	"solaris.label.range"
8611767SAnurag.Maskey@Sun.COM #define	SYSEVENT_READ_AUTH	"solaris.system.sysevent.read"
8711767SAnurag.Maskey@Sun.COM #define	SYSEVENT_WRITE_AUTH	"solaris.system.sysevent.write"
881676Sjpk #define	WIN_DOWNGRADE_SL_AUTH	"solaris.label.win.downgrade"
891676Sjpk #define	WIN_UPGRADE_SL_AUTH	"solaris.label.win.upgrade"
901676Sjpk 
910Sstevel@tonic-gate #ifdef	__cplusplus
920Sstevel@tonic-gate }
930Sstevel@tonic-gate #endif
940Sstevel@tonic-gate 
950Sstevel@tonic-gate #endif	/* _AUTH_LIST_H */
96