Linux Audio

Check our new training course

Loading...
v6.13.7
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __CAP_HELPERS_H
 3#define __CAP_HELPERS_H
 4
 5#include <linux/types.h>
 6#include <linux/capability.h>
 7
 8#ifndef CAP_PERFMON
 9#define CAP_PERFMON		38
10#endif
11
12#ifndef CAP_BPF
13#define CAP_BPF			39
14#endif
15
16int cap_enable_effective(__u64 caps, __u64 *old_caps);
17int cap_disable_effective(__u64 caps, __u64 *old_caps);
18
19#endif
v6.8
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __CAP_HELPERS_H
 3#define __CAP_HELPERS_H
 4
 5#include <linux/types.h>
 6#include <linux/capability.h>
 7
 8#ifndef CAP_PERFMON
 9#define CAP_PERFMON		38
10#endif
11
12#ifndef CAP_BPF
13#define CAP_BPF			39
14#endif
15
16int cap_enable_effective(__u64 caps, __u64 *old_caps);
17int cap_disable_effective(__u64 caps, __u64 *old_caps);
18
19#endif