X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fcred.c;h=48c6fd3bc848a689979e9d62d8b7483c45c0bb66;hb=49c5317fa0fa5d0dfa5d15dc3010e2578beddb16;hp=bb55d052d858f6c2f356d32f36a77445dcda20fa;hpb=d6748066ad0e8b2514545998f8367ebb3906f299;p=pandora-kernel.git diff --git a/kernel/cred.c b/kernel/cred.c index bb55d052d858..48c6fd3bc848 100644 --- a/kernel/cred.c +++ b/kernel/cred.c @@ -8,7 +8,7 @@ * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ -#include +#include #include #include #include @@ -385,6 +385,8 @@ int copy_creds(struct task_struct *p, unsigned long clone_flags) struct cred *new; int ret; + p->replacement_session_keyring = NULL; + if ( #ifdef CONFIG_KEYS !p->cred->thread_keyring &&