On Mon, Apr 19, 2021 at 03:34:58PM +0200, Andrea Claudi wrote:
> The function get_task_name() is used to get the name of a process from
> its pid, and its implementation is similar to ip/iptuntap.c:pid_name().
>
> Move it to lib/fs.c to use a single implementation and make it easily
> reusable.
>
The function get_task_name() is used to get the name of a process from
its pid, and its implementation is similar to ip/iptuntap.c:pid_name().
Move it to lib/fs.c to use a single implementation and make it easily
reusable.
Signed-off-by: Andrea Claudi
---
include/utils.h | 1 +
ip/iptuntap.c