diff options
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) | |||
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 */ |