Revision 78cd2c748f459739ff864dd9308c0f6caf7f6e41 authored by Peter Zijlstra on 25 January 2016, 13:08:45 UTC, committed by Ingo Molnar on 28 January 2016, 19:06:35 UTC
We should set event->owner before we install the event,
otherwise there is a hole where the target task can fork() and
we'll not inherit the event because it thinks the event is
orphaned.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 45c815f
History
File Mode Size
Makefile -rw-r--r-- 206 bytes
hostfs.h -rw-r--r-- 3.3 KB
hostfs_kern.c -rw-r--r-- 20.8 KB
hostfs_user.c -rw-r--r-- 7.3 KB

back to top