Is there any way from a kernel module to track which all page is written in heap ,
when user application write to a malloced page( example like given below ptr[1] =3) ?
The real use of this is , i am writing a kernel module which will dump only modified heap page of the user process
int main()
{
char *ptr;
ptr = malloc(10);
ptr[1] =3;
return 0;
}