1#include <dlfcn.h>
2
3static int
4do_test (void)
5{
6 void *h = dlopen(file: "$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
7 int (*fp)(void) = dlsym(handle: h, name: "f");
8 return fp() - 1;
9}
10
11#include <support/test-driver.c>
12

source code of glibc/elf/tst-audit9.c