summaryrefslogtreecommitdiff
path: root/kernel/cred.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-04-07 23:14:56 +0400
committerJames Morris <jmorris@namei.org>2010-04-12 06:19:15 +0400
commit0968d0060a3c885e53d453380266c7792a55d302 (patch)
treeb8511f3bf4aa4cfb21421ab5dde8346f0119dbe3 /kernel/cred.c
parent9d5ed77dadc66a72b40419c91df942adfa55a102 (diff)
downloadlinux-0968d0060a3c885e53d453380266c7792a55d302.tar.xz
security: remove dead hook cred_commit
Unused hook. Remove. Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'kernel/cred.c')
-rw-r--r--kernel/cred.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/cred.c b/kernel/cred.c
index 1b1129d0cce8..fecb34640482 100644
--- a/kernel/cred.c
+++ b/kernel/cred.c
@@ -520,8 +520,6 @@ int commit_creds(struct cred *new)
#endif
BUG_ON(atomic_read(&new->usage) < 1);
- security_commit_creds(new, old);
-
get_cred(new); /* we will require a ref for the subj creds too */
/* dumpability changes */