Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / selftests / bpf / cap_helpers.h
blob6d163530cb0fd1ad7c6945dac13bd4c4531195ed
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __CAP_HELPERS_H
3 #define __CAP_HELPERS_H
5 #include <linux/types.h>
6 #include <linux/capability.h>
8 #ifndef CAP_PERFMON
9 #define CAP_PERFMON 38
10 #endif
12 #ifndef CAP_BPF
13 #define CAP_BPF 39
14 #endif
16 int cap_enable_effective(__u64 caps, __u64 *old_caps);
17 int cap_disable_effective(__u64 caps, __u64 *old_caps);
19 #endif