selinux: introduce permissive types
authorEric Paris <eparis@redhat.com>
Mon, 31 Mar 2008 01:17:33 +0000 (12:17 +1100)
committerJames Morris <jmorris@namei.org>
Fri, 18 Apr 2008 10:26:11 +0000 (20:26 +1000)
Introduce the concept of a permissive type.  A new ebitmap is introduced to
the policy database which indicates if a given type has the permissive bit
set or not.  This bit is tested for the scontext of any denial.  The bit is
meaningless on types which only appear as the target of a decision and never
the source.  A domain running with a permissive type will be allowed to
perform any action similarly to when the system is globally set permissive.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found