Updated system calls. Fixed pwd and vedit apps.