xref: /linux/tools/testing/selftests/bpf/progs/priv_map.c (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */
3 
4 #include "vmlinux.h"
5 #include <bpf/bpf_helpers.h>
6 
7 char _license[] SEC("license") = "GPL";
8 
9 struct {
10 	__uint(type, BPF_MAP_TYPE_QUEUE);
11 	__uint(max_entries, 1);
12 	__type(value, __u32);
13 } priv_map SEC(".maps");
14