Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  • Albert van der Linde's avatar
    lib, include/linux: add usercopy failure capability · 2c739ced
    Albert van der Linde authored
    
    Patch series "add fault injection to user memory access", v3.
    
    The goal of this series is to improve testing of fault-tolerance in usages
    of user memory access functions, by adding support for fault injection.
    
    syzkaller/syzbot are using the existing fault injection modes and will use
    this particular feature also.
    
    The first patch adds failure injection capability for usercopy functions.
    The second changes usercopy functions to use this new failure capability
    (copy_from_user, ...).  The third patch adds get/put/clear_user failures
    to x86.
    
    This patch (of 3):
    
    Add a failure injection capability to improve testing of fault-tolerance
    in usages of user memory access functions.
    
    Add CONFIG_FAULT_INJECTION_USERCOPY to enable faults in usercopy
    functions.  The should_fail_usercopy function is to be called by these
    functions (copy_from_user, get_user, ...) in order to fail or not.
    
    Signed-off-by: default avatarAlbert van der Linde <alinde@google.com>
    Signed-off-by: Andrew Mor...
    2c739ced
Forked from BeagleBoard.org / Linux
Source project has a limited visibility.