Hello

em, this can protect the stack, so what about the memory buffer allocated 
through the kmalloc or vmalloc ?


Thanks,
HeChuan

At 2014-05-29 12:01:10,valdis.kletni...@vt.edu wrote:
>On Thu, 29 May 2014 11:13:09 +0800, RS said:
>> How to detect the kernel memory overflow errors?
>
>With a sufficiently recent gcc, you can build the kernel
>with CONFIG_CC_STACKPROTECTOR=y which will put a canary
>value on the stack and check it for corruption.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to