News for hackers. Stuff that matters.
Re:Windows X86-64 System Call Table by account42 on Monday September 02, 2019 @07:30AM (#20858426)
> Given glibc isn't part of the OS, and that hence you can statically link to it

Unless you want to use any other library on the OS, for example 3D graphics drivers which tend to have hardware-specific parts in userspace.

> Overall it seems to me like coding against direct syscall numbers is a disadvantage on almost every front.

Which is why noone does it unless they have a very good reason.

Re:Windows X86-64 System Call Table by mehrdadn on Monday September 02, 2019 @07:37AM (#20858460)
> Unless you want to use any other library on the OS, for example 3D graphics drivers which tend to have hardware-specific parts in userspace.

Not sure what you mean regarding this and glibc.

> Which is why noone does it unless they have a very good reason.

I think you changed the meaning of my sentence to be able to make this reply. I was referring to what Linux does re: syscalls vs. library exports, not hard-coding syscall numbers in the source code.