Skip to content

Add a mode for skipping faults during dynamic loading #77

@woodruffw

Description

@woodruffw

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions