mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
This adds the promised selftest for eventfd. It will verify the flags of eventfd2, including EFD_CLOEXEC, EFD_NONBLOCK and EFD_SEMAPHORE. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wen Yang <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Javier Martinez Canillas <[email protected]> Cc: Christian Brauner <[email protected]> Cc: Pengfei Xu <[email protected]> Cc: Miklos Szeredi <[email protected]> Cc: Andrei Vagin <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Steven Rostedt <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
8 lines
136 B
Makefile
8 lines
136 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS += $(KHDR_INCLUDES)
|
|
LDLIBS += -lpthread
|
|
TEST_GEN_PROGS := eventfd_test
|
|
|
|
include ../../lib.mk
|