android_kernel_xiaomi_sm8350/security/selinux/include
Paul Moore ed6d76e4c3 selinux: Support for the new TUN LSM hooks
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>
2009-09-01 08:29:52 +10:00
..
audit.h
av_inherit.h selinux: Support for the new TUN LSM hooks 2009-09-01 08:29:52 +10:00
av_perm_to_string.h SELinux: add selinux_kernel_module_request 2009-08-14 11:18:40 +10:00
av_permissions.h selinux: Support for the new TUN LSM hooks 2009-09-01 08:29:52 +10:00
avc_ss.h SELinux: shrink sizeof av_inhert selinux_class_perm and context 2009-01-05 19:19:55 +11:00
avc.h SELinux: Convert avc_audit to use lsm_audit.h 2009-08-17 08:37:18 +10:00
class_to_string.h selinux: Support for the new TUN LSM hooks 2009-09-01 08:29:52 +10:00
common_perm_to_string.h
conditional.h
flask.h selinux: Support for the new TUN LSM hooks 2009-09-01 08:29:52 +10:00
initial_sid_to_string.h
netif.h
netlabel.h SELinux: Convert avc_audit to use lsm_audit.h 2009-08-17 08:37:18 +10:00
netnode.h
netport.h
objsec.h SELinux: Condense super block security structure flags and cleanup necessary code. 2009-01-19 09:46:40 +11:00
security.h SELinux: move SELINUX_MAGIC into magic.h 2009-05-19 08:19:00 +10:00
xfrm.h SELinux: Convert avc_audit to use lsm_audit.h 2009-08-17 08:37:18 +10:00