Pengetahuan Kernel (11) – Struktur Data Linux (11) – linux_binfmt

Setiap format file biner yang dipahami oleh Linux direpresentasikan oleh suatu struktur data linux_binfmt

[sourcecode language=”cpp”]
struct linux_binfmt {
struct linux_binfmt * next;
long *use_count;
int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
int (*load_shlib)(int fd);
int (*core_dump)(long signr, struct pt_regs * regs);
};
[/sourcecode]
Sumber : tldp.org

Be the first to comment

Leave a Reply

Your email address will not be published.


*