[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhQ=p2=tz2ZE9SrkRzYUcDpwHQ9bRiNW980M3S4FEhY-qA@mail.gmail.com>
Date: Tue, 25 Jan 2022 18:50:25 -0500
From: Paul Moore <paul@...l-moore.com>
To: "GONG, Ruiqi" <gongruiqi1@...wei.com>
Cc: Stephen Smalley <stephen.smalley.work@...il.com>,
Eric Paris <eparis@...isplace.org>,
Ondrej Mosnacek <omosnace@...hat.com>,
Anna Schumaker <Anna.Schumaker@...app.com>,
Olga Kornievskaia <kolga@...app.com>, selinux@...r.kernel.org,
linux-kernel@...r.kernel.org,
Wang Weiyang <wangweiyang2@...wei.com>,
Xiu Jianfeng <xiujianfeng@...wei.com>
Subject: Re: [PATCH -next] selinux: access superblock_security_struct in LSM
blob way
On Tue, Jan 25, 2022 at 2:12 AM GONG, Ruiqi <gongruiqi1@...wei.com> wrote:
>
> LSM blob has been involved for superblock's security struct. So fix the
> remaining direct access to sb->s_security by using the LSM blob
> mechanism.
>
> Fixes: 08abe46b2cfc ("selinux: fall back to SECURITY_FS_USE_GENFS if no xattr support")
> Fixes: 69c4a42d72eb ("lsm,selinux: add new hook to compare new mount to an existing mount")
> Signed-off-by: GONG, Ruiqi <gongruiqi1@...wei.com>
> ---
> security/selinux/hooks.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for the patch! I just merged this into selinux/next.
--
paul-moore.com
Powered by blists - more mailing lists