Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b05ec5a7 authored by Rohit Gupta's avatar Rohit Gupta
Browse files

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: default avatarRohit Gupta <rohgup@codeaurora.org>
parent b06f2ad5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment