Re: from relative to absolute pathname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sat, Feb 26, 2011 at 1:33 PM, Manish Katiyar <mkatiyar@xxxxxxxxx> wrote:
On Fri, Feb 25, 2011 at 11:48 PM, mohit verma <mohit89mlnc@xxxxxxxxx> wrote:
> 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 ?

Hi Mohit,

have a look at the function d_path(). This might help.
thanks a lot manish. yeah it worked.
 

>
> thanks in advance.
>
> --
> ........................
> MOHIT VERMA
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



--
Thanks -
Manish



--
........................
MOHIT VERMA

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux