![]() | |||||||||||||
Messages in this thread |
On Fri, 2002-12-06 at 12:09, Robert Love wrote: > One thing to note: if you can modify the kernel and procps, you can just > export the value of task->mm out of /proc. It is a gross hack, and > perhaps a security issue, but that will work 100%. Same ->mm implies > thread. It isn't a terribly gross hack. I have a patch (somewhere...) which adds an ASID: field to /proc/<pid>/status, which simply contains the mm pointer (as an opaque identifier token). If you were worried about exposing (yet another) kernel pointer value, I suppose you could mush it about a bit, but I think that would give the illusion of obscurity rather than any actual increase in security. J - 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/ | ||||||||||||
| Last update: 2005-03-22 12:31 [W:0.245 / U:0.180 seconds] ©2003-2008 Jasper Spaans | |||||||||||||