Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __CAP_HELPERS_H
0003 #define __CAP_HELPERS_H
0004 
0005 #include <linux/types.h>
0006 #include <linux/capability.h>
0007 
0008 #ifndef CAP_PERFMON
0009 #define CAP_PERFMON     38
0010 #endif
0011 
0012 #ifndef CAP_BPF
0013 #define CAP_BPF         39
0014 #endif
0015 
0016 int cap_enable_effective(__u64 caps, __u64 *old_caps);
0017 int cap_disable_effective(__u64 caps, __u64 *old_caps);
0018 
0019 #endif