diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 15:14:56 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-11 22:19:15 -0400 |
commit | 0968d0060a3c885e53d453380266c7792a55d302 (patch) | |
tree | b8511f3bf4aa4cfb21421ab5dde8346f0119dbe3 /kernel | |
parent | 9d5ed77dadc66a72b40419c91df942adfa55a102 (diff) |
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')
-rw-r--r-- | kernel/cred.c | 2 |
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) | |||
520 | #endif | 520 | #endif |
521 | BUG_ON(atomic_read(&new->usage) < 1); | 521 | BUG_ON(atomic_read(&new->usage) < 1); |
522 | 522 | ||
523 | security_commit_creds(new, old); | ||
524 | |||
525 | get_cred(new); /* we will require a ref for the subj creds too */ | 523 | get_cred(new); /* we will require a ref for the subj creds too */ |
526 | 524 | ||
527 | /* dumpability changes */ | 525 | /* dumpability changes */ |