Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mode for skipping faults during dynamic loading #77

Open
woodruffw opened this issue Dec 24, 2019 · 0 comments
Open

Add a mode for skipping faults during dynamic loading #77

woodruffw opened this issue Dec 24, 2019 · 0 comments
Labels
component:kernel Enhancements on the kernel side good first issue Good for newcomers help wanted Extra attention is needed platform:freebsd platform:linux

Comments

@woodruffw
Copy link
Member

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 via comm. 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.

@woodruffw woodruffw added help wanted Extra attention is needed good first issue Good for newcomers platform:freebsd platform:linux component:kernel Enhancements on the kernel side labels Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:kernel Enhancements on the kernel side good first issue Good for newcomers help wanted Extra attention is needed platform:freebsd platform:linux
Projects
None yet
Development

No branches or pull requests

1 participant