Re: [PATCH] Read THREAD_CPUTIME clock from other processes.

From: Roland McGrath
Date: Fri Jan 07 2011 - 14:58:44 EST


> Well, ptrace_may_access() protects only get_wchan/eip/esp, but
> not utime/stime.

Oh, sorry. I misread the code. As I said, I leave it to the security
folks to decide what the appropriate constraints are. All the mechanisms
for accessing the same information should just be consistent. So perhaps
this is indeed fine.


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/