/openbmc/linux/include/linux/ |
H A D | cred.h | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
H A D | init_task.h | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
H A D | security.h | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
H A D | sched.h | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/kernel/ |
H A D | cred.c | f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
H A D | Makefile | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
H A D | fork.c | diff 04ec93fe9bc98e3bd8560f79f56fed66dfae40d5 Fri Feb 06 02:17:19 CST 2009 Li Zefan <lizf@cn.fujitsu.com> fork.c: fix NULL pointer dereference when nr_threads == threads-max
I happened to forked lots of processes, and hit NULL pointer dereference. It is because in copy_process() after checking max_threads, 0 is returned but not -EAGAIN.
The bug is introduced by "CRED: Detach the credentials from task_struct" (commit f1752eec6145c97163dbce62d17cf5d928e28a27).
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/security/smack/ |
H A D | smack_lsm.c | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/security/ |
H A D | security.c | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff f1752eec6145c97163dbce62d17cf5d928e28a27 Thu Nov 13 17:39:17 CST 2008 David Howells <dhowells@redhat.com> CRED: Detach the credentials from task_struct
Detach the credentials from task_struct, duplicating them in copy_process() and releasing them in __put_task_struct().
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: James Morris <jmorris@namei.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
|