Re: [patch] vfs: no "(unreachable)" prefix for SYSVIPC maps in/proc/PID/maps

From: Miklos Szeredi
Date: Thu Sep 10 2009 - 01:44:28 EST


On Wed, 9 Sep 2009, Andrew Morton wrote:
> On Mon, 07 Sep 2009 17:21:49 +0200
> Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>
> > Another fix for vfs-fix-d_path-for-unreachable-paths.patch in -mm.
> >
>
> Now I'm confused.
>
> > From: Miklos Szeredi <mszeredi@xxxxxxx>
> >
> > The patch
> >
> > "vfs: fix d_path() for unreachable paths"
> >
> > generally changed d_path() to report unreachable paths with a special
> > prefix. This has an effect on /proc/${PID}/maps as well for memory
> > maps set up with shmem_file_setup() or hugetlb_file_setup(). These
> > functions set up unlinked files under a kernel-private vfsmount.
> > Since this vfsmount is unreachable from userspace, these maps will be
> > reported with the "(unreachable)" prefix.
> >
> > This is undesirable, because it changes the kernel ABI and might break
> > applications for no good reason.
> >
> > Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
>
> These three patches are fixes against
> vfs-fix-d_path-for-unreachable-paths.patch?

Yes. They apply even without that patch, but don't make any sense...
Sorry about the confusion :(

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/