diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-03-15 10:54:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-15 10:54:18 -0400 |
commit | 6c5bb166ca16dad2f6f51e55a3a0c9965de15d04 (patch) | |
tree | b071a37079c616cb09352fd5fdda766cf74bf17e /database/sqlite/sqlite_functions.c | |
parent | e54982b6c814d1c6e1dda456fcf691d9b829eb91 (diff) |
Fixed handling of perf.plugin capabilities. (#10766)
CAP_PERFMON is only available with Linux kernel 5.8 or newer, and needs
a sufficiently up-to-date userspace to be able to set it.
With this change, we fall back to CAP_SYS_ADMIN (which CAP_PERFMON is a
proper subset of) if we cannot set CAP_PERFMON for the perf plugin.
Diffstat (limited to 'database/sqlite/sqlite_functions.c')
0 files changed, 0 insertions, 0 deletions