mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-11 01:22:12 +02:00
The syscall wrapper for ptrace needs to return the peeked value when using PT_PEEK. Because of this, the user has to check errno to detect an error in PT_PEEK. This commit changes the actual syscall's interface (only for PT_PEEK) to allow the syscall wrapper to detect an error and change errno.
2.4 KiB
2.4 KiB