strace: Report errno and errstr on failure
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 14 Mar 2018 19:40:44 +0000 (15:40 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:33:44 +0000 (14:33 -0400)
commit182ecd5f305139a93ea65a7e3566355aacbc7837
tree15315311a1a4ef2f77c846d49536682fbcc2f699
parent7ed755932c66c437122de5bbb0885ac07d4ad0b5
strace: Report errno and errstr on failure

I got tired of looking at straces, knowing there was an error, and
wondering what the errno/errstrs were.

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