X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=security%2Fselinux%2Finclude%2Fclass_to_string.h;h=519a77d7394a4e4c798ad8d955630f9a739bb558;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=ce33ff3e600bf5a9e1ef99107dc4d5a9ce6cafa4;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/security/selinux/include/class_to_string.h b/security/selinux/include/class_to_string.h index ce33ff3e6..519a77d73 100644 --- a/security/selinux/include/class_to_string.h +++ b/security/selinux/include/class_to_string.h @@ -2,38 +2,57 @@ /* * Security object class definitions */ -static char *class_to_string[] = -{ - "null", - "security", - "process", - "system", - "capability", - "filesystem", - "file", - "dir", - "fd", - "lnk_file", - "chr_file", - "blk_file", - "sock_file", - "fifo_file", - "socket", - "tcp_socket", - "udp_socket", - "rawip_socket", - "node", - "netif", - "netlink_socket", - "packet_socket", - "key_socket", - "unix_stream_socket", - "unix_dgram_socket", - "sem", - "msg", - "msgq", - "shm", - "ipc", - "passwd", -}; - + S_("null") + S_("security") + S_("process") + S_("system") + S_("capability") + S_("filesystem") + S_("file") + S_("dir") + S_("fd") + S_("lnk_file") + S_("chr_file") + S_("blk_file") + S_("sock_file") + S_("fifo_file") + S_("socket") + S_("tcp_socket") + S_("udp_socket") + S_("rawip_socket") + S_("node") + S_("netif") + S_("netlink_socket") + S_("packet_socket") + S_("key_socket") + S_("unix_stream_socket") + S_("unix_dgram_socket") + S_("sem") + S_("msg") + S_("msgq") + S_("shm") + S_("ipc") + S_("passwd") + S_("drawable") + S_("window") + S_("gc") + S_("font") + S_("colormap") + S_("property") + S_("cursor") + S_("xclient") + S_("xinput") + S_("xserver") + S_("xextension") + S_("pax") + S_("netlink_route_socket") + S_("netlink_firewall_socket") + S_("netlink_tcpdiag_socket") + S_("netlink_nflog_socket") + S_("netlink_xfrm_socket") + S_("netlink_selinux_socket") + S_("netlink_audit_socket") + S_("netlink_ip6fw_socket") + S_("netlink_dnrt_socket") + S_("dbus") + S_("nscd")