for_each_task skips the first task in the task list, init.
But with SMP, init and only init can be cloned.
In the SMP case, shouldn't it skip pid==1?
kernel/capability.c cap_set_all() gets this right
but every other use of for_each_task
that I checked didn't.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:27 EST