<br><div class="gmail_quote">On Sat, Feb 26, 2011 at 1:33 PM, Manish Katiyar <span dir="ltr"><<a href="mailto:mkatiyar@gmail.com">mkatiyar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Fri, Feb 25, 2011 at 11:48 PM, mohit verma <<a href="mailto:mohit89mlnc@gmail.com">mohit89mlnc@gmail.com</a>> wrote:<br>
> hi all,<br>
><br>
> if i call some system call (like open , rename ,unlink, delete and so on)<br>
> with relative pathname. in kernel space how can i get the full pathname from<br>
> that relative pathname being passed to that system call ?<br>
<br>
</div>Hi Mohit,<br>
<br>
have a look at the function d_path(). This might help.<br></blockquote><div>thanks a lot manish. yeah it worked.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
><br>
> thanks in advance.<br>
><br>
> --<br>
> ........................<br>
> MOHIT VERMA<br>
><br>
</div>> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Thanks -<br>
<font color="#888888">Manish<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>........................<div><i>MOHIT VERMA</i></div><br>