Files
linux/kernel
KaiGai Kohei f6ec29a42d [PATCH] pacct: avoidance to refer the last thread as a representation of the process
When pacct facility generate an 'ac_flag' field in accounting record, it
refers a task_struct of the thread which died last in the process.  But any
other task_structs are ignored.

Therefore, pacct facility drops ASU flag even if root-privilege operations are
used by any other threads except the last one.  In addition, AFORK flag is
always set when the thread of group-leader didn't die last, although this
process has called execve() after fork().

We have a same matter in ac_exitcode.  The recorded ac_exitcode is an exit
code of the last thread in the process.  There is a possibility this exitcode
is not the group leader's one.
2006-06-25 10:01:25 -07:00
..
2005-04-16 15:20:36 -07:00
2006-03-26 08:57:03 -08:00
2005-10-30 17:37:32 -08:00
2005-10-08 15:00:57 -07:00
2006-01-09 15:59:19 -08:00
2006-06-25 10:01:13 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:15 -07:00
2006-04-01 01:41:22 +02:00
2006-04-19 16:27:18 -07:00
2005-04-16 15:20:36 -07:00