mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
This adds a stress test that should hopefully help us catch regressions for [1], [2], and [3]. [1]:2669b8b0c7("binder: prevent UAF for binderfs devices") [2]:f0fe2c0f05("binder: prevent UAF for binderfs devices II") [3]:211b64e4b5("binderfs: use refcount for binder control devices too") Signed-off-by: Christian Brauner <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
9 lines
215 B
Makefile
9 lines
215 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS += -I../../../../../usr/include/ -pthread
|
|
TEST_GEN_PROGS := binderfs_test
|
|
|
|
binderfs_test: binderfs_test.c ../../kselftest.h ../../kselftest_harness.h
|
|
|
|
include ../../lib.mk
|