diff options
author | Suren Baghdasaryan <[email protected]> | 2019-07-29 18:33:10 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2019-08-06 12:49:18 +0200 |
commit | 04e048cf09d7b5fc995817cdc5ae1acd4482429c (patch) | |
tree | b45b65f7a0373ff1e0be47ad5feb21d51917be13 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 14f5c7b46a41a595fc61db37f55721714729e59e (diff) |
sched/psi: Do not require setsched permission from the trigger creator
When a process creates a new trigger by writing into /proc/pressure/*
files, permissions to write such a file should be used to determine whether
the process is allowed to do so or not. Current implementation would also
require such a process to have setsched capability. Setting of psi trigger
thread's scheduling policy is an implementation detail and should not be
exposed to the user level. Remove the permission check by using _nocheck
version of the function.
Suggested-by: Nick Kralevich <[email protected]>
Signed-off-by: Suren Baghdasaryan <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions