mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 04:45:05 +00:00
ed6d76e4c3
Add support for the new TUN LSM hooks: security_tun_dev_create(), security_tun_dev_post_create() and security_tun_dev_attach(). This includes the addition of a new object class, tun_socket, which represents the socks associated with TUN devices. The _tun_dev_create() and _tun_dev_post_create() hooks are fairly similar to the standard socket functions but _tun_dev_attach() is a bit special. The _tun_dev_attach() is unique because it involves a domain attaching to an existing TUN device and its associated tun_socket object, an operation which does not exist with standard sockets and most closely resembles a relabel operation. Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: Eric Paris <eparis@parisplace.org> Signed-off-by: James Morris <jmorris@namei.org>
81 lines
1.5 KiB
C
81 lines
1.5 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_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
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_(NULL)
|
|
S_(NULL)
|
|
S_("association")
|
|
S_("netlink_kobject_uevent_socket")
|
|
S_("appletalk_socket")
|
|
S_("packet")
|
|
S_("key")
|
|
S_(NULL)
|
|
S_("dccp_socket")
|
|
S_("memprotect")
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_("peer")
|
|
S_("capability2")
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_(NULL)
|
|
S_("kernel_service")
|
|
S_("tun_socket")
|