[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wiScU+tS8ZSL2-gpuKB5Z-XKLOGkF8WW=bL-8t_KSqxFg@mail.gmail.com>
Date: Mon, 25 Jan 2021 12:08:02 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Sami Tolvanen <samitolvanen@...gle.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] n_tty: fix redirected_tty_write checks after write_iter conversion
On Mon, Jan 25, 2021 at 12:03 PM Sami Tolvanen <samitolvanen@...gle.com> wrote:
>
> Neither, I noticed this because the conflicting function declarations
> broke Clang's Control Flow Integrity checking.
Ahh, interesting. Is that automated somewhere, or are you running your
own special checks? It sounds like a useful thing.
I was thinking that maybe I should make some sparse-based cross-file
checker, but it sounds like -fsanitize=cfi (or whatever it is you do)
catches it.
Linus
Powered by blists - more mailing lists