⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 proc_module.mod.c

📁 动态加载模块
💻 C
字号:
#include <linux/module.h>#include <linux/vermagic.h>#include <linux/compiler.h>MODULE_INFO(vermagic, VERMAGIC_STRING);struct module __this_module__attribute__((section(".gnu.linkonce.this_module"))) = { .name = KBUILD_MODNAME, .init = init_module,#ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module,#endif .arch = MODULE_ARCH_INIT,};static const struct modversion_info ____versions[]__used__attribute__((section("__versions"))) = {	{ 0xfcb2e382, "struct_module" },	{ 0x7a12c60c, "module_put" },	{ 0x3c2c5af5, "sprintf" },	{ 0x74cc238d, "current_kernel_time" },	{ 0x518eb764, "per_cpu__cpu_number" },	{ 0x268c0012, "create_proc_entry" },	{ 0x8feddcce, "proc_mkdir" },	{ 0xb72397d5, "printk" },	{ 0xbeb4c9be, "remove_proc_entry" },	{ 0xb4390f9a, "mcount" },};static const char __module_depends[]__used__attribute__((section(".modinfo"))) ="depends=";MODULE_INFO(srcversion, "1768F0719FE4B65F5AD31EF");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -