Make SYS_getcwd return the string length
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 27 Jul 2018 19:51:43 +0000 (15:51 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Jul 2018 20:05:46 +0000 (16:05 -0400)
commit5073ad67883bb9456f7c3c70ca3d4b50c80842a6
tree10a26b2f36ce5938f49beffa473ef4111ed9c72f
parent9714ea7e86b86689e53346c694c2171e81ce3ce4
Make SYS_getcwd return the string length

Userspace doesn't use this, but it helps with strace.

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