[PATCH] selinux: add executable heap check
[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_FILE, FILE__EXECUTE_NO_TRANS, "execute_no_trans")
18    S_(SECCLASS_FILE, FILE__ENTRYPOINT, "entrypoint")
19    S_(SECCLASS_FILE, FILE__EXECMOD, "execmod")
20    S_(SECCLASS_CHR_FILE, CHR_FILE__EXECUTE_NO_TRANS, "execute_no_trans")
21    S_(SECCLASS_CHR_FILE, CHR_FILE__ENTRYPOINT, "entrypoint")
22    S_(SECCLASS_CHR_FILE, CHR_FILE__EXECMOD, "execmod")
23    S_(SECCLASS_FD, FD__USE, "use")
24    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__CONNECTTO, "connectto")
25    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__NEWCONN, "newconn")
26    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__ACCEPTFROM, "acceptfrom")
27    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__NODE_BIND, "node_bind")
28    S_(SECCLASS_TCP_SOCKET, TCP_SOCKET__NAME_CONNECT, "name_connect")
29    S_(SECCLASS_UDP_SOCKET, UDP_SOCKET__NODE_BIND, "node_bind")
30    S_(SECCLASS_RAWIP_SOCKET, RAWIP_SOCKET__NODE_BIND, "node_bind")
31    S_(SECCLASS_NODE, NODE__TCP_RECV, "tcp_recv")
32    S_(SECCLASS_NODE, NODE__TCP_SEND, "tcp_send")
33    S_(SECCLASS_NODE, NODE__UDP_RECV, "udp_recv")
34    S_(SECCLASS_NODE, NODE__UDP_SEND, "udp_send")
35    S_(SECCLASS_NODE, NODE__RAWIP_RECV, "rawip_recv")
36    S_(SECCLASS_NODE, NODE__RAWIP_SEND, "rawip_send")
37    S_(SECCLASS_NODE, NODE__ENFORCE_DEST, "enforce_dest")
38    S_(SECCLASS_NETIF, NETIF__TCP_RECV, "tcp_recv")
39    S_(SECCLASS_NETIF, NETIF__TCP_SEND, "tcp_send")
40    S_(SECCLASS_NETIF, NETIF__UDP_RECV, "udp_recv")
41    S_(SECCLASS_NETIF, NETIF__UDP_SEND, "udp_send")
42    S_(SECCLASS_NETIF, NETIF__RAWIP_RECV, "rawip_recv")
43    S_(SECCLASS_NETIF, NETIF__RAWIP_SEND, "rawip_send")
44    S_(SECCLASS_UNIX_STREAM_SOCKET, UNIX_STREAM_SOCKET__CONNECTTO, "connectto")
45    S_(SECCLASS_UNIX_STREAM_SOCKET, UNIX_STREAM_SOCKET__NEWCONN, "newconn")
46    S_(SECCLASS_UNIX_STREAM_SOCKET, UNIX_STREAM_SOCKET__ACCEPTFROM, "acceptfrom")
47    S_(SECCLASS_PROCESS, PROCESS__FORK, "fork")
48    S_(SECCLASS_PROCESS, PROCESS__TRANSITION, "transition")
49    S_(SECCLASS_PROCESS, PROCESS__SIGCHLD, "sigchld")
50    S_(SECCLASS_PROCESS, PROCESS__SIGKILL, "sigkill")
51    S_(SECCLASS_PROCESS, PROCESS__SIGSTOP, "sigstop")
52    S_(SECCLASS_PROCESS, PROCESS__SIGNULL, "signull")
53    S_(SECCLASS_PROCESS, PROCESS__SIGNAL, "signal")
54    S_(SECCLASS_PROCESS, PROCESS__PTRACE, "ptrace")
55    S_(SECCLASS_PROCESS, PROCESS__GETSCHED, "getsched")
56    S_(SECCLASS_PROCESS, PROCESS__SETSCHED, "setsched")
57    S_(SECCLASS_PROCESS, PROCESS__GETSESSION, "getsession")
58    S_(SECCLASS_PROCESS, PROCESS__GETPGID, "getpgid")
59    S_(SECCLASS_PROCESS, PROCESS__SETPGID, "setpgid")
60    S_(SECCLASS_PROCESS, PROCESS__GETCAP, "getcap")
61    S_(SECCLASS_PROCESS, PROCESS__SETCAP, "setcap")
62    S_(SECCLASS_PROCESS, PROCESS__SHARE, "share")
63    S_(SECCLASS_PROCESS, PROCESS__GETATTR, "getattr")
64    S_(SECCLASS_PROCESS, PROCESS__SETEXEC, "setexec")
65    S_(SECCLASS_PROCESS, PROCESS__SETFSCREATE, "setfscreate")
66    S_(SECCLASS_PROCESS, PROCESS__NOATSECURE, "noatsecure")
67    S_(SECCLASS_PROCESS, PROCESS__SIGINH, "siginh")
68    S_(SECCLASS_PROCESS, PROCESS__SETRLIMIT, "setrlimit")
69    S_(SECCLASS_PROCESS, PROCESS__RLIMITINH, "rlimitinh")
70    S_(SECCLASS_PROCESS, PROCESS__DYNTRANSITION, "dyntransition")
71    S_(SECCLASS_PROCESS, PROCESS__SETCURRENT, "setcurrent")
72    S_(SECCLASS_PROCESS, PROCESS__EXECMEM, "execmem")
73    S_(SECCLASS_PROCESS, PROCESS__EXECSTACK, "execstack")
74    S_(SECCLASS_PROCESS, PROCESS__EXECHEAP, "execheap")
75    S_(SECCLASS_MSGQ, MSGQ__ENQUEUE, "enqueue")
76    S_(SECCLASS_MSG, MSG__SEND, "send")
77    S_(SECCLASS_MSG, MSG__RECEIVE, "receive")
78    S_(SECCLASS_SHM, SHM__LOCK, "lock")
79    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_AV, "compute_av")
80    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_CREATE, "compute_create")
81    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_MEMBER, "compute_member")
82    S_(SECCLASS_SECURITY, SECURITY__CHECK_CONTEXT, "check_context")
83    S_(SECCLASS_SECURITY, SECURITY__LOAD_POLICY, "load_policy")
84    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_RELABEL, "compute_relabel")
85    S_(SECCLASS_SECURITY, SECURITY__COMPUTE_USER, "compute_user")
86    S_(SECCLASS_SECURITY, SECURITY__SETENFORCE, "setenforce")
87    S_(SECCLASS_SECURITY, SECURITY__SETBOOL, "setbool")
88    S_(SECCLASS_SECURITY, SECURITY__SETSECPARAM, "setsecparam")
89    S_(SECCLASS_SECURITY, SECURITY__SETCHECKREQPROT, "setcheckreqprot")
90    S_(SECCLASS_SYSTEM, SYSTEM__IPC_INFO, "ipc_info")
91    S_(SECCLASS_SYSTEM, SYSTEM__SYSLOG_READ, "syslog_read")
92    S_(SECCLASS_SYSTEM, SYSTEM__SYSLOG_MOD, "syslog_mod")
93    S_(SECCLASS_SYSTEM, SYSTEM__SYSLOG_CONSOLE, "syslog_console")
94    S_(SECCLASS_CAPABILITY, CAPABILITY__CHOWN, "chown")
95    S_(SECCLASS_CAPABILITY, CAPABILITY__DAC_OVERRIDE, "dac_override")
96    S_(SECCLASS_CAPABILITY, CAPABILITY__DAC_READ_SEARCH, "dac_read_search")
97    S_(SECCLASS_CAPABILITY, CAPABILITY__FOWNER, "fowner")
98    S_(SECCLASS_CAPABILITY, CAPABILITY__FSETID, "fsetid")
99    S_(SECCLASS_CAPABILITY, CAPABILITY__KILL, "kill")
100    S_(SECCLASS_CAPABILITY, CAPABILITY__SETGID, "setgid")
101    S_(SECCLASS_CAPABILITY, CAPABILITY__SETUID, "setuid")
102    S_(SECCLASS_CAPABILITY, CAPABILITY__SETPCAP, "setpcap")
103    S_(SECCLASS_CAPABILITY, CAPABILITY__LINUX_IMMUTABLE, "linux_immutable")
104    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_BIND_SERVICE, "net_bind_service")
105    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_BROADCAST, "net_broadcast")
106    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_ADMIN, "net_admin")
107    S_(SECCLASS_CAPABILITY, CAPABILITY__NET_RAW, "net_raw")
108    S_(SECCLASS_CAPABILITY, CAPABILITY__IPC_LOCK, "ipc_lock")
109    S_(SECCLASS_CAPABILITY, CAPABILITY__IPC_OWNER, "ipc_owner")
110    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_MODULE, "sys_module")
111    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_RAWIO, "sys_rawio")
112    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_CHROOT, "sys_chroot")
113    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_PTRACE, "sys_ptrace")
114    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_PACCT, "sys_pacct")
115    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_ADMIN, "sys_admin")
116    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_BOOT, "sys_boot")
117    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_NICE, "sys_nice")
118    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_RESOURCE, "sys_resource")
119    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_TIME, "sys_time")
120    S_(SECCLASS_CAPABILITY, CAPABILITY__SYS_TTY_CONFIG, "sys_tty_config")
121    S_(SECCLASS_CAPABILITY, CAPABILITY__MKNOD, "mknod")
122    S_(SECCLASS_CAPABILITY, CAPABILITY__LEASE, "lease")
123    S_(SECCLASS_CAPABILITY, CAPABILITY__AUDIT_WRITE, "audit_write")
124    S_(SECCLASS_CAPABILITY, CAPABILITY__AUDIT_CONTROL, "audit_control")
125    S_(SECCLASS_PASSWD, PASSWD__PASSWD, "passwd")
126    S_(SECCLASS_PASSWD, PASSWD__CHFN, "chfn")
127    S_(SECCLASS_PASSWD, PASSWD__CHSH, "chsh")
128    S_(SECCLASS_PASSWD, PASSWD__ROOTOK, "rootok")
129    S_(SECCLASS_PASSWD, PASSWD__CRONTAB, "crontab")
130    S_(SECCLASS_DRAWABLE, DRAWABLE__CREATE, "create")
131    S_(SECCLASS_DRAWABLE, DRAWABLE__DESTROY, "destroy")
132    S_(SECCLASS_DRAWABLE, DRAWABLE__DRAW, "draw")
133    S_(SECCLASS_DRAWABLE, DRAWABLE__COPY, "copy")
134    S_(SECCLASS_DRAWABLE, DRAWABLE__GETATTR, "getattr")
135    S_(SECCLASS_GC, GC__CREATE, "create")
136    S_(SECCLASS_GC, GC__FREE, "free")
137    S_(SECCLASS_GC, GC__GETATTR, "getattr")
138    S_(SECCLASS_GC, GC__SETATTR, "setattr")
139    S_(SECCLASS_WINDOW, WINDOW__ADDCHILD, "addchild")
140    S_(SECCLASS_WINDOW, WINDOW__CREATE, "create")
141    S_(SECCLASS_WINDOW, WINDOW__DESTROY, "destroy")
142    S_(SECCLASS_WINDOW, WINDOW__MAP, "map")
143    S_(SECCLASS_WINDOW, WINDOW__UNMAP, "unmap")
144    S_(SECCLASS_WINDOW, WINDOW__CHSTACK, "chstack")
145    S_(SECCLASS_WINDOW, WINDOW__CHPROPLIST, "chproplist")
146    S_(SECCLASS_WINDOW, WINDOW__CHPROP, "chprop")
147    S_(SECCLASS_WINDOW, WINDOW__LISTPROP, "listprop")
148    S_(SECCLASS_WINDOW, WINDOW__GETATTR, "getattr")
149    S_(SECCLASS_WINDOW, WINDOW__SETATTR, "setattr")
150    S_(SECCLASS_WINDOW, WINDOW__SETFOCUS, "setfocus")
151    S_(SECCLASS_WINDOW, WINDOW__MOVE, "move")
152    S_(SECCLASS_WINDOW, WINDOW__CHSELECTION, "chselection")
153    S_(SECCLASS_WINDOW, WINDOW__CHPARENT, "chparent")
154    S_(SECCLASS_WINDOW, WINDOW__CTRLLIFE, "ctrllife")
155    S_(SECCLASS_WINDOW, WINDOW__ENUMERATE, "enumerate")
156    S_(SECCLASS_WINDOW, WINDOW__TRANSPARENT, "transparent")
157    S_(SECCLASS_WINDOW, WINDOW__MOUSEMOTION, "mousemotion")
158    S_(SECCLASS_WINDOW, WINDOW__CLIENTCOMEVENT, "clientcomevent")
159    S_(SECCLASS_WINDOW, WINDOW__INPUTEVENT, "inputevent")
160    S_(SECCLASS_WINDOW, WINDOW__DRAWEVENT, "drawevent")
161    S_(SECCLASS_WINDOW, WINDOW__WINDOWCHANGEEVENT, "windowchangeevent")
162    S_(SECCLASS_WINDOW, WINDOW__WINDOWCHANGEREQUEST, "windowchangerequest")
163    S_(SECCLASS_WINDOW, WINDOW__SERVERCHANGEEVENT, "serverchangeevent")
164    S_(SECCLASS_WINDOW, WINDOW__EXTENSIONEVENT, "extensionevent")
165    S_(SECCLASS_FONT, FONT__LOAD, "load")
166    S_(SECCLASS_FONT, FONT__FREE, "free")
167    S_(SECCLASS_FONT, FONT__GETATTR, "getattr")
168    S_(SECCLASS_FONT, FONT__USE, "use")
169    S_(SECCLASS_COLORMAP, COLORMAP__CREATE, "create")
170    S_(SECCLASS_COLORMAP, COLORMAP__FREE, "free")
171    S_(SECCLASS_COLORMAP, COLORMAP__INSTALL, "install")
172    S_(SECCLASS_COLORMAP, COLORMAP__UNINSTALL, "uninstall")
173    S_(SECCLASS_COLORMAP, COLORMAP__LIST, "list")
174    S_(SECCLASS_COLORMAP, COLORMAP__READ, "read")
175    S_(SECCLASS_COLORMAP, COLORMAP__STORE, "store")
176    S_(SECCLASS_COLORMAP, COLORMAP__GETATTR, "getattr")
177    S_(SECCLASS_COLORMAP, COLORMAP__SETATTR, "setattr")
178    S_(SECCLASS_PROPERTY, PROPERTY__CREATE, "create")
179    S_(SECCLASS_PROPERTY, PROPERTY__FREE, "free")
180    S_(SECCLASS_PROPERTY, PROPERTY__READ, "read")
181    S_(SECCLASS_PROPERTY, PROPERTY__WRITE, "write")
182    S_(SECCLASS_CURSOR, CURSOR__CREATE, "create")
183    S_(SECCLASS_CURSOR, CURSOR__CREATEGLYPH, "createglyph")
184    S_(SECCLASS_CURSOR, CURSOR__FREE, "free")
185    S_(SECCLASS_CURSOR, CURSOR__ASSIGN, "assign")
186    S_(SECCLASS_CURSOR, CURSOR__SETATTR, "setattr")
187    S_(SECCLASS_XCLIENT, XCLIENT__KILL, "kill")
188    S_(SECCLASS_XINPUT, XINPUT__LOOKUP, "lookup")
189    S_(SECCLASS_XINPUT, XINPUT__GETATTR, "getattr")
190    S_(SECCLASS_XINPUT, XINPUT__SETATTR, "setattr")
191    S_(SECCLASS_XINPUT, XINPUT__SETFOCUS, "setfocus")
192    S_(SECCLASS_XINPUT, XINPUT__WARPPOINTER, "warppointer")
193    S_(SECCLASS_XINPUT, XINPUT__ACTIVEGRAB, "activegrab")
194    S_(SECCLASS_XINPUT, XINPUT__PASSIVEGRAB, "passivegrab")
195    S_(SECCLASS_XINPUT, XINPUT__UNGRAB, "ungrab")
196    S_(SECCLASS_XINPUT, XINPUT__BELL, "bell")
197    S_(SECCLASS_XINPUT, XINPUT__MOUSEMOTION, "mousemotion")
198    S_(SECCLASS_XINPUT, XINPUT__RELABELINPUT, "relabelinput")
199    S_(SECCLASS_XSERVER, XSERVER__SCREENSAVER, "screensaver")
200    S_(SECCLASS_XSERVER, XSERVER__GETHOSTLIST, "gethostlist")
201    S_(SECCLASS_XSERVER, XSERVER__SETHOSTLIST, "sethostlist")
202    S_(SECCLASS_XSERVER, XSERVER__GETFONTPATH, "getfontpath")
203    S_(SECCLASS_XSERVER, XSERVER__SETFONTPATH, "setfontpath")
204    S_(SECCLASS_XSERVER, XSERVER__GETATTR, "getattr")
205    S_(SECCLASS_XSERVER, XSERVER__GRAB, "grab")
206    S_(SECCLASS_XSERVER, XSERVER__UNGRAB, "ungrab")
207    S_(SECCLASS_XEXTENSION, XEXTENSION__QUERY, "query")
208    S_(SECCLASS_XEXTENSION, XEXTENSION__USE, "use")
209    S_(SECCLASS_PAX, PAX__PAGEEXEC, "pageexec")
210    S_(SECCLASS_PAX, PAX__EMUTRAMP, "emutramp")
211    S_(SECCLASS_PAX, PAX__MPROTECT, "mprotect")
212    S_(SECCLASS_PAX, PAX__RANDMMAP, "randmmap")
213    S_(SECCLASS_PAX, PAX__RANDEXEC, "randexec")
214    S_(SECCLASS_PAX, PAX__SEGMEXEC, "segmexec")
215    S_(SECCLASS_NETLINK_ROUTE_SOCKET, NETLINK_ROUTE_SOCKET__NLMSG_READ, "nlmsg_read")
216    S_(SECCLASS_NETLINK_ROUTE_SOCKET, NETLINK_ROUTE_SOCKET__NLMSG_WRITE, "nlmsg_write")
217    S_(SECCLASS_NETLINK_FIREWALL_SOCKET, NETLINK_FIREWALL_SOCKET__NLMSG_READ, "nlmsg_read")
218    S_(SECCLASS_NETLINK_FIREWALL_SOCKET, NETLINK_FIREWALL_SOCKET__NLMSG_WRITE, "nlmsg_write")
219    S_(SECCLASS_NETLINK_TCPDIAG_SOCKET, NETLINK_TCPDIAG_SOCKET__NLMSG_READ, "nlmsg_read")
220    S_(SECCLASS_NETLINK_TCPDIAG_SOCKET, NETLINK_TCPDIAG_SOCKET__NLMSG_WRITE, "nlmsg_write")
221    S_(SECCLASS_NETLINK_XFRM_SOCKET, NETLINK_XFRM_SOCKET__NLMSG_READ, "nlmsg_read")
222    S_(SECCLASS_NETLINK_XFRM_SOCKET, NETLINK_XFRM_SOCKET__NLMSG_WRITE, "nlmsg_write")
223    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_READ, "nlmsg_read")
224    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_WRITE, "nlmsg_write")
225    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_RELAY, "nlmsg_relay")
226    S_(SECCLASS_NETLINK_AUDIT_SOCKET, NETLINK_AUDIT_SOCKET__NLMSG_READPRIV, "nlmsg_readpriv")
227    S_(SECCLASS_NETLINK_IP6FW_SOCKET, NETLINK_IP6FW_SOCKET__NLMSG_READ, "nlmsg_read")
228    S_(SECCLASS_NETLINK_IP6FW_SOCKET, NETLINK_IP6FW_SOCKET__NLMSG_WRITE, "nlmsg_write")
229    S_(SECCLASS_DBUS, DBUS__ACQUIRE_SVC, "acquire_svc")
230    S_(SECCLASS_DBUS, DBUS__SEND_MSG, "send_msg")
231    S_(SECCLASS_NSCD, NSCD__GETPWD, "getpwd")
232    S_(SECCLASS_NSCD, NSCD__GETGRP, "getgrp")
233    S_(SECCLASS_NSCD, NSCD__GETHOST, "gethost")
234    S_(SECCLASS_NSCD, NSCD__GETSTAT, "getstat")
235    S_(SECCLASS_NSCD, NSCD__ADMIN, "admin")
236    S_(SECCLASS_NSCD, NSCD__SHMEMPWD, "shmempwd")
237    S_(SECCLASS_NSCD, NSCD__SHMEMGRP, "shmemgrp")
238    S_(SECCLASS_NSCD, NSCD__SHMEMHOST, "shmemhost")
239    S_(SECCLASS_ASSOCIATION, ASSOCIATION__SENDTO, "sendto")
240    S_(SECCLASS_ASSOCIATION, ASSOCIATION__RECVFROM, "recvfrom")