Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1472148 > unrolled thread
| Started by | Paul Moore <paul@paul-moore.com> |
|---|---|
| First post | 2016-08-30 01:00 +0200 |
| Last post | 2016-08-31 22:30 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCHv2 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare Paul Moore <paul@paul-moore.com> - 2016-08-30 01:00 +0200
Re: [PATCHv2 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare Paul Moore <paul@paul-moore.com> - 2016-08-31 22:30 +0200
| From | Paul Moore <paul@paul-moore.com> |
|---|---|
| Date | 2016-08-30 01:00 +0200 |
| Subject | Re: [PATCHv2 0/2] introduce get_task_exe_file and use it to fix audit_exe_compare |
| Message-ID | <sbDH3-4VF-3@gated-at.bofh.it> |
On Tue, Aug 23, 2016 at 10:20 AM, Mateusz Guzik <mguzik@redhat.com> wrote: > 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(-) Thanks for doing this. Both patches look fine to me, does anyone in the mm area have any objections? If not, I'll merge these into the audit tree and mark them for stable. -- paul moore www.paul-moore.com
[toc] | [next] | [standalone]
| From | Paul Moore <paul@paul-moore.com> |
|---|---|
| Date | 2016-08-31 22:30 +0200 |
| Message-ID | <sckiZ-74j-19@gated-at.bofh.it> |
| In reply to | #1472148 |
On Mon, Aug 29, 2016 at 6:50 PM, Paul Moore <paul@paul-moore.com> wrote: > On Tue, Aug 23, 2016 at 10:20 AM, Mateusz Guzik <mguzik@redhat.com> wrote: >> 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(-) > > Thanks for doing this. > > Both patches look fine to me, does anyone in the mm area have any > objections? If not, I'll merge these into the audit tree and mark > them for stable. I just merged these patches into audit#stable-4.8 and have a kernel building now, as soon as it finishes I'll do some quick sanity tests and send them off to Linus. -- paul moore www.paul-moore.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web