]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/tst-audit9.c
BZ #16613: Support TLS in audit libraries.
[thirdparty/glibc.git] / elf / tst-audit9.c
CommitLineData
d0503676
CD
1#include <dlfcn.h>
2
3int main(void)
4{
5 void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
6 int (*fp)(void) = dlsym(h, "f");
7 return fp() - 1;
8}