linux/tools/testing/selftests/gpio
Tzung-Bi Shih c7f92042d3 selftests: gpio: Add gpio-cdev-uaf tests
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>
2026-02-27 10:05:22 +01:00
..
.gitignore selftests: gpio: add a helper for reading GPIO line names 2021-12-17 12:26:13 +01:00
config selftests: gpio: add test cases for gpio-aggregator 2025-04-09 16:57:30 +02:00
gpio-aggregator.sh selftests: gpio: gpio-aggregator: add a test case for _sysfs prefix reservation 2025-04-14 22:30:01 +02:00
gpio-cdev-uaf.c selftests: gpio: Add gpio-cdev-uaf tests 2026-02-27 10:05:22 +01:00
gpio-cdev-uaf.sh selftests: gpio: Add gpio-cdev-uaf tests 2026-02-27 10:05:22 +01:00
gpio-chip-info.c selftests: gpio: provide a helper for reading chip info 2021-12-17 12:26:13 +01:00
gpio-line-name.c selftests: gpio: add a helper for reading GPIO line names 2021-12-17 12:26:13 +01:00
gpio-mockup-cdev.c selftests: gpio: fix uninitialised variable warning 2021-11-15 14:27:50 +01:00
gpio-mockup-sysfs.sh selftests: gpio: rework and simplify test implementation 2021-02-15 11:43:28 +01:00
gpio-mockup.sh selftest: gpio: remove obsolete gpio-mockup test 2024-03-05 20:01:08 +01:00
gpio-sim.sh selftests: gpio: gpio-sim: Fix missing chip disablements 2025-01-23 15:44:48 +01:00
Makefile selftests: gpio: Add gpio-cdev-uaf tests 2026-02-27 10:05:22 +01:00