mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 13:34:38 +08:00
2ee92d46c6
This patch implements SELinux kernel support for DCCP (http://linux-net.osdl.org/index.php/DCCP), which is similar in operation to TCP in terms of connected state between peers. The SELinux support for DCCP is thus modeled on existing handling of TCP. A new DCCP socket class is introduced, to allow protocol differentation. The permissions for this class inherit all of the socket permissions, as well as the current TCP permissions (node_bind, name_bind etc). IPv4 and IPv6 are supported, although labeled networking is not, at this stage. Patches for SELinux userspace are at: http://people.redhat.com/jmorris/selinux/dccp/user/ I've performed some basic testing, and it seems to be working as expected. Adding policy support is similar to TCP, the only real difference being that it's a different protocol. Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net>
66 lines
1.3 KiB
C
66 lines
1.3 KiB
C
/* This file is automatically generated. Do not edit. */
|
|
/*
|
|
* Security object class definitions
|
|
*/
|
|
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")
|
|
S_("association")
|
|
S_("netlink_kobject_uevent_socket")
|
|
S_("appletalk_socket")
|
|
S_("packet")
|
|
S_("key")
|
|
S_("context")
|
|
S_("dccp_socket")
|