mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Add tests for gpiolib-cdev to make sure accessing to dangling resources via the opening file descriptor won't crash the system after the underlying resource providers have gone. Reviewed-by: Linus Walleij <linusw@kernel.org> Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260223061726.82161-7-tzungbi@kernel.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
10 lines
303 B
Makefile
10 lines
303 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
TEST_PROGS := gpio-mockup.sh gpio-sim.sh gpio-aggregator.sh gpio-cdev-uaf.sh
|
|
TEST_FILES := gpio-mockup-sysfs.sh
|
|
TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gpio-chip-info gpio-line-name \
|
|
gpio-cdev-uaf
|
|
CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES)
|
|
|
|
include ../lib.mk
|