Patch "ima: update builtin policies" has been added to the 4.1-stable tree
Subsystems (5)
This is a note to let you know that I've just added the patch titled
ima: update builtin policies
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
ima-update-builtin-policies.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
24fd03c87695a76f0517df42a37e51b1597d2c8aMon Sep 17 00:00:00 2001
From: Mimi Zohar <[email protected]>
Date: Thu, 11 Jun 2015 20:48:33 -0400
Subject: ima: update builtin policies
From: Mimi Zohar <[email protected]>
commit 24fd03c87695a76f0517df42a37e51b1597d2c8a upstream.
This patch defines a builtin measurement policy "tcb", similar to the existing "ima_tcb", but with additional rules to also measure files based on the effective uid and to measure files opened with the "read" mode bit set (eg. read, read-write).
Changing the builtin "ima_tcb" policy could potentially break existing users. Instead of defining a new separate boot command line option each time the builtin measurement policy is modified, this patch defines a single generic boot command line option "ima_policy=" to specify the builtin policy and deprecates the use of the builtin ima_tcb policy.
[The "ima_policy=" boot command line option is based on Roberto Sassu's "ima: added new policy type exec" patch.]
--- Documentation/kernel-parameters.txt | 10 ++++- security/integrity/ima/ima_policy.c | 65 +++++++++++++++++++++++++++++++----- 2 files changed, 65 insertions(+), 10 deletions(-)
Documentation/kernel-parameters.txt +9 -1
@@ -1398,7 +1398,15 @@ bytes respectively. Such letter suffixes The list of supported hash algorithms is defined in crypto/hash_info.h. - ima_tcb [IMA] + ima_policy= [IMA] + The builtin measurement policy to load during IMA + setup. Specyfing "tcb" as the value, measures all + programs exec'd, files mmap'd for exec, and all files + opened with the read mode bit set by either the + effective uid (euid=0) or uid=0. + Format: "tcb" + + ima_tcb [IMA] Deprecated. Use ima_policy= instead. Load a policy which meets the needs of the Trusted Computing Base. This means IMA will measure all programs exec'd, files mmap'd for exec, and all files
security/integrity/ima/ima_policy.c +56 -9
109 lines not on this page · raw message
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/keys-fix-ca_keys-partial-key-matching.patch queue-4.1/ima-update-builtin-policies.patch queue-4.1/ima-extend-mask-policy-matching-support.patch queue-4.1/ima-cleanup-ima_init_policy-a-little.patch queue-4.1/evm-labeling-pseudo-filesystems-exception.patch queue-4.1/ima-fix-ima_show_template_data_ascii.patch queue-4.1/ima-add-support-for-new-euid-policy-condition.patch queue-4.1/ima-do-not-measure-or-appraise-the-nsfs-filesystem.patch queue-4.1/ima-skip-measurement-of-cgroupfs-files-and-update-documentation.patch