commit | f9e62f318fd706a54b7ce9b28e5c7e49bbde8788 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <swboyd@chromium.org> | Fri Aug 14 17:40:27 2020 -0700 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu Sep 24 21:56:25 2020 +0200 |
tree | 6c94a6e2e3fae032ac087c0a5857fe3c81cc295d | |
parent | aedcade6f4fa9a1e65f327fc42de3fb47660646c [diff] |
treewide: Make all debug_obj_descriptors const This should make it harder for the kernel to corrupt the debug object descriptor, used to call functions to fixup state and track debug objects, by moving the structure to read-only memory. Signed-off-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20200815004027.2046113-3-swboyd@chromium.org