title: How can I access the kernel command line from a Linux kernel module?
body: <p>How can I obtain the kernel command line from a Linux kernel module?</p>
  
  <p>This can be achieved by reading <code>/proc/cmdline</code>, but it seems like there must be an easier way to access the command line from a kernel module than to open and read a file.</p>