summaryrefslogtreecommitdiff
path: root/include/linux/security.h
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 /include/linux/security.h
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 'include/linux/security.h')
-rw-r--r--include/linux/security.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index e3b5efc0eb4b..7caf520e6233 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -292,7 +292,6 @@ int security_file_send_sigiotask(struct task_struct *tsk,
struct fown_struct *fown, int sig);
int security_file_receive(struct file *file);
int security_file_open(struct file *file, const struct cred *cred);
-int security_file_close(struct file *file);
int security_task_create(unsigned long clone_flags);
void security_task_free(struct task_struct *task);
int security_cred_alloc_blank(struct cred *cred, gfp_t gfp);
@@ -820,11 +819,6 @@ static inline int security_file_open(struct file *file,
return 0;
}
-static inline int security_file_close(struct file *file)
-{
- return 0;
-}
-
static inline int security_task_create(unsigned long clone_flags)
{
return 0;