testsuite: remove locking tests since the flock() is gone
[mit.git] / moduleops.c
blobfe09f8643ace50831643728d77e9c1a9c3462f24
1 /* The nasty work of reading 32 and 64-bit modules is in here. */
2 #include <elf.h>
3 #include <sys/types.h>
4 #include <unistd.h>
5 #include <stdlib.h>
6 #include <string.h>
7 #include <errno.h>
8 #include "depmod.h"
9 #include "logging.h"
10 #include "moduleops.h"
11 #include "tables.h"
13 #define PERBIT(x) x##32
14 #define ElfPERBIT(x) Elf32_##x
15 #define ELFPERBIT(x) ELF32_##x
16 #include "moduleops_core.c"
18 #undef PERBIT
19 #undef ElfPERBIT
20 #undef ELFPERBIT
21 #define PERBIT(x) x##64
22 #define ElfPERBIT(x) Elf64_##x
23 #define ELFPERBIT(x) ELF64_##x
24 #include "moduleops_core.c"