Thread (3 messages) 3 messages, 2 authors, 2011-02-26

from relative to absolute pathname

From: mohit verma <hidden>
Date: 2011-02-26 11:24:58

On Sat, Feb 26, 2011 at 1:33 PM, Manish Katiyar [off-list ref] wrote:
On Fri, Feb 25, 2011 at 11:48 PM, mohit verma [off-list ref]
wrote:
quoted
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
quoted
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.

quoted
thanks in advance.

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

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


--
Thanks -
Manish


-- 
........................
*MOHIT VERMA*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110226/091947de/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help