summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/arm_ssp_per_task_plugin.c
diff options
context:
space:
mode:
authorHarry Yoo <harry.yoo@oracle.com>2025-03-18 10:45:33 +0900
committerKees Cook <kees@kernel.org>2025-04-28 10:32:43 -0700
commit28cd28a752058bf98b38013039bbde81df48b932 (patch)
treeee7f9f227344a22abdd965405a72f4a3379a43c1 /scripts/gcc-plugins/arm_ssp_per_task_plugin.c
parentb4432656b36e5cc1d50a1f2dc15357543add530e (diff)
lkdtm: use SLAB_NO_MERGE instead of an empty constructor
Use SLAB_NO_MERGE flag to prevent merging instead of providing an empty constructor. Using an empty constructor in this manner is an abuse of slab interface. The SLAB_NO_MERGE flag should be used with caution, but in this case, it is acceptable as the cache is intended soley for debugging purposes. No functional changes intended. Signed-off-by: Harry Yoo <harry.yoo@oracle.com> Link: https://lore.kernel.org/r/20250318014533.1624852-1-harry.yoo@oracle.com Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/arm_ssp_per_task_plugin.c')
0 files changed, 0 insertions, 0 deletions