Re: [PATCH v15 00/11] LSM: Three basic syscalls

From: Paul Moore
Date: Mon Oct 16 2023 - 11:06:50 EST


On Mon, Oct 16, 2023 at 8:05 AM Roberto Sassu
<roberto.sassu@xxxxxxxxxxxxxxx> wrote:
>
> Sorry, I just noticed LSM_ID_IMA. Since we have the 'integrity' LSM, I
> think it should be LSM_ID_INTEGRITY.
>
> Mimi, all, do you agree? If yes, I send a patch shortly.

I believe LSM_ID_IMA is the better option, despite "integrity" already
being present in Kconfig and possibly other areas. "IMA" is a
specific thing/LSM whereas "integrity" is a property, principle, or
quality. Especially as we move forward with promoting IMA as a full
and proper LSM, we should work towards referring to it as "IMA" and
not "integrity".

If anything we should be working to support "IMA" in places where we
currently have "integrity" so that we can eventually deprecate
"integrity".

--
paul-moore.com