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