Gitiles
Code Review
Sign In
192.168.1.100
/
T106_DC
/
bdd93d52cf43d2991561d70e238bf11e422b794b
/
.
/
ap
/
libc
/
glibc
/
glibc-2.23
/
elf
/
tst-audit9.c
blob: 7b90a5ad2d9fd1817bc508d0141a736879bb4d40 [
file
] [
log
] [
blame
]
#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
;
}
#define
TEST_FUNCTION do_test
()
#include
"../test-skeleton.c"