On Thu, Jul 23, 2020 at 07:12:27PM +0200, Mickaël Salaün wrote: > From: Mimi Zohar <[email protected]> > > The kernel has no way of differentiating between a file containing data > or code being opened by an interpreter. The proposed O_MAYEXEC > openat2(2) flag bridges this gap by defining and enabling the > MAY_OPENEXEC flag. > > This patch adds IMA policy support for the new MAY_OPENEXEC flag. > > Example: > measure func=FILE_CHECK mask=^MAY_OPENEXEC > appraise func=FILE_CHECK appraise_type=imasig mask=^MAY_OPENEXEC > > Signed-off-by: Mickaël Salaün <[email protected]>
^^^ this S-o-b should the last in the fields. > Signed-off-by: Mimi Zohar <[email protected]> > Reviewed-by: Lakshmi Ramasubramanian <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] Reviewed-by: Kees Cook <[email protected]> -- Kees Cook

