linux-stable-rt/security/selinux/include
Lorenzo Hernández García-Hierro 09ffd94fb1 [PATCH] selinux: add executable heap check
This patch,based on sample code by Roland McGrath, adds an execheap
permission check that controls the ability to make the heap executable so
that this can be prevented in almost all cases (the X server is presently
an exception, but this will hopefully be resolved in the future) so that
even programs with execmem permission will need to have the anonymous
memory mapped in order to make it executable.

The only reason that we use a permission check for such restriction (vs.
making it unconditional) is that the X module loader presently needs it; it
could possibly be made unconditional in the future when X is changed.

The policy patch for the execheap permission is available at:
http://pearls.tuxedo-es.org/patches/selinux/policy-execheap.patch

Signed-off-by: Lorenzo Hernandez Garcia-Hierro <lorenzo@gnu.org>
Acked-by: James Morris <jmorris@redhat.com>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 16:24:26 -07:00
..
av_inherit.h [PATCH] SELinux: add support for NETLINK_KOBJECT_UEVENT 2005-04-16 15:24:13 -07:00
av_perm_to_string.h [PATCH] selinux: add executable heap check 2005-06-25 16:24:26 -07:00
av_permissions.h [PATCH] selinux: add executable heap check 2005-06-25 16:24:26 -07:00
avc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
avc_ss.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
class_to_string.h [PATCH] SELinux: add support for NETLINK_KOBJECT_UEVENT 2005-04-16 15:24:13 -07: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 [PATCH] SELinux: add support for NETLINK_KOBJECT_UEVENT 2005-04-16 15:24:13 -07: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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
security.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00