From ee6fcd50ff4b2c7b6c6b56cb597bae1eef289444 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Wed, 7 Apr 2010 15:10:35 -0400 Subject: [PATCH] --- yaml --- r: 192405 b: refs/heads/master c: e2902eb79fdea3c3bf679a8f15f3432b393cb2c0 h: refs/heads/master i: 192403: a8ebffc5ecad1fa685ff3866f46154f656574d26 v: v3 --- [refs] | 2 +- trunk/security/smack/smack_lsm.c | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/[refs] b/[refs] index fda4547df38d..d06c831c7bbf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dd3e7836bfe093fc611f715c323cf53be9252b27 +refs/heads/master: e2902eb79fdea3c3bf679a8f15f3432b393cb2c0 diff --git a/trunk/security/smack/smack_lsm.c b/trunk/security/smack/smack_lsm.c index 5225e668dbf0..98eeddcb4b6f 100644 --- a/trunk/security/smack/smack_lsm.c +++ b/trunk/security/smack/smack_lsm.c @@ -1117,15 +1117,6 @@ static int smack_cred_prepare(struct cred *new, const struct cred *old, return 0; } -/** - * smack_cred_commit - commit new credentials - * @new: the new credentials - * @old: the original credentials - */ -static void smack_cred_commit(struct cred *new, const struct cred *old) -{ -} - /** * smack_cred_transfer - Transfer the old credentials to the new credentials * @new: the new credentials @@ -3120,7 +3111,6 @@ struct security_operations smack_ops = { .cred_alloc_blank = smack_cred_alloc_blank, .cred_free = smack_cred_free, .cred_prepare = smack_cred_prepare, - .cred_commit = smack_cred_commit, .cred_transfer = smack_cred_transfer, .kernel_act_as = smack_kernel_act_as, .kernel_create_files_as = smack_kernel_create_files_as,