1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 21:07:34 +00:00
serenity/Kernel/Arch/i386
Itamar 3b422564f3 Kernel: Fix behaviour of PT_TRACEME in ptrace
The behaviour of the PT_TRACEME feature has been broken for some time,
this change fixes it.

When this ptrace flag is used, the traced process should be paused
before exiting execve.
We previously were sending the SIGSTOP signal at a stage where
interrupts are disabled, and the traced process continued executing
normally, without pausing and waiting for the tracer.
This change fixes it.
2020-08-15 15:06:35 +02:00
..
Boot Kernel: Tell the bootloader to put us into graphics mode 2020-08-01 07:57:29 +02:00
CPU.cpp Kernel: Fix behaviour of PT_TRACEME in ptrace 2020-08-15 15:06:35 +02:00
CPU.h Kernel: Prevent recursive calls into the scheduler 2020-08-02 17:15:11 +02:00
Interrupts.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
ISRStubs.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
ProcessorInfo.cpp Kernel: Consolidate features into CPUFeature enum 2020-07-03 19:32:34 +02:00
ProcessorInfo.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00