Re: function of getname() function

From: Alexander Viro (viro@math.psu.edu)
Date: Mon Jun 18 2001 - 02:42:39 EST


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/



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