Linux ソース ファイル/home/akash/Downloads/linux-3.4.3/fs/binfmt_elf.cを理解しようとしています 。一部のコードは次のとおりです。
static struct linux_binfmt elf_format = {
.module = THIS_MODULE,
.load_binary = load_elf_binary,
.load_shlib = load_elf_library,
.core_dump = elf_core_dump,
.min_coredump = ELF_EXEC_PAGESIZE,
};
ファイルinclude/linux/binfmt.hを参照
struct linux_binfmt {
struct list_head lh;
struct module *module;
int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
int (*load_shlib)(struct file *);
int (*core_dump)(struct coredump_params *cprm);
unsigned long min_coredump; /* minimal dump size */
};
これについて説明をお願いします..