diff options
author | Mimi Zohar <zohar@linux.ibm.com> | 2018-11-09 00:53:40 -0500 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2018-11-13 07:37:42 -0500 |
commit | 59637d5e1693451b03d2979ffbe9d40423ef05d7 (patch) | |
tree | 30f8596dd886f5ce918fdcc57b4d3b6b42fa4896 /include/linux/ima.h | |
parent | 26b76320a8a550472bbb8f42257df83fcb8d8df6 (diff) | |
download | linux-stable-59637d5e1693451b03d2979ffbe9d40423ef05d7.tar.gz linux-stable-59637d5e1693451b03d2979ffbe9d40423ef05d7.tar.bz2 linux-stable-59637d5e1693451b03d2979ffbe9d40423ef05d7.zip |
integrity: support new struct public_key_signature encoding field
On systems with IMA-appraisal enabled with a policy requiring file
signatures, the "good" signature values are stored on the filesystem as
extended attributes (security.ima). Signature verification failure
would normally be limited to just a particular file (eg. executable),
but during boot signature verification failure could result in a system
hang.
Defining and requiring a new public_key_signature field requires all
callers of asymmetric signature verification to be updated to reflect
the change. This patch updates the integrity asymmetric_verify()
caller.
Fixes: 82f94f24475c ("KEYS: Provide software public key query function [ver #2]")
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Denis Kenzior <denkenz@gmail.com>
Diffstat (limited to 'include/linux/ima.h')
0 files changed, 0 insertions, 0 deletions