how to detect kernel memory overflow ?

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu May 29 00:01:10 EDT 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140529/ae885108/attachment.bin 


More information about the Kernelnewbies mailing list