native: more syscalls

* add some missing syscall declarations
* use them
* Bonus: two coding convention violations
Hold it - this isn't declared yet.