diff options
| author | Harry Yoo <[email protected]> | 2025-03-18 01:45:33 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2025-04-28 17:32:43 +0000 |
| commit | 28cd28a752058bf98b38013039bbde81df48b932 (patch) | |
| tree | ee7f9f227344a22abdd965405a72f4a3379a43c1 /scripts/gcc-plugins | |
| parent | Linux 6.15-rc4 (diff) | |
| download | kernel-28cd28a752058bf98b38013039bbde81df48b932.tar.gz kernel-28cd28a752058bf98b38013039bbde81df48b932.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
