|
Packit Service |
3591c5 |
/* Support functions handling ptrace_scope.
|
|
Packit Service |
3591c5 |
Copyright (C) 2019 Free Software Foundation, Inc.
|
|
Packit Service |
3591c5 |
This file is part of the GNU C Library.
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
3591c5 |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
3591c5 |
License as published by the Free Software Foundation; either
|
|
Packit Service |
3591c5 |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
3591c5 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
3591c5 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
3591c5 |
Lesser General Public License for more details.
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
3591c5 |
License along with the GNU C Library; if not, see
|
|
Packit Service |
3591c5 |
<https://www.gnu.org/licenses/>. */
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
#ifndef SUPPORT_PTRACE_H
|
|
Packit Service |
3591c5 |
#define SUPPORT_PTRACE_H
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
#include <sys/cdefs.h>
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
__BEGIN_DECLS
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
/* Return the current YAMA mode set on the machine (0 to 3) or -1
|
|
Packit Service |
3591c5 |
if YAMA is not supported. */
|
|
Packit Service |
3591c5 |
int support_ptrace_scope (void);
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
__END_DECLS
|
|
Packit Service |
3591c5 |
|
|
Packit Service |
3591c5 |
#endif
|