summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_policy.c
diff options
context:
space:
mode:
authorYisheng Xie <xieyisheng1@huawei.com>2018-05-21 19:58:02 +0800
committerMimi Zohar <zohar@linux.vnet.ibm.com>2018-05-31 10:11:58 -0400
commitb4df86085af9d3f456bed8245cede7c4413dcf83 (patch)
treebf74ddc01902c32c84677d5b4321b5561f58746d /security/integrity/ima/ima_policy.c
parent6f0911a666d1f99ff72e7848ddee36af7bbce050 (diff)
downloadop-kernel-dev-b4df86085af9d3f456bed8245cede7c4413dcf83.zip
op-kernel-dev-b4df86085af9d3f456bed8245cede7c4413dcf83.tar.gz
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>
Diffstat (limited to 'security/integrity/ima/ima_policy.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud