Add the BLK_DEV_WRITE_MOUNTED/bdev_allow_write_mounted check
authorAlexander Popov <alex.popov@linux.com>
Thu, 18 Apr 2024 06:27:38 +0000 (09:27 +0300)
committerAlexander Popov <alex.popov@linux.com>
Thu, 18 Apr 2024 06:27:38 +0000 (09:27 +0300)
commit0bd85d90ddfbf752d519bea66ca36e92dfc7562c
tree0088e5b29b91fc4e724e2293db32d152a5104597
parent5f0062f38d53b88f35a8241186c4428d5f1bb779
Add the BLK_DEV_WRITE_MOUNTED/bdev_allow_write_mounted check

And fix the check order by the way.

Thanks to @izh1979 for the idea
kernel_hardening_checker/checks.py