Thanks for the clarification! I'm trying to make a patch to slightly improve security in file system. It consists in removing the ".." dir entry in the "/" dir of the file system mounted on the root mount point. This could prevent an attacker from using a long series of "../../../" etc in a transversal directory attack with unknown initial relative path to reach the root dir for sure and then move from there. The dangerousness depends from which is the flaw Do you think it's worth it? ---------------------------------------- > Date: Sat, 1 Aug 2015 14:46:33 +0200 > Subject: Re: ext3 and like, mount point in module > From: richard.weinberger@xxxxxxxxx > To: tomasbortoli@xxxxxxxxxx > CC: linux-fsdevel@xxxxxxxxxxxxxxx > > On Sat, Aug 1, 2015 at 2:27 PM, Tomas Bortoli <tomasbortoli@xxxxxxxxxx> wrote: >> Hi! I'm looking for a way to get the mount point of a file system from the EXT3 linux kernel module. >> The folder of the module is (in linux 4.0.5) /fs/ext3 >> Is it possible? Which is the variable that contains it? > > The VFS manages mount points, not filesystem drivers. > What problem are you drying to solve? > > -- > Thanks, > //richard > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html