| 1 | |
| 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 |
|
| 9 | int main(int argc, char **argv)
|
| 10 | {
|
| 11 | (void)argc;
|
| 12 | (void)argv;
|
| 13 | write(1, "BPF_INTERP_RAN\n", 15);
|
| 14 | return 0;
|
| 15 | }
|