Hi,
I'm trying to store some data (namely, an LSM security) for a POSIX
process, i.e. data that is the same for all POSIX threads belonging
to one process. Unfortunately Linux task_structs are per task, where
a task is a POSIX thread rather than process. I was thinking that I
could just store the data in the security field of the "struct
task_struct *group_leader".
I am wondering if there is any better way of doing this and whether
the group_leader can ever change or whether it will ever change?
Thank you very much for your help,
Can Sar
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/