lkml.org 
[lkml]   [2022]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] of: unittest: taint the kernel when of unittest runs
On Tue, 23 Aug 2022 15:01:52 -0500, frowand.list@gmail.com wrote:
> From: Frank Rowand <frank.rowand@sony.com>
>
> 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>
> ---
>
> Follow the precedent set by KUnit tests in v6.0-rc1:
> commit c272612cb4a2 ("kunit: Taint the kernel when KUnit tests are run")
> commit 2852ca7fba9f ("panic: Taint kernel if tests are run")
>
> drivers/of/unittest.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Applied, thanks!

\
 
 \ /
  Last update: 2022-08-25 20:59    [W:0.025 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site