summaryrefslogtreecommitdiff
path: root/arch/x86/lib/usercopy.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2013-10-17 00:06:46 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-29 12:02:53 +0100
commit2c42cfbfe10872929c2ba1f8130e31063ff59b94 (patch)
tree588f6008befc05e2458ab0bfc8bde08315279333 /arch/x86/lib/usercopy.c
parent3ea2f2b96f9e636f49eb10962e96db3e19cab157 (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>
Diffstat (limited to 'arch/x86/lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions