Add a field to task_struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need to add a field to task_struct and assign its value when i
create a new task using the sys_clone system call. I have changed the
do_fork method for that but i want to know how can i provide value for
the new field that i added, my idea is that i need to change the
system call to support more parameters.

It is currently using _syscall2 or _syscall5. I want it to be able to
support _syscall3 with two arguements being flags and child stack and
third arguement being the value for the field i added to task_struct.

Can someone help me with that.

-Amit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux