lkml.org 
[lkml]   [2021]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] n_tty: fix redirected_tty_write checks after write_iter conversion
On Mon, Jan 25, 2021 at 12:03 PM Sami Tolvanen <samitolvanen@google.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

\
 
 \ /
  Last update: 2021-01-25 21:13    [W:0.076 / U:0.932 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site