git.samba.org
/
sfrench
/
cifs-2.6.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
selftests/bpf: Add BPF object loading tests with explicit token passing
[sfrench/cifs-2.6.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
priv_prog.c
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
SEC("kprobe")
10
int kprobe_prog(void *ctx)
11
{
12
return 1;
13
}