Loading
ima: Add parser keyword to the policy
euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I91FSN CVE: NA ------------------------------------------------- This patch adds the new policy keyword 'parser' to measure and appraise any file opened by the user space parser, while the parser opened digest_list_data_add or digest_list_data_del securityfs interfaces. This ensures that all files processed by the user space parser are processed without including the FILE_CHECK hook in the policy. With this keyword it would be possible to have a policy to measure/appraise only executable code and digest lists. 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>