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

📄 moduleops.c

📁 用于linux2.6内核支持模块的插入和卸载
💻 C
字号:
/* The nasty work of reading 32 and 64-bit modules is in here. */#include <elf.h>#include <sys/types.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include "depmod.h"#include "moduleops.h"#include "tables.h"#define PERBIT(x) x##32#define ElfPERBIT(x) Elf32_##x#define ELFPERBIT(x) ELF32_##x#include "moduleops_core.c"#undef PERBIT#undef ElfPERBIT#undef ELFPERBIT#define PERBIT(x) x##64#define ElfPERBIT(x) Elf64_##x#define ELFPERBIT(x) ELF64_##x#include "moduleops_core.c"

⌨️ 快捷键说明

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