Messages in this thread | | | Date | Tue, 5 Mar 1996 02:25:07 +0100 (MEZ) | From | Kai Schulte <> | Subject | get_binfmt_list() |
| |
get_binfmt_list() was introduced in 1.3.71, but I'm not sure why this part has to change: in fs/exec.c:
for (try=0; try<2; try++) { - for (fmt = formats ; fmt ; fmt = fmt->next) { + for (fmt = get_binfmt_list() ; fmt ; fmt = fmt->next) { int (*fn)(struct linux_binprm *, struct pt_regs *) = fmt->load_binary; if (!fn) continue;
If it really _is_ necessary, get_binfmt_list() should not be declared inside the #ifdef CONFIG_MODULES.
Kai
| |