Re: [PATCH v4 1/2] security: add fault injection capability

2020-11-11 Thread Alexander Potapenko
On Wed, Nov 11, 2020 at 11:45 AM Aleksandr Nogikh wrote: > > From: Aleksandr Nogikh > > Add a fault injection capability to call_int_hook macro. This will > facilitate testing of fault tolerance of the code that invokes > security hooks as well as the fault tolerance of the LSM > implementations

[PATCH v4 1/2] security: add fault injection capability

2020-11-11 Thread Aleksandr Nogikh
From: Aleksandr Nogikh Add a fault injection capability to call_int_hook macro. This will facilitate testing of fault tolerance of the code that invokes security hooks as well as the fault tolerance of the LSM implementations themselves. Add a KConfig option (CONFIG_FAIL_LSM_HOOKS) that