Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468042
| From | Mateusz Guzik <mguzik@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare |
| Date | 2016-08-22 23:00 +0200 |
| Message-ID | <s94u5-2Ol-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
audit_exe_compare directly accesses mm->exe_file without making sure the object is stable. Fixing it using current primitives results in partially duplicating what proc_exe_link is doing. As such, introduce a trivial helper which can be used in both places and fix the func. Mateusz Guzik (2): mm: introduce get_task_exe_file audit: fix exe_file access in audit_exe_compare fs/proc/base.c | 7 +------ include/linux/mm.h | 1 + kernel/audit_watch.c | 8 +++++--- kernel/fork.c | 24 ++++++++++++++++++++++++ 4 files changed, 31 insertions(+), 9 deletions(-) -- 1.8.3.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare Mateusz Guzik <mguzik@redhat.com> - 2016-08-22 23:00 +0200 [PATCH 1/2] mm: introduce get_task_exe_file Mateusz Guzik <mguzik@redhat.com> - 2016-08-22 23:00 +0200 [PATCH 2/2] audit: fix exe_file access in audit_exe_compare Mateusz Guzik <mguzik@redhat.com> - 2016-08-22 23:00 +0200 Re: [PATCH 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare Konstantin Khlebnikov <khlebnikov@yandex-team.ru> - 2016-08-23 10:50 +0200
csiph-web