> Consider a userland pointer verification library that worked in
> about 10 lines of code by passing the pointer in question to a
> sys_write() call to /dev/null... but this wouldn't work actually
> these days due to how the kernel won't even verify the pointer in
> this case.
Ooo... nice hack.
You could probably implement this by reading /proc/self/maps anyhow,
it would be several orders of magnitude slower than your suggestion
though.
-cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html