Skip to content

ima: extending IMA policy to support interpreters

Mimi Zohar linux-integrity linux-security-module lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ima: add policy support for identifying file execute mode bitDocumentation/ABI/testing/ima_policy security/integrity/ima/ima_policy.c+19 -41 reply
2/2ima: add policy support for the new file open MAY_OPENEXEC flagDocumentation/ABI/testing/ima_policy security/integrity/ima/ima_main.c security/integrity/ima/ima_policy.c+14 -63 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ima: extending IMA policy to support interpreters

On file open, the kernel has no way of differentiating between files containing data and those with code that will be executed. Only the interpreter knows how the file will be used. To bridge this gap, this patch set extends the IMA policy language:

- to identify files with the executable mode bit set
- to support the new file open flag MAY_OPENEXEC introduced by Mickael Salaun's "[PATCH v3 0/5] Add support for RESOLVE_MAYEXEC" patch set.

Mimi

Mimi Zohar (2):
ima: add policy support for identifying file execute mode bit
ima: add policy support for the new file open MAY_OPENEXEC flag

 Documentation/ABI/testing/ima_policy |  7 ++++---
 security/integrity/ima/ima_main.c    |  3 ++-
 security/integrity/ima/ima_policy.c  | 33 +++++++++++++++++++++++++++------
 3 files changed, 33 insertions(+), 10 deletions(-)
Signature · 1 line
2.7.5