Re: function of getname() function

Tigran Aivazian (tigran@veritas.com)
Mon, 18 Jun 2001 08:47:57 +0100 (BST)


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/