On Fri, Feb 25, 2011 at 11:48 PM, mohit verma <mohit89mlnc@gmail.com> wrote:Hi Mohit,
> hi all,
>
> if i call some system call (like open , rename ,unlink, delete and so on)
> with relative pathname. in kernel space how can i get the full pathname from
> that relative pathname being passed to that system call ?
have a look at the function d_path(). This might help.
> _______________________________________________
>
> thanks in advance.
>
> --
> ........................
> MOHIT VERMA
>
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
--
Thanks -
Manish