android_kernel_oneplus_msm8998/kernel/events
Rohit Gupta 960dbb1751 perf: Skip permission checks on kernel owned perf events
The perf event permission checks are necessary because they introduce
a security concern where one userspace task can monitor another task
and gain security related information. That concern doesn't exist for
kernel owned perf events since the kernel already has access to
everything. So, skip permission checks for kernel owned perf events.

Change-Id: I7121f5e03cf6ce8f0bfc9b5a69488efb80a97051
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
[satyap: trivial merge conflict resolution]
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-03-23 20:58:14 -07:00
..
callchain.c treewide: Remove old email address 2015-11-23 09:44:58 +01:00
core.c perf: Skip permission checks on kernel owned perf events 2016-03-23 20:58:14 -07:00
hw_breakpoint.c perf: support hotplug 2016-03-23 20:58:09 -07:00
internal.h perf: Fix AUX buffer refcounting 2015-07-06 14:08:30 +02:00
Makefile ftrace: allow architectures to specify ftrace compile options 2015-01-29 09:19:19 +01:00
ring_buffer.c treewide: Remove old email address 2015-11-23 09:44:58 +01:00
uprobes.c treewide: Remove old email address 2015-11-23 09:44:58 +01:00