Needs to be set here.
Combine syscalls so that we're not one "if" deeper.