Loading
ima: Add ima_show_template_uint() template library function
stable inclusion from stable-v6.9.3 commit cde1391a category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9RJ09 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cde1391a0b4014b0e8fc09cd316272f478b54c0f -------------------------------- [ Upstream commit cde1391a ] This patch introduces the new function ima_show_template_uint(). This can be used for showing integers of different sizes in ASCII format. The function ima_show_template_data_ascii() automatically determines how to print a stored integer by checking the integer size. If integers have been written in canonical format, ima_show_template_data_ascii() calls the appropriate leXX_to_cpu() function to correctly display the value. Signed-off-by:Roberto Sassu <roberto.sassu@huawei.com> Signed-off-by:
Mimi Zohar <zohar@linux.ibm.com> Signed-off-by:
Huaxin Lu <luhuaxin1@huawei.com>