summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-04-27 15:49:35 +0300
committerPaul Moore <paul@paul-moore.com>2020-04-28 00:44:39 +0300
commit292fed1fc89509bab2c0b291d5d395dea5b6ab2f (patch)
tree36a10d1d1f71e4b47e6055b01650e67ee86023a3 /tools/perf/scripts/python/mem-phys-addr.py
parentaf15f14c8cfcee515f4e9078889045ad63efefe3 (diff)
downloadlinux-292fed1fc89509bab2c0b291d5d395dea5b6ab2f.tar.xz
selinux: fix error return code in cond_read_list()
Fix to return negative error code -ENOMEM from the error handling case instead of 0, as done elsewhere in this function. Fixes: 60abd3181db2 ("selinux: convert cond_list to array") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions