introduce get_task_exe_file and use it to fix audit_exe_compare
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 6 repliesIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
* removed an unused 'out' label which crept in
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm: introduce get_task_exe_filefs/ include/ kernel/ | +25 | 2 replies | |
| 2/2 | audit: fix exe_file access in audit_exe_comparekernel/ | +5 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Konstantin Khlebnikov | Oleg Nesterov | Richard Guy Briggs |
|---|---|---|---|
| Series | A-b | ||
| 1/2 | A-b | A-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCHv2 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare
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.
Changes since v1:
* removed an unused 'out' label which crept in
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 | 23 +++++++++++++++++++++++ 4 files changed, 30 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.3.1