2 ms·
> instructions from the privilleged subset of your ISA Absolutely nothing "privileged" about the syscall instruction. Every Linux process can run that instruct
by matheusmoreira 4mo ago
> instructions from the privilleged subset of your ISA
Absolutely nothing "privileged" about the syscall instruction. Every Linux process can run that instruction without any problems whatsoever.
> They're provided by the OS.
Not on Linux.
> You don't have to parse it.
You do on Linux. Otherwise you cannot get to the vDSO's table of symbols to function pointers.
System calls are themselves a table of function pointers, indexed by the system call number rather than by symbol. The difference is the kernel resolves it so you don't have to. That's what makes it simple and easy to use.