diff options
-rw-r--r-- | kernel/cred.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cred.c b/kernel/cred.c index fc222e4acfb0..043f78c133c4 100644 --- a/kernel/cred.c +++ b/kernel/cred.c | |||
@@ -506,6 +506,7 @@ struct cred *prepare_kernel_cred(struct task_struct *daemon) | |||
506 | else | 506 | else |
507 | old = get_cred(&init_cred); | 507 | old = get_cred(&init_cred); |
508 | 508 | ||
509 | *new = *old; | ||
509 | get_uid(new->user); | 510 | get_uid(new->user); |
510 | get_group_info(new->group_info); | 511 | get_group_info(new->group_info); |
511 | 512 | ||