Thread (46 messages) 46 messages, 9 authors, 2020-10-27

Re: [PATCH 05/10] lkdtm: disable set_fs-based tests for !CONFIG_SET_FS

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2020-08-27 18:06:51
Also in: linux-arch, linux-fsdevel, lkml

On Thu, Aug 27, 2020 at 8:00 AM Christoph Hellwig [off-list ref] wrote:
Once we can't manipulate the address limit, we also can't test what
happens when the manipulation is abused.
Just remove these tests entirely.

Once set_fs() doesn't exist on x86, the tests no longer make any sense
what-so-ever, because test coverage will be basically zero.

So don't make the code uglier just to maintain a fiction that
something is tested when it isn't really.

                 Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help