Commit bf779220 authored by Li Lingfeng's avatar Li Lingfeng
Browse files

block: Add config option to detect writing to part0 while partitions mounted

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8S3GW


CVE: NA

---------------------------

When a partition of a block device is mounted, opening the entire block
device for write operations may also damage the file system. Identify this
situation.

Signed-off-by: default avatarLi Lingfeng <lilingfeng3@huawei.com>
parent 108aa35d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment