[PATCH] use strncpy in get_task_comm
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Mar 2005 07:39:08 +0000 (23:39 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Mar 2005 07:39:08 +0000 (23:39 -0800)
commit93bf18c70ba9d6ca8c85d4ced4cdc8974b66dcd7
tree3f9eff17fcce0ff168adbffcf01400154d5ec5ae
parent2b68239ff70ab5ff848181db88a967b67f744e25
[PATCH] use strncpy in get_task_comm

From: Prasanna Meda <pmeda@akamai.com>

Set_task_comm uses strlcpy, so get_task_comm must use strncpy.

Signed-Off-by: Prasanna Meda <pmeda@akamai.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/exec.c