diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 21:14:56 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 04:19:15 +0200 |
commit | 0968d0060a3c885e53d453380266c7792a55d302 (patch) | |
tree | b8511f3bf4aa4cfb21421ab5dde8346f0119dbe3 /kernel/cred.c | |
parent | security: remove dead hook inode_delete (diff) | |
download | linux-0968d0060a3c885e53d453380266c7792a55d302.tar.xz linux-0968d0060a3c885e53d453380266c7792a55d302.zip |
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.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) #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 */ |