/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/disable_ptrace.c
13 строк
342 B
Dmitry V. Levin
tests: check strace -p EPERM diagnostics for YAMA restriction
14 июн 2026, 11:00
14 июн 2026, 11:00
ce6af75
Код
Авторство
О чём код?
/* * A helper that executes the specified program * with the ptrace syscall disabled. * * Copyright (c) 2026 The strace developers. * All rights reserved. * * SPDX-License-Identifier: GPL-2.0-or-later */ #define DISABLE_PTRACE_ERRNO EPERM #define DEFAULT_PROGRAM_INVOCATION_NAME "disable_ptrace" #include "disable_ptrace_request.c"