Bug 208607 - FAULT_INJECTION: fail LSM hooks
Summary: FAULT_INJECTION: fail LSM hooks
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Sanitizers (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: MM/Sanitizers virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 11:01 UTC by Dmitry Vyukov
Modified: 2020-11-19 18:26 UTC (History)
2 users (show)

See Also:
Kernel Version: ALL
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Dmitry Vyukov 2020-07-19 11:01:30 UTC
See the following issue for context:
FAULT_INJECTION: fail copy_to/from_user
https://bugzilla.kernel.org/show_bug.cgi?id=208461

Similarly we could fail all LSM hooks. LSM can fail all of them, but testing this systematically with an actual LSM is hard.
Comment 1 Aleksandr Nogikh 2020-11-19 18:26:54 UTC
There's a patch series that implements this feature

https://lkml.kernel.org/r/20201111104409.1530957-1-a.nogikh@gmail.com

Note You need to log in before you can comment on or make changes to this bug.