Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6502

Searching out the task_struct() corresponding to the PID

$
0
0

I need to make a function which can search out the task struct() corresponding to the PID, and store all the fields in a file.How do i get the task_struct() corresponding to the PID?

What i know-

I know I am supposed to use find_task_by_vpid but i don't know how it functions. Or what it returns.And how to i store those in a file(how to write a struct to file)


Viewing all articles
Browse latest Browse all 6502

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>