]> git.baikalelectronics.ru Git - kernel.git/commit
fs/exec.c:de_thread: mt-exec should update ->real_start_time
authorOleg Nesterov <oleg@redhat.com>
Wed, 3 Jul 2013 22:08:35 +0000 (15:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Jul 2013 23:08:03 +0000 (16:08 -0700)
commit2efb90035b6397bc9b2a75cd300599d6f496b6e5
treeb7c5a2ada9b2b4cbab15b23b5b3b6922e2fd1f4b
parentf07741218797c54bd2c9de7cab00b6d3e4d988a1
fs/exec.c:de_thread: mt-exec should update ->real_start_time

a3253b12 ("Use boot based time for process start time and boot time in
/proc") updated copy_process/do_task_stat but forgot about de_thread().
This breaks "ps axOT" if a sub-thread execs.

Note: I think that task->start_time should die.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Tomas Janousek <tjanouse@redhat.com>
Cc: Tomas Smetana <tsmetana@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c