[lkml]   [1997]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: question about modules rewrite
In, article <>,
Tom Dyas <> writes:
> Now that the kernel modules implementation has been rewritten for the
> better and the interface changed somewhat, is there any reason to have
> both sys_create_module() and sys_init_module()?

You have to get a kernel address for the module (create_module). Then you
need to relocate the module, load the code into the kernel, and initialize
it (init_module).

If you want to use just one syscall then you need to have the relocating
code within the kernel. This is stupid, IMHO.

Progress is man's ability to complicate simplicity.
-- Thor Heyerdahl.
Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail:
90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="">here</A>. 42

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