Add a mode for skipping faults during dynamic loading #77
Labels
component:kernel
Enhancements on the kernel side
good first issue
Good for newcomers
help wanted
Extra attention is needed
platform:freebsd
platform:linux
One problem with faulting programs under KRF is that KRF might decide to inject a fault during the dynamic link/load phase, aborting
ld-linux.so
instead of the actual target image. This usually isn't helpful, since it doesn't indicate any mistakes in the target itself.It should be possible to check the loaded program's name via the
current
task, probably viacomm
. We should use that (or whatever other field) to provide a configurable option for not faulting if it matches any of the common dynamic loader names.This should also be possible on FreeBSD, but we can start with Linux-only.
The text was updated successfully, but these errors were encountered: