1// SPDX-License-Identifier: GPL-2.0-only
2
3#include <stdbool.h>
4
5#define UNPRIV_SYSCTL "kernel/unprivileged_bpf_disabled"
6
7bool get_unpriv_disabled(void);
8

source code of linux/tools/testing/selftests/bpf/unpriv_helpers.h