diff options
author | Mateusz Guzik <[email protected]> | 2016-08-23 16:20:39 +0200 |
---|---|---|
committer | Paul Moore <[email protected]> | 2016-08-31 16:16:35 -0400 |
commit | 5efc244346f9f338765da3d592f7947b0afdc4b5 (patch) | |
tree | 6ebac44194021885b9f79e72193ee243391dc7ed /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | cd81a9170e69e018bbaba547c1fd85a585f5697a (diff) |
audit: fix exe_file access in audit_exe_compare
Prior to the change the function would blindly deference mm, exe_file
and exe_file->f_inode, each of which could have been NULL or freed.
Use get_task_exe_file to safely obtain stable exe_file.
Signed-off-by: Mateusz Guzik <[email protected]>
Acked-by: Konstantin Khlebnikov <[email protected]>
Acked-by: Richard Guy Briggs <[email protected]>
Cc: <[email protected]> # 4.3.x
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions