mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00: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 <[email protected]> Signed-off-by: Tzung-Bi Shih <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
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
|