xref: /onnv-gate/usr/src/uts/common/sys/tsol/tsyscall.h (revision 1676:37f4a3e2bd99)
1*1676Sjpk /*
2*1676Sjpk  * CDDL HEADER START
3*1676Sjpk  *
4*1676Sjpk  * The contents of this file are subject to the terms of the
5*1676Sjpk  * Common Development and Distribution License (the "License").
6*1676Sjpk  * You may not use this file except in compliance with the License.
7*1676Sjpk  *
8*1676Sjpk  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*1676Sjpk  * or http://www.opensolaris.org/os/licensing.
10*1676Sjpk  * See the License for the specific language governing permissions
11*1676Sjpk  * and limitations under the License.
12*1676Sjpk  *
13*1676Sjpk  * When distributing Covered Code, include this CDDL HEADER in each
14*1676Sjpk  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*1676Sjpk  * If applicable, add the following below this CDDL HEADER, with the
16*1676Sjpk  * fields enclosed by brackets "[]" replaced with your own identifying
17*1676Sjpk  * information: Portions Copyright [yyyy] [name of copyright owner]
18*1676Sjpk  *
19*1676Sjpk  * CDDL HEADER END
20*1676Sjpk  */
21*1676Sjpk /*
22*1676Sjpk  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*1676Sjpk  * Use is subject to license terms.
24*1676Sjpk  */
25*1676Sjpk 
26*1676Sjpk #ifndef	_SYS_TSOL_TSYSCALL_H
27*1676Sjpk #define	_SYS_TSOL_TSYSCALL_H
28*1676Sjpk 
29*1676Sjpk #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*1676Sjpk 
31*1676Sjpk #ifdef	__cplusplus
32*1676Sjpk extern "C" {
33*1676Sjpk #endif
34*1676Sjpk 
35*1676Sjpk /*
36*1676Sjpk  * the defines for subcode of labelsys system call.
37*1676Sjpk  */
38*1676Sjpk 
39*1676Sjpk #define	TSOL_SYSLABELING	1
40*1676Sjpk #define	TSOL_TNRH		2
41*1676Sjpk #define	TSOL_TNRHTP		3
42*1676Sjpk #define	TSOL_TNMLP		4
43*1676Sjpk #define	TSOL_GETLABEL		5
44*1676Sjpk #define	TSOL_FGETLABEL		6
45*1676Sjpk 
46*1676Sjpk #ifdef	__cplusplus
47*1676Sjpk }
48*1676Sjpk #endif
49*1676Sjpk 
50*1676Sjpk #endif	/* _SYS_TSOL_TSYSCALL_H */
51