diff options
author | Josh Hunt <johunt@akamai.com> | 2021-04-02 05:58:33 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-04-09 00:09:44 +0300 |
commit | 6db12ee0456d0e369c7b59788d46e15a56ad0294 (patch) | |
tree | f8981c6bf0d2dea9ecfcfa0cd21ad822c770db42 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 0a2b65c03e9b47493e1442bf9c84badc60d9bffb (diff) | |
download | linux-6db12ee0456d0e369c7b59788d46e15a56ad0294.tar.xz |
psi: allow unprivileged users with CAP_SYS_RESOURCE to write psi files
Currently only root can write files under /proc/pressure. Relax this to
allow tasks running as unprivileged users with CAP_SYS_RESOURCE to be
able to write to these files.
Signed-off-by: Josh Hunt <johunt@akamai.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lkml.kernel.org/r/20210402025833.27599-1-johunt@akamai.com
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions