title: How do you create a signed loadable kernel module for Android?
body: <p>I read what David Howells wrote on:
   <a href="https://kernel.googlesource.com/pub/scm/linux/kernel/git/dhowells/linux-modsign/+/modsign-rusty/Documentation/module-signing.txt" rel="nofollow">https://kernel.googlesource.com/pub/scm/linux/kernel/git/dhowells/linux-modsign/+/modsign-rusty/Documentation/module-signing.txt</a></p>
  
  <p>I heard that the CONFIG_MODULE_SIG has to be turned on, but it was not stated particularly how. I am also not sure how to use a kernel make command.</p>
  
  <p>I am not able to piece together enough information to generate a mini signed LKM.</p>
  
  <p>Would anyone here have done it before, and able to guide me on a minimallist example on signing a helloworld LKM?</p>