git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
posix-clock: Fix return code on the poll method's error path
[pandora-kernel.git]
/
kernel
/
cred.c
diff --git
a/kernel/cred.c
b/kernel/cred.c
index
bb55d05
..
48c6fd3
100644
(file)
--- 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.
*/
* as published by the Free Software Foundation; either version
* 2 of the Licence, or (at your option) any later version.
*/
-#include <linux/
module
.h>
+#include <linux/
export
.h>
#include <linux/cred.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/cred.h>
#include <linux/slab.h>
#include <linux/sched.h>
@@
-385,6
+385,8
@@
int copy_creds(struct task_struct *p, unsigned long clone_flags)
struct cred *new;
int ret;
struct cred *new;
int ret;
+ p->replacement_session_keyring = NULL;
+
if (
#ifdef CONFIG_KEYS
!p->cred->thread_keyring &&
if (
#ifdef CONFIG_KEYS
!p->cred->thread_keyring &&