how to disable CONFIG_STRICT_DEVMEM through make menuconfig or make nconfig

Deadly 提交于 2020-12-26 09:14:53

问题


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 in the .config file, but I need to see how it is done through make menuconfig or make nconfig. Why? This is for a demo and I need to be able to show it. Does anyone know how to do it?

Any help is appreciated.


回答1:


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".



来源:https://stackoverflow.com/questions/39129785/how-to-disable-config-strict-devmem-through-make-menuconfig-or-make-nconfig

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!