Is there a way to solve this problem? To temporarly turn it read/write?
>, as soon as the kernel pages out (i.e. discards!) some portion
> of the executable due to memory shortage your changes would be lost, since
> the paging back into memory would happen by reading the executable back
> from disk, which would mean it would read the unmodified code into
> memory...
When I'm modifing the code, I'm sure that the page is in memory because my
code is called from the user space, in the exact location where I want to
change it (with a breakpoint interruption...)
The point is that I can't write to the memory location I want... How do I
solve this?
-- Luís Henriques - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/