Messages in this thread | | | Date | Tue, 4 Feb 2014 15:31:28 -0500 | From | Steven Rostedt <> | Subject | Re: [RFC][PATCH] exec: Fix use after free of tracepoint trace_sched_process_exec |
| |
On Tue, 4 Feb 2014 12:18:53 -0800 Linus Torvalds <torvalds@linux-foundation.org> wrote:
> We do have bprm->file, and we could get a path from that. It would be > more expensive, but for tracing execve that might be fine. Yes/no?
I actually looked at that. But it may duplicate a bit of code. I was thinking perhaps of making helper functions to extract the path string from the file pointer (if there isn't one already that I'm unaware of) and using that. Also it might be used for places like proc.
-- Steve
| |