r***e 发帖数: 2000 | 1 Is this even possible? Can you check your own status without checking on it?
I read you can use ptrace, but just curious. Thanks. | S*A 发帖数: 7142 | 2 What do you mean? If you write a kernel module, of course you can.
A lot of task struct information already expose in /proc//
What do you want to get?
Ptrace is just a user space tracing. Not much to do with task_struct.
it?
【在 r***e 的大作中提到】 : Is this even possible? Can you check your own status without checking on it? : I read you can use ptrace, but just curious. Thanks.
| S*A 发帖数: 7142 | 3 BTW, there is also:
gdb /proc/kcore
so you can inspect kernel memory if it is just one
time thing. | r***e 发帖数: 2000 | |
|