summaryrefslogtreecommitdiff
path: root/security/security.c
diff options
context:
space:
mode:
authorAndrey Markovytch <andreym@codeaurora.org>2017-01-09 11:23:03 +0200
committerAndrey Markovytch <andreym@codeaurora.org>2017-01-09 11:23:03 +0200
commit3eab9b61f3c0d660a89039b5dabbc7f31458af6f (patch)
treead4e305ea6ea42a76422b9cf6a699321598322c8 /security/security.c
parent33eba0ae11ee6a1a9cef3969132e637724a780be (diff)
security: switched to stackable model for PFT/PFK module
Moved hooks from SELINUX framework to general SECURITY framework. Change-Id: I37e701b4925c4993f724c32b258c5088f4dcbe4d Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/security.c b/security/security.c
index 7d1de1f6299f..8eece6cd01da 100644
--- a/security/security.c
+++ b/security/security.c
@@ -852,11 +852,6 @@ int security_file_open(struct file *file, const struct cred *cred)
return fsnotify_perm(file, MAY_OPEN);
}
-int security_file_close(struct file *file)
-{
- return call_int_hook(file_close, 0, file);
-}
-
int security_task_create(unsigned long clone_flags)
{
return call_int_hook(task_create, 0, clone_flags);