mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:24:58 +00:00
Kernel+LibC: Share definitions for sys/ptrace.h
This commit is contained in:
parent
6dc688a08d
commit
37e98a55b7
3 changed files with 34 additions and 28 deletions
|
@ -20,6 +20,7 @@
|
|||
#include <Kernel/API/POSIX/signal.h>
|
||||
#include <Kernel/API/POSIX/stdio.h>
|
||||
#include <Kernel/API/POSIX/sys/mman.h>
|
||||
#include <Kernel/API/POSIX/sys/ptrace.h>
|
||||
#include <Kernel/API/POSIX/sys/socket.h>
|
||||
#include <Kernel/API/POSIX/sys/stat.h>
|
||||
#include <Kernel/API/POSIX/sys/time.h>
|
||||
|
@ -55,18 +56,6 @@ struct sched_param {
|
|||
int sched_priority;
|
||||
};
|
||||
|
||||
#define PT_TRACE_ME 1
|
||||
#define PT_ATTACH 2
|
||||
#define PT_CONTINUE 3
|
||||
#define PT_SYSCALL 4
|
||||
#define PT_GETREGS 5
|
||||
#define PT_DETACH 6
|
||||
#define PT_PEEK 7
|
||||
#define PT_POKE 8
|
||||
#define PT_SETREGS 9
|
||||
#define PT_POKEDEBUG 10
|
||||
#define PT_PEEKDEBUG 11
|
||||
|
||||
#define ST_RDONLY 0x1
|
||||
#define ST_NOSUID 0x2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue