/* 0x4200-0x4300 are reserved for architecture-independent additions. */ #define PTRACE_SETOPTIONS 0x4200 #define PTRACE_GETEVENTMSG 0x4201 #define PTRACE_GETSIGINFO 0x4202 #define PTRACE_SETSIGINFO 0x4203
/* * Generic ptrace interface that exports the architecture specific regsets * using the corresponding NT_* types (which are also used in the core dump). * Please note that the NT_PRSTATUS note type in a core dump contains a full * 'struct elf_prstatus'. But the user_regset for NT_PRSTATUS contains just the * elf_gregset_t that is the pr_reg field of 'struct elf_prstatus'. For all the * other user_regset flavors, the user_regset layout and the ELF core dump note * payload are exactly the same layout. * * This interface usage is as follows: * struct iovec iov = { buf, len}; * * ret = ptrace(PTRACE_GETREGSET/PTRACE_SETREGSET, pid, NT_XXX_TYPE, &iov); * * On the successful completion, iov.len will be updated by the kernel, * specifying how much the kernel has written/read to/from the user's iov.buf.
*/ #define PTRACE_GETREGSET 0x4204 #define PTRACE_SETREGSET 0x4205
#define java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 25
struct ptrace_rseq_configuration{
__u64 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
__u32 rseq_abi_size;
__u32 signature;
__u32 flags;
_* 'struct elf_prstatus' * elf_gregset_t that is * other user_regset flavors, the user_regset * payload are * This interface * struct iovec iov * ret = * On the successful completion * specifying how much the kernel has *
};
/* * struct ptrace_sud_config - Per-task configuration for Syscall User Dispatch * @mode: One of PR_SYS_DISPATCH_ON or PR_SYS_DISPATCH_OFF * @selector: Tracees user virtual address of SUD selector * @offset: SUD exclusion area (virtual address) * @len: Length of SUD exclusion area * * Used to get/set the syscall user dispatch configuration for a tracee. * Selector is optional (may be NULL), and if invalid will produce * a SIGSEGV in the tracee upon first access. * * If mode is PR_SYS_DISPATCH_ON, syscall dispatch will be enabled. If * PR_SYS_DISPATCH_OFF, syscall dispatch will be disabled and all other * parameters must be 0. The value in *selector (if not null), also determines * whether syscall dispatch will occur. * * The Syscall User Dispatch Exclusion area described by offset/len is the * virtual address space from which syscalls will not produce a user * dispatch.
*/ struct ptrace_sud_config {
__u64 mode;
__u64 selector;
__u64 offset;
__u64 len;
};
/* 0x4212 is PTRACE_SET_SYSCALL_INFO */
/* * These values are stored in task->ptrace_message * by ptrace_stop to describe the current syscall-stop.
*/ #define PTRACE_EVENTMSG_SYSCALL_ENTRY 1 #define PTRACE_EVENTMSG_SYSCALL_EXIT 2
/* Read signals from a shared (process wide) queue */ #define PTRACE_PEEKSIGINFO_SHARED (1 << 0)
/* Wait extended result codes for the above trace options. */ #define PTRACE_EVENT_FORK 1 #define PTRACE_EVENT_VFORK 2 #define PTRACE_EVENT_CLONE 3 #define PTRACE_EVENT_EXEC 4 #define PTRACE_EVENT_VFORK_DONE 5 #define PTRACE_EVENT_EXIT 6 #define PTRACE_EVENT_SECCOMP 7 /* Extended result codes which enabled by means other than options. */ #define PTRACE_EVENT_STOP 128
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.