Messages in this thread | | | Date | Tue, 25 Jun 2013 09:41:03 -0700 | Subject | Re: [PATCH v2] pstore: Fail to unlink if a driver has not defined pstore_erase | From | Kees Cook <> |
| |
On Tue, Jun 25, 2013 at 2:03 AM, Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> wrote: > pstore_erase is used to erase the record from the persistent store. > So if a driver has not defined pstore_erase callback return > -EPERM instead of unlinking a file as deleting the file without > erasing its record in persistent store will give a wrong impression > to customers. > > Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com>
Acked-by: Kees Cook <keescook@chromium.org>
Thanks!
-Kees
-- Kees Cook Chrome OS Security
| |