mods to base.c file to put in entry points for system calls
resolved merge conflict