commit | 2c42cfbfe10872929c2ba1f8130e31063ff59b94 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Thu Oct 17 00:06:46 2013 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Tue Oct 29 12:02:53 2013 +0100 |
tree | 588f6008befc05e2458ab0bfc8bde08315279333 | |
parent | 3ea2f2b96f9e636f49eb10962e96db3e19cab157 [diff] |
perf: Change zero-padding of strings in perf_event_mmap_event() Oleg complained about the excessive 0-ing in perf_event_mmap_event(), so try and be smarter about it while keeping it fairly fool proof and avoid leaking random bits out to userspace. Suggested-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/n/tip-8jirlm99m6if2z13wd6rbyu6@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>