2 ms·
> you don’t know how much stack a syscall wants There are no such considerations when issuing Linux system calls. You place parameters in specific registers, t
by matheusmoreira 4y ago
> you don’t know how much stack a syscall wants
There are no such considerations when issuing Linux system calls. You place parameters in specific registers, trap into kernel mode and then read back the result from a specific register.
There is one MIPS architecture where you have to pass some arguments on the stack but that's about it.
> vdso are C-ABI objects
Yes, unfortunately. It is not necessary to use the vDSO though. It is a performance optimization. The normal system calls will work just fine.