Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information