diff options
author | Peter Zijlstra | 2013-10-17 00:06:46 +0200 |
---|---|---|
committer | Ingo Molnar | 2013-10-29 12:02:53 +0100 |
commit | 2c42cfbfe10872929c2ba1f8130e31063ff59b94 (patch) | |
tree | 588f6008befc05e2458ab0bfc8bde08315279333 /arch/x86/lib | |
parent | perf: Do not waste PAGE_SIZE bytes for ALIGN(8) in perf_event_mmap_event() (diff) | |
download | kernel-qcow2-linux-2c42cfbfe10872929c2ba1f8130e31063ff59b94.tar.gz kernel-qcow2-linux-2c42cfbfe10872929c2ba1f8130e31063ff59b94.tar.xz kernel-qcow2-linux-2c42cfbfe10872929c2ba1f8130e31063ff59b94.zip |
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>
Diffstat (limited to 'arch/x86/lib')
0 files changed, 0 insertions, 0 deletions