aboutsummaryrefslogtreecommitdiff
path: root/pk/elf.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2022-04-11 01:22:16 -0700
committerAndrew Waterman <andrew@sifive.com>2022-04-11 01:30:19 -0700
commitca69d69a304d5668a8c95d1de5c6c6fa71ed9936 (patch)
tree340f27ecb52c59fd3558e6787ea5db9e34e23913 /pk/elf.h
parentd6008c14176bd663e7def6b89679b160af4815c2 (diff)
downloadriscv-pk-ca69d69a304d5668a8c95d1de5c6c6fa71ed9936.zip
riscv-pk-ca69d69a304d5668a8c95d1de5c6c6fa71ed9936.tar.gz
riscv-pk-ca69d69a304d5668a8c95d1de5c6c6fa71ed9936.tar.bz2
Handle unimplemented syscalls gracefully
We previously kernel-panicked because that made it more obvious when a syscall implementation was missing. These days, it's more common that the C library will do something sensible in response to returning -ENOSYS. Favor that approach to avoid frustrating users.
Diffstat (limited to 'pk/elf.h')
0 files changed, 0 insertions, 0 deletions