diff options
| author | Kees Cook <[email protected]> | 2017-03-07 21:57:11 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2017-03-07 22:01:03 +0000 |
| commit | 30800d9977ec271a7836d777848dba6773d12a3b (patch) | |
| tree | d3a93e024d5c3a22b1555b2f4b5b329f8c64feac /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | pstore: Remove write_buf() callback (diff) | |
| download | kernel-30800d9977ec271a7836d777848dba6773d12a3b.tar.gz kernel-30800d9977ec271a7836d777848dba6773d12a3b.zip | |
pstore: simplify write_user_compat()
Nothing actually uses write_user_compat() currently, but there is no
reason to reuse the dmesg buffer. Instead, just allocate a new record
buffer, copy in from userspace, and pass it to write() as normal.
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
