Loading
ima: Allow direct upload of digest lists to securityfs
euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I91FSN CVE: NA ------------------------------------------------- This patch allows direct upload of digest lists by user space parsers. This operation is possible if the digest of the process's executable is found in the digest lists and its type is COMPACT_PARSER. ima_check_measured_appraised() is called at the end of ima_file_check() to verify that everything accessed by the user space parsers (except for directories and securityfs) has been processed by IMA. If a digest list was not processed by an IMA submodule, digest list lookup is disabled for that submodule. v4: - fix checkpatch warning LONG_LINE and SUSPECT_CODE_INDENT in ima_main.c (zhangguangzhi) Signed-off-by:Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by:
Tianxing Zhang <zhangtianxing3@huawei.com> Reviewed-by:
Jason Yan <yanaijie@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by:
zhoushuiqing <zhoushuiqing2@huawei.com> Signed-off-by:
zhangguangzhi <zhangguangzhi3@huawei.com>