| ... | ... | @@ -9648,6 +9648,33 @@ pub const PTRACE = struct { |
| 9648 | 9648 | pub const SECCOMP_GET_FILTER = 0x420c; |
| 9649 | 9649 | pub const SECCOMP_GET_METADATA = 0x420d; |
| 9650 | 9650 | pub const GET_SYSCALL_INFO = 0x420e; |
| 9651 | |
| 9652 | pub const EVENT = struct { |
| 9653 | pub const FORK = 1; |
| 9654 | pub const VFORK = 2; |
| 9655 | pub const CLONE = 3; |
| 9656 | pub const EXEC = 4; |
| 9657 | pub const VFORK_DONE = 5; |
| 9658 | pub const EXIT = 6; |
| 9659 | pub const SECCOMP = 7; |
| 9660 | pub const STOP = 128; |
| 9661 | }; |
| 9662 | |
| 9663 | pub const O = struct { |
| 9664 | pub const TRACESYSGOOD = 1; |
| 9665 | pub const TRACEFORK = 1 << PTRACE.EVENT.FORK; |
| 9666 | pub const TRACEVFORK = 1 << PTRACE.EVENT.VFORK; |
| 9667 | pub const TRACECLONE = 1 << PTRACE.EVENT.CLONE; |
| 9668 | pub const TRACEEXEC = 1 << PTRACE.EVENT.EXEC; |
| 9669 | pub const TRACEVFORKDONE = 1 << PTRACE.EVENT.VFORK_DONE; |
| 9670 | pub const TRACEEXIT = 1 << PTRACE.EVENT.EXIT; |
| 9671 | pub const TRACESECCOMP = 1 << PTRACE.EVENT.SECCOMP; |
| 9672 | |
| 9673 | pub const EXITKILL = 1 << 20; |
| 9674 | pub const SUSPEND_SECCOMP = 1 << 21; |
| 9675 | |
| 9676 | pub const MASK = 0x000000ff | PTRACE.O.EXITKILL | PTRACE.O.SUSPEND_SECCOMP; |
| 9677 | }; |
| 9651 | 9678 | }; |
| 9652 | 9679 | |
| 9653 | 9680 | /// For futex2_waitv and futex2_requeue. Arrays of `futex2_waitone` allow |