1. 15
    1. 2

      Clever approach. I wonder if this can be (or already has) spread to other OS’s.

    2. 1

      This makes me wonder, is there an API that can be called to ask whether or not a given syscall number is valid on the current call, and if not, is there a reason why it would be considered a bad idea?

      This diff has a ABI break: ld.so depends on a new kernel system call msyscall(2). Update to a -current kernel first, which contains a dummy version.

      edit: aside from the obvious objection, “omg what if people started doing all that horrible #ifdef style shit at runtime too!?”