mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 11:04:44 +08:00
2de4e82318
This adds test cases for ptrace deadlocks. Additionally fixes a compile problem in get_syscall_info.c, observed with gcc-4.8.4: get_syscall_info.c: In function 'get_syscall_info': get_syscall_info.c:93:3: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned int i = 0; i < ARRAY_SIZE(args); ++i) { ^ get_syscall_info.c:93:3: note: use option -std=c99 or -std=gnu99 to compile your code Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
7 lines
182 B
Makefile
7 lines
182 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CFLAGS += -std=c99 -pthread -iquote../../../../include/uapi -Wall
|
|
|
|
TEST_GEN_PROGS := get_syscall_info peeksiginfo vmaccess
|
|
|
|
include ../lib.mk
|