You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are functions in the kernel, which may not fail in some conditions.
Examples:
- mempool_alloc never fails if called in process context,
- bio_add_page always succeed, if single page is added to the empty bio.
Some drivers use such functions in fail-never scenarios, and intentionally do
not check errors. Fault simulation should not break such modules.
It seems, that allowing to specify raw code for replacement function would be
good way for support fault simulation payloads with conditional points.
This also helps in case when 'normal' function flaw may not be expressed in
original function call(e.g., when reading function's arguments modify them).
Original issue reported on code.google.com by [email protected] on 22 Jan 2015 at 2:00
Original issue reported on code.google.com by
[email protected]
on 22 Jan 2015 at 2:00The text was updated successfully, but these errors were encountered: