how to disable CONFIG_STRICT_DEVMEM through make menuconfig or make nconfig

后端 未结 1 1595
孤城傲影
孤城傲影 2021-01-21 11:06

I need to disable a CONFIG_STRICT_DEVMEM option in my Linux kernel and recompile it. Why? I was told to do so. I know I can disable it by simply commenting it out i

相关标签:
1条回答
  • 2021-01-21 11:57

    If you don't know your way around menuconfig, hit / to search (à la vim and friends), and type in enough of the config option to narrow it down, e.g. "strict_devmem" or just "devmem". You can then hit one of the numbers in parentheses to jump straight to the relevant menu. It's an absolute lifesaver when you need to check on a whole bunch of random options (e.g. making whatever development defconfig you've got play nicely with a systemd filesystem).

    In this specific case, it should be available under "kernel hacking" as "filter access to /dev/mem".

    0 讨论(0)
提交回复
热议问题