ima: Define new template fields xattrnames, xattrlengths and xattrvalues
This patch defines the new template fields xattrnames, xattrlengths and xattrvalues, which contain respectively a list of xattr names (strings, separated by |), lengths (u32, hex) and values (hex). If an xattr is not present, the name and length are not displayed in the measurement list. Reported-by: kernel test robot <lkp@intel.com> (Missing prototype def) Signed-off-by:Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by:
Mimi Zohar <zohar@linux.ibm.com>
Showing
- Documentation/security/IMA-templates.rst 4 additions, 0 deletionsDocumentation/security/IMA-templates.rst
- include/linux/evm.h 10 additions, 0 deletionsinclude/linux/evm.h
- security/integrity/evm/evm_main.c 69 additions, 0 deletionssecurity/integrity/evm/evm_main.c
- security/integrity/ima/ima_template.c 9 additions, 0 deletionssecurity/integrity/ima/ima_template.c
- security/integrity/ima/ima_template_lib.c 64 additions, 0 deletionssecurity/integrity/ima/ima_template_lib.c
- security/integrity/ima/ima_template_lib.h 6 additions, 0 deletionssecurity/integrity/ima/ima_template_lib.h
Loading
Please register or sign in to comment