Re: get_task_comm() not exported?

From: KOSAKI Motohiro
Date: Sun Jan 18 2009 - 17:36:55 EST


Hi

> Hi,
>
> is there any reason why get_task_comm() is not exported in fs/exec.c?

In general, the only function of anybody necessarity explained is exported.
if you want to export get_task_comm(), you need to explain reasonable reason.

>
> I'd like to use get_task_comm() from a kernel module and get unresolved
> symbol errors.
>
> Adding EXPORT_SYMBOL(get_task_comm); to fs/exec.c fixes the problem.
>
> Cheers,
> Christoph
>
> Please Cc.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/