commit | b4df86085af9d3f456bed8245cede7c4413dcf83 | [log] [tgz] |
---|---|---|
author | Yisheng Xie <xieyisheng1@huawei.com> | Mon May 21 19:58:02 2018 +0800 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Thu May 31 10:11:58 2018 -0400 |
tree | bf74ddc01902c32c84677d5b4321b5561f58746d | |
parent | 6f0911a666d1f99ff72e7848ddee36af7bbce050 [diff] |
ima: use match_string() helper match_string() returns the index of an array for a matching string, which can be used intead of open coded variant. Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>