aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/permission.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/keys/permission.c')
-rw-r--r--security/keys/permission.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/security/keys/permission.c b/security/keys/permission.c
index 28645502cd0d..6284b1496c29 100644
--- a/security/keys/permission.c
+++ b/security/keys/permission.c
@@ -13,7 +13,6 @@
13#include <linux/security.h> 13#include <linux/security.h>
14#include "internal.h" 14#include "internal.h"
15 15
16/*****************************************************************************/
17/** 16/**
18 * key_task_permission - Check a key can be used 17 * key_task_permission - Check a key can be used
19 * @key_ref: The key to check 18 * @key_ref: The key to check
@@ -79,12 +78,10 @@ use_these_perms:
79 78
80 /* let LSM be the final arbiter */ 79 /* let LSM be the final arbiter */
81 return security_key_permission(key_ref, cred, perm); 80 return security_key_permission(key_ref, cred, perm);
82 81}
83} /* end key_task_permission() */
84 82
85EXPORT_SYMBOL(key_task_permission); 83EXPORT_SYMBOL(key_task_permission);
86 84
87/*****************************************************************************/
88/* 85/*
89 * validate a key 86 * validate a key
90 */ 87 */
@@ -111,7 +108,6 @@ int key_validate(struct key *key)
111 108
112error: 109error:
113 return ret; 110 return ret;
114 111}
115} /* end key_validate() */
116 112
117EXPORT_SYMBOL(key_validate); 113EXPORT_SYMBOL(key_validate);