Re: function of getname() function

Alexander Viro (viro@math.psu.edu)
Mon, 18 Jun 2001 03:42:39 -0400 (EDT)


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.

It allocates a buffer and copies file name from user memory to that buffer.

-
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/