SELinux: open perm for sock files
[linux-2.6.git] / security / selinux / include / av_perm_to_string.h
1 /* This file is automatically generated.  Do not edit. */
2    S_(SECCLASS_FILESYSTEM, FILESYSTEM__MOUNT, "mount")
3    S_(SECCLASS_FILESYSTEM, FILESYSTEM__REMOUNT, "remount")
4    S_(SECCLASS_FILESYSTEM, FILESYSTEM__UNMOUNT, "unmount")
5    S_(SECCLASS_FILESYSTEM, FILESYSTEM__GETATTR, "getattr")
6    S_(SECCLASS_FILESYSTEM, FILESYSTEM__RELABELFROM, "relabelfrom")
7    S_(SECCLASS_FILESYSTEM, FILESYSTEM__RELABELTO, "relabelto")
8    S_(SECCLASS_FILESYSTEM, FILESYSTEM__TRANSITION, "transition")
9    S_(SECCLASS_FILESYSTEM, FILESYSTEM__ASSOCIATE, "associate")
10    S_(SECCLASS_FILESYSTEM, FILESYSTEM__QUOTAMOD, "quotamod")
11    S_(SECCLASS_FILESYSTEM, FILESYSTEM__QUOTAGET, "quotaget")
12    S_(SECCLASS_DIR, DIR__ADD_NAME, "add_name")
13    S_(SECCLASS_DIR, DIR__REMOVE_NAME, "remove_name")
14    S_(SECCLASS_DIR, DIR__REPARENT, "reparent")
15    S_(SECCLASS_DIR, DIR__SEARCH, "search")
16    S_(SECCLASS_DIR, DIR__RMDIR, "rmdir")
17    S_(SECCLASS_DIR, DIR__OPEN, "open")
18    S_(SECCLASS_FILE, FILE__EXECUTE_NO_TRANS, "execute_no_trans")
19    S_(SECCLASS_FILE, FILE__ENTRYPOINT, "entrypoint")
20    S_(SECCLASS_FILE, FILE__EXECMOD, "execmod")
21    S_(SECCLASS_FILE, FILE__OPEN, "open")
22    S_(SECCLASS_CHR_FILE, CHR_FILE__EXECUTE_NO_TRANS, "execute_no_trans")
23    S_(SECCLASS_CHR_FILE, CHR_FILE__ENTRYPOINT, "entrypoint")
24    S_(SECCLASS_CHR_FILE, CHR_FILE__EXECMOD, "execmod")
25    S_(SECCLASS_CHR_FILE, CHR_FILE__OPEN, "open")
26    S_(SECCLASS_BLK_FILE, BLK_FILE__OPEN, "open")
27    S_(SECCLASS_SOCK_FILE, SOCK_FILE__OPEN, "open")
28    S_(SECCLASS_FIFO_FILE, FIFO_FILE__OPEN, "open")
29    S_(SECCLASS_FD, FD__USE, "use")
30    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__CONNECTTO, "connectto")
31    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__NEWCONN, "newconn")
32    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__ACCEPTFROM, "acceptfrom")
33    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__NODE_BIND, "node_bind")
34    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__NAME_CONNECT, "name_connect")
35    S_(SECCLASS_UDP_SOCKET, UDP_SOCKET__NODE_BIND, "node_bind")
36    S_(SECCLASS_RAWIP_SOCKET, RAWIP_SOCKET__NODE_BIND, "node_bind")
37    S_(SECCLASS_NODE, NODE__TCP_RECV, "tcp_recv")
38    S_(SECCLASS_NODE, NODE__TCP_SEND, "tcp_send")
39    S_(SECCLASS_NODE, NODE__UDP_RECV, "udp_recv")
40    S_(SECCLASS_NODE, NODE__UDP_SEND, "udp_send")
41    S_(SECCLASS_NODE, NODE__RAWIP_RECV, "rawip_recv")
42    S_(SECCLASS_NODE, NODE__RAWIP_SEND, "rawip_send")
43    S_(SECCLASS_NODE, NODE__ENFORCE_DEST, "enforce_dest")
44    S_(SECCLASS_NODE, NODE__DCCP_RECV, "dccp_recv")
45    S_(SECCLASS_NODE, NODE__DCCP_SEND, "dccp_send")
46    S_(SECCLASS_NODE, NODE__RECVFROM, "recvfrom")
47    S_(SECCLASS_NODE, NODE__SENDTO, "sendto")
48    S_(SECCLASS_NETIF, NETIF__TCP_RECV, "tcp_recv")
49    S_(SECCLASS_NETIF, NETIF__TCP_SEND, "tcp_send")
50    S_(SECCLASS_NETIF, NETIF__UDP_RECV, "udp_recv")
51    S_(SECCLASS_NETIF, NETIF__UDP_SEND, "udp_send")
52    S_(SECCLASS_NETIF, NETIF__RAWIP_RECV, "rawip_recv")
53    S_(SECCLASS_NETIF, NETIF__RAWIP_SEND, "rawip_send")
54    S_(SECCLASS_NETIF, NETIF__DCCP_RECV, "dccp_recv")
55    S_(SECCLASS_NETIF, NETIF__DCCP_SEND, "dccp_send")
56    S_(SECCLASS_NETIF, NETIF__INGRESS, "ingress")
57    S_(SECCLASS_NETIF, NETIF__EGRESS, "egress")
58    S_(SECCLASS_UNIX_STREAM_SOCKET, UNIX_STREAM_SOCKET__CONNECTTO, "connectto")
59    S_(SECCLASS_UNIX_STREAM_SOCKET, UNIX_STREAM_SOCKET__NEWCONN, "newconn")
60    S_(SECCLASS_UNIX_STREAM_SOCKET, UNIX_STREAM_SOCKET__ACCEPTFROM, "acceptfrom")
61    S_(SECCLASS_PROCESS, PROCESS__FORK, "fork")
62    S_(SECCLASS_PROCESS, PROCESS__TRANSITION, "transition")
63    S_(SECCLASS_PROCESS, PROCESS__SIGCHLD, "sigchld")
64    S_(SECCLASS_PROCESS, PROCESS__SIGKILL, "sigkill")
65    S_(SECCLASS_PROCESS, PROCESS__SIGSTOP, "sigstop")
66    S_(SECCLASS_PROCESS, PROCESS__SIGNULL, "signull")
67    S_(SECCLASS_PROCESS, PROCESS__SIGNAL, "signal")
68    S_(SECCLASS_PROCESS, PROCESS__PTRACE, "ptrace")
69    S_(SECCLASS_PROCESS, PROCESS__GETSCHED, "getsched")
70    S_(SECCLASS_PROCESS, PROCESS__SETSCHED, "setsched")
71    S_(SECCLASS_PROCESS, PROCESS__GETSESSION, "getsession")
72    S_(SECCLASS_PROCESS, PROCESS__GETPGID, "getpgid")
73    S_(SECCLASS_PROCESS, PROCESS__SETPGID, "setpgid")
74    S_(SECCLASS_PROCESS, PROCESS__GETCAP, "getcap")
75    S_(SECCLASS_PROCESS, PROCESS__SETCAP, "setcap")
76    S_(SECCLASS_PROCESS, PROCESS__SHARE, "share")
77    S_(SECCLASS_PROCESS, PROCESS__GETATTR, "getattr")
78    S_(SECCLASS_PROCESS, PROCESS__SETEXEC, "setexec")
79    S_(SECCLASS_PROCESS, PROCESS__SETFSCREATE, "setfscreate")
80    S_(SECCLASS_PROCESS, PROCESS__NOATSECURE, "noatsecure")
81    S_(SECCLASS_PROCESS, PROCESS__SIGINH, "siginh")
82    S_(SECCLASS_PROCESS, PROCESS__SETRLIMIT, "setrlimit")
83    S_(SECCLASS_PROCESS, PROCESS__RLIMITINH, "rlimitinh")
84    S_(SECCLASS_PROCESS, PROCESS__DYNTRANSITION, "dyntransition")
85    S_(SECCLASS_PROCESS, PROCESS__SETCURRENT, "setcurrent")
86    S_(SECCLASS_PROCESS, PROCESS__EXECMEM, "execmem")
87    S_(SECCLASS_PROCESS, PROCESS__EXECSTACK, "execstack")
88    S_(SECCLASS_PROCESS, PROCESS__EXECHEAP, "execheap")
89    S_(SECCLASS_PROCESS, PROCESS__SETKEYCREATE, "setkeycreate")
90    S_(SECCLASS_PROCESS, PROCESS__SETSOCKCREATE, "setsockcreate")
91    S_(SECCLASS_MSGQ, MSGQ__ENQUEUE, "enqueue")
92    S_(SECCLASS_MSG, MSG__SEND, "send")
93    S_(SECCLASS_MSG, MSG__RECEIVE, "receive")
94    S_(SECCLASS_SHM, SHM__LOCK, "lock")
95    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_AV, "compute_av")
96    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_CREATE, "compute_create")
97    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_MEMBER, "compute_member")
98    S_(SECCLASS_SECURITY, SECURITY__CHECK_CONTEXT, "check_context")
99    S_(SECCLASS_SECURITY, SECURITY__LOAD_POLICY, "load_policy")
100    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_RELABEL, "compute_relabel")
101    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_USER, "compute_user")
102    S_(SECCLASS_SECURITY, SECURITY__SETENFORCE, "setenforce")
103    S_(SECCLASS_SECURITY, SECURITY__SETBOOL, "setbool")
104    S_(SECCLASS_SECURITY, SECURITY__SETSECPARAM, "setsecparam")
105    S_(SECCLASS_SECURITY, SECURITY__SETCHECKREQPROT, "setcheckreqprot")
106    S_(SECCLASS_SYSTEM, SYSTEM__IPC_INFO, "ipc_info")
107    S_(SECCLASS_SYSTEM, SYSTEM__SYSLOG_READ, "syslog_read")
108    S_(SECCLASS_SYSTEM, SYSTEM__SYSLOG_MOD, "syslog_mod")
109    S_(SECCLASS_SYSTEM, SYSTEM__SYSLOG_CONSOLE, "syslog_console")
110    S_(SECCLASS_CAPABILITY, CAPABILITY__CHOWN, "chown")
111    S_(SECCLASS_CAPABILITY, CAPABILITY__DAC_OVERRIDE, "dac_override")
112    S_(SECCLASS_CAPABILITY, CAPABILITY__DAC_READ_SEARCH, "dac_read_search")
113    S_(SECCLASS_CAPABILITY, CAPABILITY__FOWNER, "fowner")
114    S_(SECCLASS_CAPABILITY, CAPABILITY__FSETID, "fsetid")
115    S_(SECCLASS_CAPABILITY, CAPABILITY__KILL, "kill")
116    S_(SECCLASS_CAPABILITY, CAPABILITY__SETGID, "setgid")
117    S_(SECCLASS_CAPABILITY, CAPABILITY__SETUID, "setuid")
118    S_(SECCLASS_CAPABILITY, CAPABILITY__SETPCAP, "setpcap")
119    S_(SECCLASS_CAPABILITY, CAPABILITY__LINUX_IMMUTABLE, "linux_immutable")
120    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_BIND_SERVICE, "net_bind_service")
121    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_BROADCAST, "net_broadcast")
122    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_ADMIN, "net_admin")
123    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_RAW, "net_raw")
124    S_(SECCLASS_CAPABILITY, CAPABILITY__IPC_LOCK, "ipc_lock")
125    S_(SECCLASS_CAPABILITY, CAPABILITY__IPC_OWNER, "ipc_owner")
126    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_MODULE, "sys_module")
127    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_RAWIO, "sys_rawio")
128    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_CHROOT, "sys_chroot")
129    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_PTRACE, "sys_ptrace")
130    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_PACCT, "sys_pacct")
131    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_ADMIN, "sys_admin")
132    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_BOOT, "sys_boot")
133    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_NICE, "sys_nice")
134    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_RESOURCE, "sys_resource")
135    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_TIME, "sys_time")
136    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_TTY_CONFIG, "sys_tty_config")
137    S_(SECCLASS_CAPABILITY, CAPABILITY__MKNOD, "mknod")
138    S_(SECCLASS_CAPABILITY, CAPABILITY__LEASE, "lease")
139    S_(SECCLASS_CAPABILITY, CAPABILITY__AUDIT_WRITE, "audit_write")
140    S_(SECCLASS_CAPABILITY, CAPABILITY__AUDIT_CONTROL, "audit_control")
141    S_(SECCLASS_CAPABILITY, CAPABILITY__SETFCAP, "setfcap")
142    S_(SECCLASS_CAPABILITY2, CAPABILITY2__MAC_OVERRIDE, "mac_override")
143    S_(SECCLASS_CAPABILITY2, CAPABILITY2__MAC_ADMIN, "mac_admin")
144    S_(SECCLASS_NETLINK_ROUTE_SOCKET, NETLINK_ROUTE_SOCKET__NLMSG_READ, "nlmsg_read")
145    S_(SECCLASS_NETLINK_ROUTE_SOCKET, NETLINK_ROUTE_SOCKET__NLMSG_WRITE, "nlmsg_write")
146    S_(SECCLASS_NETLINK_FIREWALL_SOCKET, NETLINK_FIREWALL_SOCKET__NLMSG_READ, "nlmsg_read")
147    S_(SECCLASS_NETLINK_FIREWALL_SOCKET, NETLINK_FIREWALL_SOCKET__NLMSG_WRITE, "nlmsg_write")
148    S_(SECCLASS_NETLINK_TCPDIAG_SOCKET, NETLINK_TCPDIAG_SOCKET__NLMSG_READ, "nlmsg_read")
149    S_(SECCLASS_NETLINK_TCPDIAG_SOCKET, NETLINK_TCPDIAG_SOCKET__NLMSG_WRITE, "nlmsg_write")
150    S_(SECCLASS_NETLINK_XFRM_SOCKET, NETLINK_XFRM_SOCKET__NLMSG_READ, "nlmsg_read")
151    S_(SECCLASS_NETLINK_XFRM_SOCKET, NETLINK_XFRM_SOCKET__NLMSG_WRITE, "nlmsg_write")
152    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_READ, "nlmsg_read")
153    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_WRITE, "nlmsg_write")
154    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_RELAY, "nlmsg_relay")
155    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_READPRIV, "nlmsg_readpriv")
156    S_(SECCLASS_NETLINK_IP6FW_SOCKET, NETLINK_IP6FW_SOCKET__NLMSG_READ, "nlmsg_read")
157    S_(SECCLASS_NETLINK_IP6FW_SOCKET, NETLINK_IP6FW_SOCKET__NLMSG_WRITE, "nlmsg_write")
158    S_(SECCLASS_ASSOCIATION, ASSOCIATION__SENDTO, "sendto")
159    S_(SECCLASS_ASSOCIATION, ASSOCIATION__RECVFROM, "recvfrom")
160    S_(SECCLASS_ASSOCIATION, ASSOCIATION__SETCONTEXT, "setcontext")
161    S_(SECCLASS_ASSOCIATION, ASSOCIATION__POLMATCH, "polmatch")
162    S_(SECCLASS_PACKET, PACKET__SEND, "send")
163    S_(SECCLASS_PACKET, PACKET__RECV, "recv")
164    S_(SECCLASS_PACKET, PACKET__RELABELTO, "relabelto")
165    S_(SECCLASS_PACKET, PACKET__FLOW_IN, "flow_in")
166    S_(SECCLASS_PACKET, PACKET__FLOW_OUT, "flow_out")
167    S_(SECCLASS_PACKET, PACKET__FORWARD_IN, "forward_in")
168    S_(SECCLASS_PACKET, PACKET__FORWARD_OUT, "forward_out")
169    S_(SECCLASS_KEY, KEY__VIEW, "view")
170    S_(SECCLASS_KEY, KEY__READ, "read")
171    S_(SECCLASS_KEY, KEY__WRITE, "write")
172    S_(SECCLASS_KEY, KEY__SEARCH, "search")
173    S_(SECCLASS_KEY, KEY__LINK, "link")
174    S_(SECCLASS_KEY, KEY__SETATTR, "setattr")
175    S_(SECCLASS_KEY, KEY__CREATE, "create")
176    S_(SECCLASS_DCCP_SOCKET, DCCP_SOCKET__NODE_BIND, "node_bind")
177    S_(SECCLASS_DCCP_SOCKET, DCCP_SOCKET__NAME_CONNECT, "name_connect")
178    S_(SECCLASS_MEMPROTECT, MEMPROTECT__MMAP_ZERO, "mmap_zero")
179    S_(SECCLASS_PEER, PEER__RECV, "recv")
180    S_(SECCLASS_KERNEL_SERVICE, KERNEL_SERVICE__USE_AS_OVERRIDE, "use_as_override")
181    S_(SECCLASS_KERNEL_SERVICE, KERNEL_SERVICE__CREATE_FILES_AS, "create_files_as")