title: How do I strip local symbols from linux kernel module without breaking it?
body: <p>If I do <code>--strip-debug</code> or <code>--strip-unneeded</code>, I have the <code>.ko</code> that lists all function names with <code>nm</code>, if I do just <code>strip foo.ko</code> I have a kernel module that refuses to load. </p>
  
  <p>Does anyone know a <em>quick</em> shortcut how to remove all symbols that are not needed for module loading so that people cannot reverse engineer the API:s as easily?</p>
  
  <p>PS: For all you open source <strike>bigots</strike> missionaries; this is something that general public will never be using in any case so no need to turn the question into a GPL flame war.</p>