diff options
| author | Carlos Maiolino <cem@kernel.org> | 2026-08-04 11:45:52 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-08-21 09:09:54 +0200 |
| commit | 1b91724d0bdc470ed8f353d1cc8d3e4123b51ed5 (patch) | |
| tree | 5345c849846ff945166ca01dacbe36da0888b2ae /tools/perf/scripts/python | |
| parent | e2f62a9744ebad3bcb6347a648e615026e9efeff (diff) | |
capability: Add new capable_noaudit
In some situations (quota enforcement bypass in this case) we'd like to
check for a specific capability without triggering spurious audit
messages from security modules like selinux.
Add a new helper so we don't need to use ns_capable_noaudit() directly.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Serge Hallyn <sergeh@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
