kernel-hacking-2024-linux-s.../security/selinux
Eric Paris 84336d1a77 SELinux: call cap_file_mmap in selinux_file_mmap
Currently SELinux does not check CAP_SYS_RAWIO in the file_mmap hook.  This
means there is no DAC check on the ability to mmap low addresses in the
memory space.  This function adds the DAC check for CAP_SYS_RAWIO while
maintaining the selinux check on mmap_zero.  This means that processes
which need to mmap low memory will need CAP_SYS_RAWIO and mmap_zero but will
NOT need the SELinux sys_rawio capability.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-08-06 09:02:21 +10:00
..
include Revert "SELinux: Convert avc_audit to use lsm_audit.h" 2009-07-13 10:39:36 +10:00
ss Merge branch 'master' into next 2009-06-19 08:20:55 +10:00
avc.c Revert "SELinux: Convert avc_audit to use lsm_audit.h" 2009-07-13 10:39:36 +10:00
exports.c
hooks.c SELinux: call cap_file_mmap in selinux_file_mmap 2009-08-06 09:02:21 +10:00
Kconfig
Makefile
netif.c
netlabel.c Revert "SELinux: Convert avc_audit to use lsm_audit.h" 2009-07-13 10:39:36 +10:00
netlink.c
netnode.c
netport.c
nlmsgtab.c SELinux: define audit permissions for audit tree netlink messages 2009-06-03 07:44:53 +10:00
selinuxfs.c selinux: remove obsolete read buffer limit from sel_read_bool 2009-05-19 23:56:11 +10:00
xfrm.c Revert "SELinux: Convert avc_audit to use lsm_audit.h" 2009-07-13 10:39:36 +10:00