zlacker

[return to "OpenBSD: Removing syscall(2) from libc and kernel"]
1. pizlon+Bh1[view] [source] 2023-10-27 22:07:35
>>eclipt+(OP)
A+

This is awesome.

Also, it’s rarely used in my experience. I wonder what kind of code would even notice?

◧◩
2. saagar+oe2[view] [source] 2023-10-28 08:56:11
>>pizlon+Bh1
Code that uses syscalls that aren’t in libc but doesn’t want to have to drop to inline assembly?
◧◩◪
3. pizlon+EM2[view] [source] 2023-10-28 15:09:42
>>saagar+oe2
Right, so exploits.
◧◩◪◨
4. saagar+RA3[view] [source] 2023-10-28 21:24:16
>>pizlon+EM2
Exploits are more than happy to drop to inline assembly.
◧◩◪◨⬒
5. pizlon+kB3[view] [source] 2023-10-28 21:27:32
>>saagar+RA3
Theo already prevented you from making the syscall by using the trap instruction directly because of in kernel checking that you got to the kernel via the right point in libc.
[go to top]