X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=security%2Fselinux%2Finclude%2Fav_inherit.h;h=9facb27822a1f537cffa828139cc8a75a6ca33fa;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=eb3f4e141b28225c100ad29e0ab29d1c95c864d9;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/security/selinux/include/av_inherit.h b/security/selinux/include/av_inherit.h index eb3f4e141..9facb2782 100644 --- a/security/selinux/include/av_inherit.h +++ b/security/selinux/include/av_inherit.h @@ -1,35 +1,30 @@ /* This file is automatically generated. Do not edit. */ -/* FLASK */ - -struct av_inherit -{ - u16 tclass; - char **common_pts; - u32 common_base; -}; - -static struct av_inherit av_inherit[] = { - { SECCLASS_DIR, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_FILE, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_LNK_FILE, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_CHR_FILE, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_BLK_FILE, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_SOCK_FILE, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_FIFO_FILE, common_file_perm_to_string, 0x00020000UL }, - { SECCLASS_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_TCP_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_UDP_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_RAWIP_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_NETLINK_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_PACKET_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_KEY_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_UNIX_STREAM_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_UNIX_DGRAM_SOCKET, common_socket_perm_to_string, 0x00400000UL }, - { SECCLASS_IPC, common_ipc_perm_to_string, 0x00000200UL }, - { SECCLASS_SEM, common_ipc_perm_to_string, 0x00000200UL }, - { SECCLASS_MSGQ, common_ipc_perm_to_string, 0x00000200UL }, - { SECCLASS_SHM, common_ipc_perm_to_string, 0x00000200UL }, -}; - - -/* FLASK */ + S_(SECCLASS_DIR, file, 0x00020000UL) + S_(SECCLASS_FILE, file, 0x00020000UL) + S_(SECCLASS_LNK_FILE, file, 0x00020000UL) + S_(SECCLASS_CHR_FILE, file, 0x00020000UL) + S_(SECCLASS_BLK_FILE, file, 0x00020000UL) + S_(SECCLASS_SOCK_FILE, file, 0x00020000UL) + S_(SECCLASS_FIFO_FILE, file, 0x00020000UL) + S_(SECCLASS_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_TCP_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_UDP_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_RAWIP_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_PACKET_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_KEY_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_UNIX_STREAM_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_UNIX_DGRAM_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_IPC, ipc, 0x00000200UL) + S_(SECCLASS_SEM, ipc, 0x00000200UL) + S_(SECCLASS_MSGQ, ipc, 0x00000200UL) + S_(SECCLASS_SHM, ipc, 0x00000200UL) + S_(SECCLASS_NETLINK_ROUTE_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_FIREWALL_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_TCPDIAG_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_NFLOG_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_XFRM_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_SELINUX_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_AUDIT_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_IP6FW_SOCKET, socket, 0x00400000UL) + S_(SECCLASS_NETLINK_DNRT_SOCKET, socket, 0x00400000UL)