[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9866764-15b-e795-60aa-b484916f66b4@namei.org>
Date: Tue, 8 Dec 2020 17:53:30 -0800 (PST)
From: James Morris <jmorris@...ei.org>
To: Miklos Szeredi <mszeredi@...hat.com>
cc: "Eric W . Biederman" <ebiederm@...ssion.com>,
linux-fsdevel@...r.kernel.org, linux-unionfs@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 01/10] vfs: move cap_convert_nscap() call into
vfs_setxattr()
On Mon, 7 Dec 2020, Miklos Szeredi wrote:
> cap_convert_nscap() does permission checking as well as conversion of the
> xattr value conditionally based on fs's user-ns.
>
> This is needed by overlayfs and probably other layered fs (ecryptfs) and is
> what vfs_foo() is supposed to do anyway.
>
> Signed-off-by: Miklos Szeredi <mszeredi@...hat.com>
Acked-by: James Morris <jamorris@...ux.microsoft.com>
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists