lkml.org 
[lkml]   [1996]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectget_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


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.037 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site