diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2015-06-12 03:48:33 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2015-06-16 15:18:45 +0300 |
commit | 24fd03c87695a76f0517df42a37e51b1597d2c8a (patch) | |
tree | a08107bb7ad12b472a5b1b60cea8770211113c31 /security/commoncap.c | |
parent | 4351c294b8c1028077280f761e158d167b592974 (diff) | |
download | linux-24fd03c87695a76f0517df42a37e51b1597d2c8a.tar.xz |
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
Diffstat (limited to 'security/commoncap.c')
0 files changed, 0 insertions, 0 deletions