Reputation: 1407
in the version 2.6.15,i got that i can rewrite the task_struct in the file (include/linux/sched.h),like:
struct task_struct {
unsigned did_exec:1;
pid_t pid;
pid_t tgid;
...
char hide;
}
but unfortunately,when i come to the version 2.6.30.5,i look through the same file,i just find out a delcration of the task_struct,like:
struct task_struct;
And i have no idea,which file i should refer to,in purpose of sepcific my own task_struct?
Someone can help me?thx
Upvotes: 1
Views: 284