summaryrefslogtreecommitdiffstats
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorPaul Moore2009-08-29 00:12:49 +0200
committerJames Morris2009-09-01 00:29:52 +0200
commited6d76e4c32de0c2ad5f1d572b948ef49e465176 (patch)
tree893914916ad849fefed72df48bca0bf9c78e392d /kernel/cred.c
parentlsm: Add hooks to the TUN driver (diff)
downloadkernel-qcow2-linux-ed6d76e4c32de0c2ad5f1d572b948ef49e465176.tar.gz
kernel-qcow2-linux-ed6d76e4c32de0c2ad5f1d572b948ef49e465176.tar.xz
kernel-qcow2-linux-ed6d76e4c32de0c2ad5f1d572b948ef49e465176.zip
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>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions