Re: Module to sanitize freed memory ?

2011-05-13 Thread Chris Laberti
Hi, Is there a kernel module that sanitizes (overwrites) freed memory ? Or maybe does sysctl offer something like this ? Regards, Chris you can always use the kzfree() routine, that zeroes freed memory automatically. rday What's wrong with the kernel option that does this for

Module to sanitize freed memory ?

2011-05-12 Thread Chris Laberti
Hi, Is there a kernel module that sanitizes (overwrites) freed memory ? Or maybe does sysctl offer something like this ? Regards, Chris ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Module to sanitize freed memory ?

2011-05-12 Thread Greg KH
On Thu, May 12, 2011 at 05:12:19PM +0200, Chris Laberti wrote: Hi, Is there a kernel module that sanitizes (overwrites) freed memory ? Or maybe does sysctl offer something like this ? What's wrong with the kernel option that does this for you (CONFIG_DEBUG_SLAB)? No need to write a separate