aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-08-15 00:40:27 +0000
committerThomas Gleixner <[email protected]>2020-09-24 19:56:25 +0000
commitf9e62f318fd706a54b7ce9b28e5c7e49bbde8788 (patch)
tree6c94a6e2e3fae032ac087c0a5857fe3c81cc295d /lib/debugobjects.c
parentdebugobjects: Allow debug_obj_descr to be const (diff)
downloadkernel-f9e62f318fd706a54b7ce9b28e5c7e49bbde8788.tar.gz
kernel-f9e62f318fd706a54b7ce9b28e5c7e49bbde8788.zip
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions