linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel space realpath()
@ 2003-03-23 17:49 Ramy M. Hassan
  2003-03-23 20:03 ` Matthew Wilcox
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ramy M. Hassan @ 2003-03-23 17:49 UTC (permalink / raw)
  To: linux-fsdevel

Hi,
I am new to kernel development. I am developing now a kernel module to
create log of all file operations under a certain specified directory. I
intercept the system calls that may do modifications to this directory
contents and create the logfile. My problem is that a system call like
sys_unlink takes a path that could be relative, and could contain ".." or
".". It might also contain components that are symlinks to other
directories. So I want to get the real path of that file given its relative
path name.
Is there anyway to do that ?

I appreciate your help.
Best regards

Ramy



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-24 21:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-23 17:49 kernel space realpath() Ramy M. Hassan
2003-03-23 20:03 ` Matthew Wilcox
2003-03-24 21:06   ` Chris Wright
2003-03-24  6:34 ` Jan Hudec
2003-03-24  7:26 ` Nir Tzachar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).