Added system calls, had to tweak a few things as a result

Signed-off-by: Ronald G. Minnich <rminnich@google.com>