diff options
author | Frank Rowand <frank.rowand@sony.com> | 2022-08-23 15:01:52 -0500 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-08-25 13:59:08 -0500 |
commit | 59f9072f6e48e21d7c40fb0ca75d99f5f68abc04 (patch) | |
tree | c062fab40f2a58f3b6d227cfe63dd4d4f6dcf9a1 /mm/pgtable-generic.c | |
parent | f1bd8b2e89cc755b2d1b07058b8afbae2fa302dd (diff) | |
download | linux-59f9072f6e48e21d7c40fb0ca75d99f5f68abc04.tar.bz2 |
of: unittest: taint the kernel when of unittest runs
Make OF unittest trigger the new TAINT_TEST taint when OF unittest runs.
Due to OF unittest not being intended to run on production systems, and
potentially causing problems (or security issues like leaking kernel
addresses), the kernel's state should not be considered safe for
production use after OF unittest runs.
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Link: https://lore.kernel.org/r/20220823200152.3465751-1-frowand.list@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions