linux/security
Eric Paris 9c0d90103c Capabilities: move cap_file_mmap to commoncap.c
Currently we duplicate the mmap_min_addr test in cap_file_mmap and in
security_file_mmap if !CONFIG_SECURITY.  This patch moves cap_file_mmap
into commoncap.c and then calls that function directly from
security_file_mmap ifndef CONFIG_SECURITY like all of the other capability
checks are done.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-08-17 15:08:35 +10:00
..
integrity/ima
keys
selinux SELinux: fix memory leakage in /security/selinux/hooks.c 2009-08-11 08:37:13 +10:00
smack
tomoyo
capability.c Capabilities: move cap_file_mmap to commoncap.c 2009-08-17 15:08:35 +10:00
commoncap.c Capabilities: move cap_file_mmap to commoncap.c 2009-08-17 15:08:35 +10:00
device_cgroup.c
inode.c
Kconfig
lsm_audit.c
Makefile
root_plug.c
security.c