diff options
author | Kees Cook <[email protected]> | 2020-05-04 19:46:53 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-05-30 10:34:02 -0700 |
commit | 609e28bb139e53621521130f0d4aea27a725d465 (patch) | |
tree | 83baf007e546d152d1a474b4e3f4e775ab06c011 /scripts/gdb/linux/modules.py | |
parent | 78c83c828c043f2e18929137c1e218e8977349b1 (diff) |
pstore: Remove filesystem records when backend is unregistered
If a backend was unloaded without having first removed all its
associated records in pstorefs, subsequent removals would crash while
attempting to call into the now missing backend. Add automatic removal
from the tree in pstore_unregister(), so that no references to the
backend remain.
Reported-by: Luis Henriques <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions