Direct access to structure task_struct from Usermode as root
问题 I know it is supposed to be used in Kernel Modules. But if I want to pass a pointer to struct task_struct and read the data (for example process name) from it in user mode with root privileges, will it be possible? I want to access raw virtual addresses, and hope it will be a struct task_struct structure if not, go further. It will be kind of brute forcing virtual address for task_structs. Do I have to go through Kernel Headers and import struct definitions manually to read each bytes? Thanks