Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../usr/include/bits
File: ptrace-shared.h
/* `ptrace' debugger support interface. Linux version,
[0] Fix | Delete
not architecture-specific.
[1] Fix | Delete
Copyright (C) 1996-2018 Free Software Foundation, Inc.
[2] Fix | Delete
[3] Fix | Delete
This file is part of the GNU C Library.
[4] Fix | Delete
[5] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[6] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[7] Fix | Delete
License as published by the Free Software Foundation; either
[8] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[9] Fix | Delete
[10] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[11] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[12] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[13] Fix | Delete
Lesser General Public License for more details.
[14] Fix | Delete
[15] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[16] Fix | Delete
License along with the GNU C Library; if not, see
[17] Fix | Delete
<http://www.gnu.org/licenses/>. */
[18] Fix | Delete
[19] Fix | Delete
#ifndef _SYS_PTRACE_H
[20] Fix | Delete
# error "Never use <bits/ptrace-shared.h> directly; include <sys/ptrace.h> instead."
[21] Fix | Delete
#endif
[22] Fix | Delete
[23] Fix | Delete
/* Options set using PTRACE_SETOPTIONS. */
[24] Fix | Delete
enum __ptrace_setoptions
[25] Fix | Delete
{
[26] Fix | Delete
PTRACE_O_TRACESYSGOOD = 0x00000001,
[27] Fix | Delete
PTRACE_O_TRACEFORK = 0x00000002,
[28] Fix | Delete
PTRACE_O_TRACEVFORK = 0x00000004,
[29] Fix | Delete
PTRACE_O_TRACECLONE = 0x00000008,
[30] Fix | Delete
PTRACE_O_TRACEEXEC = 0x00000010,
[31] Fix | Delete
PTRACE_O_TRACEVFORKDONE = 0x00000020,
[32] Fix | Delete
PTRACE_O_TRACEEXIT = 0x00000040,
[33] Fix | Delete
PTRACE_O_TRACESECCOMP = 0x00000080,
[34] Fix | Delete
PTRACE_O_EXITKILL = 0x00100000,
[35] Fix | Delete
PTRACE_O_SUSPEND_SECCOMP = 0x00200000,
[36] Fix | Delete
PTRACE_O_MASK = 0x003000ff
[37] Fix | Delete
};
[38] Fix | Delete
[39] Fix | Delete
enum __ptrace_eventcodes
[40] Fix | Delete
{
[41] Fix | Delete
/* Wait extended result codes for the above trace options. */
[42] Fix | Delete
PTRACE_EVENT_FORK = 1,
[43] Fix | Delete
PTRACE_EVENT_VFORK = 2,
[44] Fix | Delete
PTRACE_EVENT_CLONE = 3,
[45] Fix | Delete
PTRACE_EVENT_EXEC = 4,
[46] Fix | Delete
PTRACE_EVENT_VFORK_DONE = 5,
[47] Fix | Delete
PTRACE_EVENT_EXIT = 6,
[48] Fix | Delete
PTRACE_EVENT_SECCOMP = 7,
[49] Fix | Delete
/* Extended result codes enabled by means other than options. */
[50] Fix | Delete
PTRACE_EVENT_STOP = 128
[51] Fix | Delete
};
[52] Fix | Delete
[53] Fix | Delete
/* Arguments for PTRACE_PEEKSIGINFO. */
[54] Fix | Delete
struct __ptrace_peeksiginfo_args
[55] Fix | Delete
{
[56] Fix | Delete
__uint64_t off; /* From which siginfo to start. */
[57] Fix | Delete
__uint32_t flags; /* Flags for peeksiginfo. */
[58] Fix | Delete
__int32_t nr; /* How many siginfos to take. */
[59] Fix | Delete
};
[60] Fix | Delete
[61] Fix | Delete
enum __ptrace_peeksiginfo_flags
[62] Fix | Delete
{
[63] Fix | Delete
/* Read signals from a shared (process wide) queue. */
[64] Fix | Delete
PTRACE_PEEKSIGINFO_SHARED = (1 << 0)
[65] Fix | Delete
};
[66] Fix | Delete
[67] Fix | Delete
/* Argument and results of PTRACE_SECCOMP_GET_METADATA. */
[68] Fix | Delete
struct __ptrace_seccomp_metadata
[69] Fix | Delete
{
[70] Fix | Delete
__uint64_t filter_off; /* Input: which filter. */
[71] Fix | Delete
__uint64_t flags; /* Output: filter's flags. */
[72] Fix | Delete
};
[73] Fix | Delete
[74] Fix | Delete
/* Perform process tracing functions. REQUEST is one of the values
[75] Fix | Delete
above, and determines the action to be taken.
[76] Fix | Delete
For all requests except PTRACE_TRACEME, PID specifies the process to be
[77] Fix | Delete
traced.
[78] Fix | Delete
[79] Fix | Delete
PID and the other arguments described above for the various requests should
[80] Fix | Delete
appear (those that are used for the particular request) as:
[81] Fix | Delete
pid_t PID, void *ADDR, int DATA, void *ADDR2
[82] Fix | Delete
after REQUEST. */
[83] Fix | Delete
extern long int ptrace (enum __ptrace_request __request, ...) __THROW;
[84] Fix | Delete
[85] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function