[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3fdefb5517193326b963847ac5e893531fb3dbd.camel@linux.ibm.com>
Date: Thu, 13 Jan 2022 15:28:19 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Stefan Berger <stefanb@...ux.vnet.ibm.com>,
linux-integrity@...r.kernel.org
Cc: serge@...lyn.com, christian.brauner@...ntu.com,
containers@...ts.linux.dev, dmitry.kasatkin@...il.com,
ebiederm@...ssion.com, krzysztof.struczynski@...wei.com,
roberto.sassu@...wei.com, mpeters@...hat.com, lhinds@...hat.com,
lsturman@...hat.com, puiterwi@...hat.com, jejb@...ux.ibm.com,
jamjoom@...ibm.com, linux-kernel@...r.kernel.org,
paul@...l-moore.com, rgb@...hat.com,
linux-security-module@...r.kernel.org, jmorris@...ei.org,
Stefan Berger <stefanb@...ux.ibm.com>,
Denis Semakin <denis.semakin@...wei.com>
Subject: Re: [PATCH v8 08/19] ima: Use mac_admin_ns_capable() to check
corresponding capability
Hi Stefan, Denis,
mac_admin_ns_capable() is being introduced in this patch. Either
rename the "Subject" line as "ima: replace capable() call with
ns_capable()" or "ima: define mac_admin_ns_capable() as a wrapper for
ns_capable()".
On Tue, 2022-01-04 at 12:04 -0500, Stefan Berger wrote:
> From: Stefan Berger <stefanb@...ux.ibm.com>
>
> Use mac_admin_ns_capable() to check corresponding capability to allow
> read/write IMA policy without CAP_SYS_ADMIN but with CAP_MAC_ADMIN.
Updatethe patch description accordingly.
>
> Signed-off-by: Denis Semakin <denis.semakin@...wei.com>
> Signed-off-by: Stefan Berger <stefanb@...ux.ibm.com>
thanks,
Mimi
Powered by blists - more mailing lists