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)
commitaa0c0227d331719052cf14a3c10e99a12818d81b
treefd6173ba76513ffbad80e4a24b2933d9122a2666
parent39e5993d0d452b9ef612f2fcf7ca77ff319438f4
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