When auditing a system call executed via `ptrace(PT SC REMOTE)`, the kernel passes the return value of an internal setup function to `AUDIT SYSCALL EXIT()` instead of the actual result of the executed system call. This causes audit records for system calls that returned an error to incorrectly indicate that the operation succeeded. An attacker with debugging privileges could exploit this behavior to create misleading audit trails, which may undermine audit-based Intrusion Detection Systems (IDS).