diff options
| author | Wei Yongjun <[email protected]> | 2020-04-27 12:49:35 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2020-04-27 21:44:39 +0000 |
| commit | 292fed1fc89509bab2c0b291d5d395dea5b6ab2f (patch) | |
| tree | 36a10d1d1f71e4b47e6055b01650e67ee86023a3 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | selinux: free str on error in str_read() (diff) | |
| download | kernel-292fed1fc89509bab2c0b291d5d395dea5b6ab2f.tar.gz kernel-292fed1fc89509bab2c0b291d5d395dea5b6ab2f.zip | |
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 <[email protected]>
Reviewed-by: Ondrej Mosnacek <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
