From 3eab9b61f3c0d660a89039b5dabbc7f31458af6f Mon Sep 17 00:00:00 2001 From: Andrey Markovytch Date: Mon, 9 Jan 2017 11:23:03 +0200 Subject: 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 --- security/security.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'security/security.c') 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); -- cgit v1.2.3