projects/linux·blob master · refs

15 lines · 362 B

1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Test interpreter for the binfmt_misc_bpf selftest. A bpf-backed 'B' handler
4 * routes a matched binary here; printing this marker proves the program's
5 * chosen interpreter actually ran.
6 */
7#include <unistd.h>
8
9int main(int argc, char **argv)
10{
11 (void)argc;
12 (void)argv;
13 write(1, "BPF_INTERP_RAN\n", 15);
14 return 0;
15}