mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-21 16:31:14 +02:00

For validating the stack offset behavior, report the offset from a given process's first seen stack address. Add s script to calculate the results to the LKDTM kselftests. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210401232347.2791257-7-keescook@chromium.org
394 B
394 B
SPDX-License-Identifier: GPL-2.0
Makefile for LKDTM regression tests
include ../lib.mk
NOTE: $(OUTPUT) won't get default value if used before lib.mk
TEST_FILES := tests.txt TEST_PROGS := stack-entropy.sh TEST_GEN_PROGS = $(patsubst %,$(OUTPUT)/%.sh,$(shell awk '{print $$1}' tests.txt | sed -e 's/#//')) all: $(TEST_GEN_PROGS)
$(OUTPUT)/%: run.sh tests.txt install -m 0744 run.sh $@