runtime: use booleans in syscalls