阅读背景:

流程ID在Linux中是非负面的吗?

来源:互联网 

I am implementing a syscall that is called in user-space, lets say by foo. The syscall accesses foo's task_struct ( throught the global pointer current), prints it's name and pid, then goes on to foo's parent-process, foo's parent's parent etc. Prints all their names and pids up to and including the init process's.I am implementing a syscall that is called in u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: