android_kernel_motorola_sm6225/security/selinux/include
James Morris 2ee92d46c6 [SELinux]: Add support for DCCP
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>
2006-12-02 21:22:24 -08:00
..
av_inherit.h [SELinux]: Add support for DCCP 2006-12-02 21:22:24 -08:00
av_perm_to_string.h [SELinux]: Add support for DCCP 2006-12-02 21:22:24 -08:00
av_permissions.h [SELinux]: Add support for DCCP 2006-12-02 21:22:24 -08:00
avc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
avc_ss.h SELinux: export object class and permission definitions 2006-11-28 12:04:36 -05:00
class_to_string.h [SELinux]: Add support for DCCP 2006-12-02 21:22:24 -08:00
common_perm_to_string.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
conditional.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
flask.h [SELinux]: Add support for DCCP 2006-12-02 21:22:24 -08:00
initial_sid_to_string.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netif.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
objsec.h [PATCH] SELinux: convert sbsec semaphore to a mutex 2006-09-26 08:48:53 -07:00
security.h [PATCH] selinux: add support for range transitions on object classes 2006-09-26 08:48:52 -07:00
selinux_netlabel.h [NetLabel]: protect the CIPSOv4 socket option from setsockopt() 2006-10-30 15:24:49 -08:00
xfrm.h SELinux: Fix SA selection semantics 2006-12-02 21:21:34 -08:00