[PATCH v3 3/3] fs: store real path instead of fake path in backing file f_path

Miklos Szeredi miklos at szeredi.hu
Tue Oct 10 13:34:45 UTC 2023


On Tue, 10 Oct 2023 at 15:17, Amir Goldstein <amir73il at gmail.com> wrote:

> Sorry, you asked about ovl mount.
> To me it makes sense that if users observe ovl paths in writable mapped
> memory, that ovl should not be remounted RO.
> Anyway, I don't see a good reason to allow remount RO for ovl in that case.
> Is there?

Agreed.

But is preventing remount RO important enough to warrant special
casing of backing file in generic code?  I'm not convinced either
way...

Thanks,
Miklos



More information about the Linux-security-module-archive mailing list