Re: function of getname() function

From: Tigran Aivazian (tigran@veritas.com)
Date: Mon Jun 18 2001 - 02:47:57 EST


Hi Sathish,

The function of getname() is to allocate some (kernel-space) memory for
the userspace-passed filename and copy it from user space to kernel space.

Regards,
Tigran

On Mon, 18 Jun 2001, SATHISH.J wrote:

> Hi,
>
> Sorry if this question is too silly.
>
> I could not understand what getname(filename) function in the sys_open()
> function is doing. I could not understand from the code what exactly it is
> doing. Please help me with the same.
>
> Thanks in advance,
>
> Regards,
> sathish
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:20 EST