summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/priv_prog.c
blob: 3c7b2b618c8a9b1260a2f3d63a7a1e881e8bab12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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";

SEC("kprobe")
int kprobe_prog(void *ctx)
{
	return 1;
}