[PATCH v8 08/19] ima: Use mac_admin_ns_capable() to check corresponding capability

Mimi Zohar zohar at linux.ibm.com
Thu Jan 13 20:28:19 UTC 2022


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 at linux.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 at huawei.com>
> Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>

thanks,

Mimi



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