From 423f49a5638a6e83aa6989244d13b49cc2b98dba Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 23 Jan 2017 17:33:53 -0500 Subject: add slub free list XOR encryption Based on the grsecurity feature, but with a per-cache random value. --- include/linux/slub_def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux') diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index b1af36a2a..fd2dfb600 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -98,6 +98,8 @@ struct kmem_cache { #endif #endif + unsigned long random; + #ifdef CONFIG_NUMA /* * Defragmentation by allocating from a remote node. -- cgit v1.2.3