Add a field to task_struct

From: Amit Singh
Date: Fri Mar 24 2006 - 16:14:05 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/