aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-auditmod9a.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-auditmod9a.c')
-rw-r--r--elf/tst-auditmod9a.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/elf/tst-auditmod9a.c b/elf/tst-auditmod9a.c
new file mode 100644
index 0000000..7213ade
--- /dev/null
+++ b/elf/tst-auditmod9a.c
@@ -0,0 +1,15 @@
+#include <stdint.h>
+
+__thread int var;
+
+unsigned int
+la_version (unsigned int v)
+{
+ return v;
+}
+
+void
+la_activity (uintptr_t *cookie, unsigned int flag)
+{
+ ++var;
+}