JustOS/linux-6.13/tools/testing/selftests/bpf/progs/priv_map.c
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

14 lines
308 B
C

// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2023 Meta Platforms, Inc. and affiliates. */
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
char _license[] SEC("license") = "GPL";
struct {
__uint(type, BPF_MAP_TYPE_QUEUE);
__uint(max_entries, 1);
__type(value, __u32);
} priv_map SEC(".maps");