1. 14 Jan, 2003 1 commit
    • Kai Germaschewski's avatar
      Module Sanity Check · 1d411b80
      Kai Germaschewski authored
      This patch, based on Rusty's implementation, adds a special section
      to vmlinux and all modules, which contain the kernel version
      string, values of some particularly important config options
      (SMP,preempt,proc family) and the gcc version.
      
      When inserting a module, the version string is checked against the
      kernel version string and loading is rejected if they don't match.
      
      The version string is actually added to the modules during the
      final .ko generation, so that a changed version string does only
      cause relinking, not recompilation, which is a major performance
      improvement over the old 2.4 way of doing things.
      1d411b80
  2. 13 Jan, 2003 39 commits