/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/disable_ptrace_getregset.c
22 строки
558 B
Dmitry V. Levin
powerpc, powerpc64: use set_regs interface for set_error
18 май 2021, 11:00
18 май 2021, 11:00
12eb087
Код
Авторство
О чём код?
/* * A helper that executes the specified program * with the ptrace PTRACE_GETREGSET or PTRACE_GETREGS disabled. * * Copyright (c) 2021 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "defs.h" #define static #include "getregs_old.h" #undef static #undef DISABLE_PTRACE_REQUEST #ifdef HAVE_GETREGS_OLD # if defined __x86_64__ # define DISABLE_PTRACE_REQUEST PTRACE_GETREGSET # endif #endif #define DEFAULT_PROGRAM_INVOCATION_NAME "disable_ptrace_getregset" #include "disable_ptrace_request.c"