[lkml]   [1999]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[q] how is ELF binfmt registered?

If binfmt_elf is a module then register_binfmt() called from
init_elf_binfmt does the job. But if it is not a module how is elf_format
linked to formats?

I grepped for it and couldn't find it. The formats is initialized to NULL
so it can't be done the way it is done for default_exec_domain (i.e.
initializaing a variable instead of calling register_exec_domain()). And
elf_formats is static to binfmt_elf.c so I am a bit lost...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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