logoalt Hacker News

eddd-ddde11/07/20241 replyview on HN

Exactly, I am now morally bound to figure out the answer instead of going to work.


Replies

oguz-ismail11/07/2024

The last argument would be on the stack instead of in a register which is where the kernel expects to find the arguments. But a proper syscall implementation would handle this just fine (e.g. <https://github.com/bminor/glibc/blob/ba60be873554ecd141b55ea...>), so I don't think there's anything sus about it.

show 1 reply