-
Notifications
You must be signed in to change notification settings - Fork 0
/
hello_world.mod.c
42 lines (33 loc) · 926 Bytes
/
hello_world.mod.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include <linux/module.h>
#define INCLUDE_VERMAGIC
#include <linux/build-salt.h>
#include <linux/elfnote-lto.h>
#include <linux/export-internal.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
BUILD_SALT;
BUILD_LTO_INFO;
MODULE_INFO(vermagic, VERMAGIC_STRING);
MODULE_INFO(name, KBUILD_MODNAME);
__visible struct module __this_module
__section(".gnu.linkonce.this_module") = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};
#ifdef CONFIG_RETPOLINE
MODULE_INFO(retpoline, "Y");
#endif
static const struct modversion_info ____versions[]
__used __section("__versions") = {
{ 0xbdfb6dbb, "__fentry__" },
{ 0x92997ed8, "_printk" },
{ 0x5b8239ca, "__x86_return_thunk" },
{ 0x4fa8f1f1, "param_ops_int" },
{ 0x541a6db8, "module_layout" },
};
MODULE_INFO(depends, "");
MODULE_INFO(srcversion, "F2BCA00A440F68F29048846");