summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/unpriv_helpers.h
blob: 151f673296652217a8d7413c5aeed781b96fb5c3 (plain)
1
2
3
4
5
6
7
// SPDX-License-Identifier: GPL-2.0-only

#include <stdbool.h>

#define UNPRIV_SYSCTL "kernel/unprivileged_bpf_disabled"

bool get_unpriv_disabled(void);