summaryrefslogtreecommitdiff
path: root/src/disable_ptrace_get_syscall_info.c
blob: 337c2a566ba08fc09818fa706319de0090d02bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * A helper that executes the specified program
 * with the ptrace PTRACE_GET_SYSCALL_INFO disabled.
 *
 * Copyright (c) 2021 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#define DISABLE_PTRACE_REQUEST		PTRACE_GET_SYSCALL_INFO
#define DEFAULT_PROGRAM_INVOCATION_NAME	"disable_ptrace_get_syscall_info"
#include "disable_ptrace_request.c"