linux-hardened/security/integrity/ima
Mimi Zohar 24fd03c876 ima: update builtin policies
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.]

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Dr. Greg Wettstein <gw@idfusion.org>
Cc: stable@vger.kernel.org
2015-06-16 08:18:45 -04:00
..
ima.h ima: fix ima_show_template_data_ascii() 2015-06-16 08:18:21 -04:00
ima_api.c ima: pass iint to ima_add_violation() 2015-05-21 13:59:29 -04:00
ima_appraise.c ima: limit file hash setting by user to fix and log modes 2015-05-21 13:28:46 -04:00
ima_crypto.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2014-12-14 20:36:37 -08:00
ima_fs.c ima: fix ima_show_template_data_ascii() 2015-06-16 08:18:21 -04:00
ima_init.c ima: pass iint to ima_add_violation() 2015-05-21 13:59:29 -04:00
ima_main.c ima: pass iint to ima_add_violation() 2015-05-21 13:59:29 -04:00
ima_policy.c ima: update builtin policies 2015-06-16 08:18:45 -04:00
ima_queue.c integrity: fix checkpatch errors 2014-03-07 12:15:45 -05:00
ima_template.c ima: added support for new kernel cmdline parameter ima_template_fmt 2014-10-13 08:39:02 -04:00
ima_template_lib.c ima: fix ima_show_template_data_ascii() 2015-06-16 08:18:21 -04:00
ima_template_lib.h ima: wrap event related data to the new ima_event_data structure 2015-05-21 13:59:28 -04:00
Kconfig ima: /proc/keys is now mandatory 2015-02-02 13:19:48 +11:00
Makefile ima: define template fields library and new helpers 2013-10-25 17:17:05 -04:00