diff options
author | Eric Paris | 2009-07-31 12:54:05 -0400 |
---|---|---|
committer | James Morris | 2009-08-17 15:08:48 +1000 |
commit | 8cf948e744e0218af604c32edecde10006dc8e9e (patch) | |
tree | c5d48e9210976e28e5ce07d69ca9b87d4c437389 /include | |
parent | 9c0d90103c7e0eb6e638e5b649e9f6d8d9c1b4b3 (diff) |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions