J'essaie de comprendre le fichier source Linux /home/akash/Downloads/linux-3.4.3/fs/binfmt_elf.c une partie un code est comme suit où je hv bloqué.comprendre 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,
};
qui se réfèrent au fichier 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 */
};
plz giv certains explaination sur ce ..
Vous avez besoin d'explications sur l'initialisation de la structure? – Adil