diff options
| author | Mike Kravetz <kravetz@us.ibm.com> | 2004-08-22 22:26:30 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 22:26:30 -0700 |
| commit | 4b4b699dc55425eb582fb233b7815ce0ecd97147 (patch) | |
| tree | 1498a69ffae64a8b548c2c9cbadcbabe58fe744c /kernel | |
| parent | 9026a8d6da2f5a283b988f0748e6324467e12636 (diff) | |
[PATCH] proc fs task name locking fix
Races have been observed between excec-time overwriting of task->comm and
/proc accesses to the same data. This causes environment string
information to appear in /proc.
Fix that up by taking task_lock() around updates to and accesses to
task->comm.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
