]> Git Repo - linux.git/blob - tools/testing/selftests/bpf/progs/test_pinning_invalid.c
Linux 6.14-rc3
[linux.git] / tools / testing / selftests / bpf / progs / test_pinning_invalid.c
1 // SPDX-License-Identifier: GPL-2.0
2
3 #include <linux/bpf.h>
4 #include <bpf/bpf_helpers.h>
5
6 struct {
7         __uint(type, BPF_MAP_TYPE_ARRAY);
8         __uint(max_entries, 1);
9         __type(key, __u32);
10         __type(value, __u64);
11         __uint(pinning, 2); /* invalid */
12 } nopinmap3 SEC(".maps");
13
14 char _license[] SEC("license") = "GPL";
This page took 0.032509 seconds and 4 git commands to generate.