1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Test interpreter for the bound-interpreter case of the binfmt_misc_bpf 4 * selftest. Two copies are installed at different paths and bound to one 5 * entry under different names; printing argv[0] - the path the kernel ran 6 * this copy under - tells the harness which of them the load program picked. 7 */ 8 #include <stdio.h> 9 10 int main(int argc, char **argv) 11 { 12 printf("BIND_RAN %s\n", argc > 0 ? argv[0] : ""); 13 return 0; 14 } 15