]> git.baikalelectronics.ru Git - kernel.git/commit
ima: Use correct type for the args_p member of ima_rule_entry.lsm elements
authorTyler Hicks <tyhicks@linux.microsoft.com>
Thu, 9 Jul 2020 06:19:08 +0000 (01:19 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Mon, 20 Jul 2020 17:28:14 +0000 (13:28 -0400)
commit74157d21eff67e9716aa78a0777ae352afd6ca46
treefd6173ba76513ffbad80e4a24b2933d9122a2666
parent449d603100f9b91559bf7cd8d68919c9c338b66d
ima: Use correct type for the args_p member of ima_rule_entry.lsm elements

Make args_p be of the char pointer type rather than have it be a void
pointer that gets casted to char pointer when it is used. It is a simple
NUL-terminated string as returned by match_strdup().

Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_policy.c