forked from luck/tmp_suning_uos_patched
1bfdc75ae0
Add a 'kernel_service' object class to SELinux and give this object class two access vectors: 'use_as_override' and 'create_files_as'. The first vector is used to grant a process the right to nominate an alternate process security ID for the kernel to use as an override for the SELinux subjective security when accessing stuff on behalf of another process. For example, CacheFiles when accessing the cache on behalf on a process accessing an NFS file needs to use a subjective security ID appropriate to the cache rather then the one the calling process is using. The cachefilesd daemon will nominate the security ID to be used. The second vector is used to grant a process the right to nominate a file creation label for a kernel service to use. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
80 lines
1.5 KiB
C
80 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")
|