Don't use MEM_WAIT in alloc_sysc_str()
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:12:52 +0000 (12:12 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:31:44 +0000 (12:31 -0500)
commite9a0a85877779fe50108309c69aaaa2ba17e9f15
tree7c2f6245150aef9a4497f3dc4bff5c44fcc65e65
parenta1c66791e65231add900eab1af1caab8ff164689
Don't use MEM_WAIT in alloc_sysc_str()

MEM_WAIT can block, but we can't block for arbitrary syscalls.  If the
allocation fails, we'll just skip saving the string for those syscalls.

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