commit | 1dfff7dd67d1a3be4d0ab4a5313f0363966bc70d | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Sat Mar 04 22:46:41 2017 -0800 |
committer | Kees Cook <keescook@chromium.org> | Tue Mar 07 14:00:58 2017 -0800 |
tree | 0de32506ec212d7a6a5b5d78f4e2b85d11bc5371 | |
parent | 7e8cc8dce17574e432945fa75882cd401c3ef673 [diff] |
pstore: Pass record contents instead of copying pstore_mkfile() shouldn't have to memcpy the record contents. It can use the existing copy instead. This adjusts the allocation lifetime management and renames the contents variable from "data" to "buf" to assist moving to struct pstore_record in the future. Signed-off-by: Kees Cook <keescook@chromium.org>