Tuesday, December 3, 2013

verify kernel compile macro in running linux


How to check whether a kernel compile macro is enabled on a running linux machine?

root@babu-VirtualBox:~/tools/stk_corruption/stk_overflow_lkm# grep OVERFLOW /boot/config-3.13.5
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
root@babu-VirtualBox:~/tools/stk_corruption/stk_overflow_lkm#


No comments:

UA-48797665-1