strace: Fix issues with a few syscalls
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 27 Jul 2018 19:52:37 +0000 (15:52 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Jul 2018 20:05:46 +0000 (16:05 -0400)
commit27f971ff2d4e4498cc0beead91f497ce1696acab
tree9f5fbe8dba7612f5f42a71e06e44a3d88e58c2cf
parent5073ad67883bb9456f7c3c70ca3d4b50c80842a6
strace: Fix issues with a few syscalls

SYS_getcwd wasn't part of the file set.  We were tracing the wrong
arguments for SYS_chdir and SYS_rmdir.  SYS_readlink had an unnecessary
check on retval.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/syscall.c
tests/strace.c