News for hackers. Stuff that matters.
Re:OpenBSD – pinning all system calls by woodruffw on Monday December 11, 2023 @07:43PM (#38607616)
> You will only be able to use the gadget with its intended arguments, since other syscall types will be disallowed.

That makes sense, although "intended" arguments here means still being able to invoke `execve(2)`, etc., right? The gadget will still be able to mangle whatever it likes into the arguments for that syscall; it just won't be able to mangle a `wait(2)` into an `execve(2)`, I think.

Your points about JITs make sense, thanks.

Re:OpenBSD – pinning all system calls by gary_0 on Monday December 11, 2023 @07:53PM (#38607700)
Yes, that's how I understand it; you can't mangle one syscall into another, but you can still mangle the syscall's other argument values.