Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* This file is automatically generated. Do not edit. */ |
| 2 | #ifndef _SELINUX_FLASK_H_ |
| 3 | #define _SELINUX_FLASK_H_ |
| 4 | |
| 5 | /* |
| 6 | * Security object class definitions |
| 7 | */ |
| 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 |
| 15 | #define SECCLASS_FD 8 |
| 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | #define SECCLASS_NETLINK_ROUTE_SOCKET 43 |
| 38 | #define SECCLASS_NETLINK_FIREWALL_SOCKET 44 |
| 39 | #define SECCLASS_NETLINK_TCPDIAG_SOCKET 45 |
| 40 | #define SECCLASS_NETLINK_NFLOG_SOCKET 46 |
| 41 | #define SECCLASS_NETLINK_XFRM_SOCKET 47 |
| 42 | #define SECCLASS_NETLINK_SELINUX_SOCKET 48 |
| 43 | #define SECCLASS_NETLINK_AUDIT_SOCKET 49 |
| 44 | #define SECCLASS_NETLINK_IP6FW_SOCKET 50 |
| 45 | #define SECCLASS_NETLINK_DNRT_SOCKET 51 |
James Morris | 0c9b794 | 2005-04-16 15:24:13 -0700 | [diff] [blame] | 46 | #define SECCLASS_ASSOCIATION 54 |
| 47 | #define SECCLASS_NETLINK_KOBJECT_UEVENT_SOCKET 55 |
Christopher J. PeBenito | 3e3ff15 | 2006-06-09 00:25:03 -0700 | [diff] [blame] | 48 | #define SECCLASS_APPLETALK_SOCKET 56 |
James Morris | 29a395e | 2006-06-09 00:27:28 -0700 | [diff] [blame] | 49 | #define SECCLASS_PACKET 57 |
Michael LeMay | d720024 | 2006-06-22 14:47:17 -0700 | [diff] [blame] | 50 | #define SECCLASS_KEY 58 |
James Morris | 2ee92d4 | 2006-11-13 16:09:01 -0800 | [diff] [blame] | 51 | #define SECCLASS_DCCP_SOCKET 60 |
Eric Paris | ed03218 | 2007-06-28 15:55:21 -0400 | [diff] [blame] | 52 | #define SECCLASS_MEMPROTECT 61 |
Paul Moore | f67f4f3 | 2008-01-29 08:38:21 -0500 | [diff] [blame] | 53 | #define SECCLASS_PEER 68 |
Stephen Smalley | b68e418 | 2008-02-07 11:21:04 -0500 | [diff] [blame] | 54 | #define SECCLASS_CAPABILITY2 69 |
David Howells | 1bfdc75 | 2008-11-14 10:39:27 +1100 | [diff] [blame] | 55 | #define SECCLASS_KERNEL_SERVICE 74 |
Paul Moore | ed6d76e | 2009-08-28 18:12:49 -0400 | [diff] [blame] | 56 | #define SECCLASS_TUN_SOCKET 75 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | |
| 58 | /* |
| 59 | * Security identifier indices for initial entities |
| 60 | */ |
| 61 | #define SECINITSID_KERNEL 1 |
| 62 | #define SECINITSID_SECURITY 2 |
| 63 | #define SECINITSID_UNLABELED 3 |
| 64 | #define SECINITSID_FS 4 |
| 65 | #define SECINITSID_FILE 5 |
| 66 | #define SECINITSID_FILE_LABELS 6 |
| 67 | #define SECINITSID_INIT 7 |
| 68 | #define SECINITSID_ANY_SOCKET 8 |
| 69 | #define SECINITSID_PORT 9 |
| 70 | #define SECINITSID_NETIF 10 |
| 71 | #define SECINITSID_NETMSG 11 |
| 72 | #define SECINITSID_NODE 12 |
| 73 | #define SECINITSID_IGMP_PACKET 13 |
| 74 | #define SECINITSID_ICMP_SOCKET 14 |
| 75 | #define SECINITSID_TCP_SOCKET 15 |
| 76 | #define SECINITSID_SYSCTL_MODPROBE 16 |
| 77 | #define SECINITSID_SYSCTL 17 |
| 78 | #define SECINITSID_SYSCTL_FS 18 |
| 79 | #define SECINITSID_SYSCTL_KERNEL 19 |
| 80 | #define SECINITSID_SYSCTL_NET 20 |
| 81 | #define SECINITSID_SYSCTL_NET_UNIX 21 |
| 82 | #define SECINITSID_SYSCTL_VM 22 |
| 83 | #define SECINITSID_SYSCTL_DEV 23 |
| 84 | #define SECINITSID_KMOD 24 |
| 85 | #define SECINITSID_POLICY 25 |
| 86 | #define SECINITSID_SCMP_PACKET 26 |
| 87 | #define SECINITSID_DEVNULL 27 |
| 88 | |
| 89 | #define SECINITSID_NUM 27 |
| 90 | |
| 91 | #endif |