linux/fs/pstore
Kees Cook 656de42e83 pstore: Avoid potential infinite loop
If a backend does not correctly iterate through its records, pstore will
get stuck loading entries. Detect this with a large record count, and
announce if we ever hit the limit. This will let future backend reading
bugs less annoying to debug. Additionally adjust the error about
pstore_mkfile() failing.

Signed-off-by: Kees Cook <keescook@chromium.org>
2017-05-31 10:13:42 -07:00
..
ftrace.c pstore: Remove write_buf() callback 2017-03-07 14:01:02 -08:00
inode.c pstore: Solve lockdep warning by moving inode locks 2017-04-27 20:35:34 -07:00
internal.h pstore: Solve lockdep warning by moving inode locks 2017-04-27 20:35:34 -07:00
Kconfig docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
Makefile pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
platform.c pstore: Avoid potential infinite loop 2017-05-31 10:13:42 -07:00
pmsg.c pstore: Remove unused vmalloc.h in pmsg 2017-04-27 14:48:59 -07:00
ram_core.c pstore: Use dynamic spinlock initializer 2017-03-07 08:21:38 -08:00
ram.c Annotation of module parameters that specify device settings 2017-05-10 19:13:03 -07:00