Linux Kernel dentry and inode?

If you have a struct path (or can construct one), look at how tomoyo do this: http://lxr.linux.no/linux+v2.6.37/security/tomoyo/realpath.c#L86.

Take a look at dentry_path(). It will fill a buffer with the path up to the mount's root. To keep going past there, you'll need iterate through your file's f_vfsmount and it's mnt_parents until you reach the real root of the file system.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions