1 /* This file is automatically generated. Do not edit. */
2 #ifndef _SELINUX_FLASK_H_
3 #define _SELINUX_FLASK_H_
6 * Security object class definitions
8 #define SECCLASS_SECURITY 1
9 #define SECCLASS_PROCESS 2
10 #define SECCLASS_SYSTEM 3
11 #define SECCLASS_CAPABILITY 4
12 #define SECCLASS_FILESYSTEM 5
13 #define SECCLASS_FILE 6
14 #define SECCLASS_DIR 7
16 #define SECCLASS_LNK_FILE 9
17 #define SECCLASS_CHR_FILE 10
18 #define SECCLASS_BLK_FILE 11
19 #define SECCLASS_SOCK_FILE 12
20 #define SECCLASS_FIFO_FILE 13
21 #define SECCLASS_SOCKET 14
22 #define SECCLASS_TCP_SOCKET 15
23 #define SECCLASS_UDP_SOCKET 16
24 #define SECCLASS_RAWIP_SOCKET 17
25 #define SECCLASS_NODE 18
26 #define SECCLASS_NETIF 19
27 #define SECCLASS_NETLINK_SOCKET 20
28 #define SECCLASS_PACKET_SOCKET 21
29 #define SECCLASS_KEY_SOCKET 22
30 #define SECCLASS_UNIX_STREAM_SOCKET 23
31 #define SECCLASS_UNIX_DGRAM_SOCKET 24
32 #define SECCLASS_SEM 25
33 #define SECCLASS_MSG 26
34 #define SECCLASS_MSGQ 27
35 #define SECCLASS_SHM 28
36 #define SECCLASS_IPC 29
37 #define SECCLASS_PASSWD 30
40 * Security identifier indices for initial entities
42 #define SECINITSID_KERNEL 1
43 #define SECINITSID_SECURITY 2
44 #define SECINITSID_UNLABELED 3
45 #define SECINITSID_FS 4
46 #define SECINITSID_FILE 5
47 #define SECINITSID_FILE_LABELS 6
48 #define SECINITSID_INIT 7
49 #define SECINITSID_ANY_SOCKET 8
50 #define SECINITSID_PORT 9
51 #define SECINITSID_NETIF 10
52 #define SECINITSID_NETMSG 11
53 #define SECINITSID_NODE 12
54 #define SECINITSID_IGMP_PACKET 13
55 #define SECINITSID_ICMP_SOCKET 14
56 #define SECINITSID_TCP_SOCKET 15
57 #define SECINITSID_SYSCTL_MODPROBE 16
58 #define SECINITSID_SYSCTL 17
59 #define SECINITSID_SYSCTL_FS 18
60 #define SECINITSID_SYSCTL_KERNEL 19
61 #define SECINITSID_SYSCTL_NET 20
62 #define SECINITSID_SYSCTL_NET_UNIX 21
63 #define SECINITSID_SYSCTL_VM 22
64 #define SECINITSID_SYSCTL_DEV 23
65 #define SECINITSID_KMOD 24
66 #define SECINITSID_POLICY 25
67 #define SECINITSID_SCMP_PACKET 26
68 #define SECINITSID_DEVNULL 27
70 #define SECINITSID_NUM 27