Re:Re: how to detect kernel memory overflow ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.Kletnieks@xxxxxx 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux