summaryrefslogtreecommitdiffstats
path: root/drivers/dca/dca-sysfs.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.microsoft.com>2020-08-11 21:26:21 +0200
committerMimi Zohar <zohar@linux.ibm.com>2020-08-31 23:45:14 +0200
commit48ce1ddce16b0d1e3ff948da40a0d5125a4ee1a0 (patch)
treeac61a13bfdde5936b29985c6a60ab75dc7ff3af7 /drivers/dca/dca-sysfs.c
parentima: Pre-parse the list of keyrings in a KEY_CHECK rule (diff)
downloadlinux-48ce1ddce16b0d1e3ff948da40a0d5125a4ee1a0.tar.xz
linux-48ce1ddce16b0d1e3ff948da40a0d5125a4ee1a0.zip
ima: Fail rule parsing when asymmetric key measurement isn't supportable
Measuring keys is currently only supported for asymmetric keys. In the future, this might change. For now, the "func=KEY_CHECK" and "keyrings=" options are only appropriate when CONFIG_IMA_MEASURE_ASYMMETRIC_KEYS is enabled. Make this clear at policy load so that IMA policy authors don't assume that these policy language constructs are supported. Fixes: 2b60c0ecedf8 ("IMA: Read keyrings= option from the IMA policy") Fixes: 5808611cccb2 ("IMA: Add KEY_CHECK func to measure keys") Suggested-by: Nayna Jain <nayna@linux.ibm.com> Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> Reviewed-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com> Reviewed-by: Nayna Jain <nayna@linux.ibm.com> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'drivers/dca/dca-sysfs.c')
0 files changed, 0 insertions, 0 deletions