|
yo, check this one out:
|
# ¿ Oct 7, 2023 21:16 |
|
|
# ¿ May 14, 2024 01:33 |
|
akadajet posted:I'm going to pretend I know what int 80h does morally the same thing as SYSENTER (aka SYSCALL on AMD) but with slightly different calling conventions and wildly different performance characteristics depending on your particular hardware (e: would you like to know more?) The whole "multiple ways to invoke a syscall, depending on your particular flavour of x86" is partially why you see a vsyscall section in your /proc/pid/maps; the idea is that the optimal system call implementation is chosen by the OS and shoved into that segment, so you can just execute "call 0xffffffffff600000" and it will automagically do the right thing I mostly just wanted to dunk on "OS interface design by shoving new functionality into ioctl(2)" e: I actually have no idea how a system call happens on x86-64 though Dijkstracula fucked around with this message at 03:36 on Oct 8, 2023 |
# ¿ Oct 8, 2023 03:15 |