diff options
| author | Eric Paris <[email protected]> | 2009-07-31 16:53:58 +0000 |
|---|---|---|
| committer | James Morris <[email protected]> | 2009-08-05 23:02:17 +0000 |
| commit | 7c73875e7dda627040b12c19b01db634fa7f0fd1 (patch) | |
| tree | f8f4df20bdcafb1bd981c8a7b0797d13b2625b27 /security/selinux/hooks.c | |
| parent | Merge branch 'master' into next (diff) | |
| download | kernel-7c73875e7dda627040b12c19b01db634fa7f0fd1.tar.gz kernel-7c73875e7dda627040b12c19b01db634fa7f0fd1.zip | |
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 <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
