Add a testcase for copy reloc against protected data
[glibc.git] / elf / tst-audit9.c
blob0982d8b7161aa4178e9f188f3f9fce4ea57d9ef8
1 #include <dlfcn.h>
3 int main(void)
5 void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
6 int (*fp)(void) = dlsym(h, "f");
7 return fp() - 1;