Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264512
b: refs/heads/master
c: 8ad346c
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and James Morris committed Aug 23, 2011
1 parent 05e3124 commit 7a45a75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c061b5707ab84ebfe8f18f1c9c3110ae5cd6073
refs/heads/master: 8ad346c62ae91e6376fb9d199ef8557b0c814209
2 changes: 2 additions & 0 deletions trunk/kernel/cred.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,11 +656,13 @@ struct cred *prepare_kernel_cred(struct task_struct *daemon)
if (!new)
return NULL;

#ifdef CONFIG_KEYS
tgcred = kmalloc(sizeof(*tgcred), GFP_KERNEL);
if (!tgcred) {
kmem_cache_free(cred_jar, new);
return NULL;
}
#endif

kdebug("prepare_kernel_cred() alloc %p", new);

Expand Down

0 comments on commit 7a45a75

Please sign in to comment.