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