<div>HI,</div><div> I am trying to complie the kernel with CONFIG_STRICT_DEVMEM option enabled. I have done the following</div><div> </div><div>1) In menuconfig i excluded Filter Access To dev/mem . I can see # CONFIG_STRICT_DEVMEM is not set in .config<br>
</div><div>2) i did make clean;make;make modules_install,make install & then reboot</div><div>3) When i use mmap(/dev/mem,,,,) from user program, i still see the code(drivers/char/mem.c) executed within </div><div>#ifdef CONFIG_STRICT_DEVMEM</div>
<div> </div><div>this is my dmesg |tail -10 output</div><div>Program outmap tried to access /dev/mem between [mem 0x371fc000-0x371fcfff]</div><div> </div><div>What am i doing wrong?</div><div> </div><div>--Thanks</div><div>
<br> </div>