summaryrefslogtreecommitdiffstats
path: root/fs/pstore/platform.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-05-19 13:21:07 -0700
committerKees Cook <keescook@chromium.org>2017-05-31 10:13:43 -0700
commitefb74e4bb1abeb5bd4c9296b2adfdc253561bc72 (patch)
treeaddf2e1ec8e7ff33a200fa9915c7e51ce6d01c6c /fs/pstore/platform.c
parent656de42e83379e5348e3f4236ff1d79353edfb28 (diff)
downloadlinux-stable-efb74e4bb1abeb5bd4c9296b2adfdc253561bc72.tar.gz
linux-stable-efb74e4bb1abeb5bd4c9296b2adfdc253561bc72.tar.bz2
linux-stable-efb74e4bb1abeb5bd4c9296b2adfdc253561bc72.zip
efi-pstore: Refactor erase routine
Right now, every pass through the EFI variables during erase would build a copy of the old format variable name. Instead, try each name one time through the EFI variables list. Additionally bump up the buffer size to avoid truncation in pathological cases, and wipe the write name buffer. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/platform.c')
0 files changed, 0 insertions, 0 deletions