Skip to content
Commit 30800d99 authored by Kees Cook's avatar Kees Cook
Browse files

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: default avatarKees Cook <keescook@chromium.org>
parent 4c9ec219
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment