Re: PTRACE_{READ,WRITE}{TEXT,DATA}

From: Roland McGrath
Date: Tue Apr 29 2008 - 18:07:57 EST


I don't see any sense in adding that. Using /proc/pid/mem is already the
"efficient" API for this known to userland. I don't think keeping the fd
around for that is any great burden, and if you do then the one pread64
call is just as efficient as one ptrace call to do the same thing.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/