linux get process name from pid within kernel

前端 未结 4 1125
暗喜
暗喜 2021-01-05 07:30

hi i have used sys_getpid() from within kernel to get process id how can I find out process name from kernel struct? does it exist in kernel??

thanks very much

4条回答
提交回复
热议问题