diff options
| author | Oleg Nesterov <[email protected]> | 2011-07-29 01:26:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-07-29 01:26:32 +0000 |
| commit | 9e8f90dfe58eb19140bc66655170c7aef9eadbf2 (patch) | |
| tree | ebb225345da45a1bdc2384367122aba97f11b308 /security/selinux/netnode.c | |
| parent | net: fix new sunrpc kernel-doc warning (diff) | |
| download | kernel-9e8f90dfe58eb19140bc66655170c7aef9eadbf2.tar.gz kernel-9e8f90dfe58eb19140bc66655170c7aef9eadbf2.zip | |
proc_fork_connector: a lockless ->real_parent usage is not safe
proc_fork_connector() uses ->real_parent lockless. This is not safe if
copy_process() was called with CLONE_THREAD or CLONE_PARENT, in this case
the parent != current can go away at any moment.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Vladimir Zapolskiy <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Evgeniy Polyakov <[email protected]>
Cc: Evgeniy Polyakov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions
