aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/smack/smack_lsm.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 5225e668dbf0..98eeddcb4b6f 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -1118,15 +1118,6 @@ static int smack_cred_prepare(struct cred *new, const struct cred *old,
1118} 1118}
1119 1119
1120/** 1120/**
1121 * smack_cred_commit - commit new credentials
1122 * @new: the new credentials
1123 * @old: the original credentials
1124 */
1125static void smack_cred_commit(struct cred *new, const struct cred *old)
1126{
1127}
1128
1129/**
1130 * smack_cred_transfer - Transfer the old credentials to the new credentials 1121 * smack_cred_transfer - Transfer the old credentials to the new credentials
1131 * @new: the new credentials 1122 * @new: the new credentials
1132 * @old: the original credentials 1123 * @old: the original credentials
@@ -3120,7 +3111,6 @@ struct security_operations smack_ops = {
3120 .cred_alloc_blank = smack_cred_alloc_blank, 3111 .cred_alloc_blank = smack_cred_alloc_blank,
3121 .cred_free = smack_cred_free, 3112 .cred_free = smack_cred_free,
3122 .cred_prepare = smack_cred_prepare, 3113 .cred_prepare = smack_cred_prepare,
3123 .cred_commit = smack_cred_commit,
3124 .cred_transfer = smack_cred_transfer, 3114 .cred_transfer = smack_cred_transfer,
3125 .kernel_act_as = smack_kernel_act_as, 3115 .kernel_act_as = smack_kernel_act_as,
3126 .kernel_create_files_as = smack_kernel_create_files_as, 3116 .kernel_create_files_as = smack_kernel_create_files_as,