Re: [PATCH net-next] modules: allow modprobe load regular elf binaries
Linus Torvalds writes: (Summary) So there's a huge big honking gap between the two. So there's a huge big honking gap between the two. Also, the second part of my suggestion was to be entirely...
View ArticleRe: [PATCH net-next] modules: allow modprobe load regular elf binaries
Linus Torvalds writes: (Summary) On Fri, Mar 9, 2018 at 10:48 AM, Andy Lutomirski <luto@amacapital.net> wrote:[...] ei already has this working for umh.[...] kernel-internal tmpfs file, execveat...
View ArticleRe: [PATCH] vsprintf: Make "null" pointer dereference more robust
Linus Torvalds writes: (Summary) wrote: [...] + pointer address otherwise This is still fundamentally completely wrong. This is still fundamentally completely wrong. It never prints "pointer address",...
View ArticleRe: [PATCH net-next] modules: allow modprobe load regular elf binaries
Linus Torvalds writes: (Summary) On Fri, Mar 9, 2018 at 10:57 AM, David Miller <davem@davemloft.net> The current patch is *broken* because it doesn't handle it. Really. Think of it this way - you...
View ArticleRe: [PATCH] exec: Set file unwritable before LSM check
Linus Torvalds writes: On Fri, Mar 9, 2018 at 11:07 AM, Kees Cook <keescook@chromium.org> wrote: [...] LSM verification and the actual contents of the file later. Can we please not add random...
View ArticleRe: [PATCH net-next] modules: allow modprobe load regular elf binaries
Linus Torvalds writes: (Summary) It's also "is it actually up and running". and running". The rule for "request_module()" (for a real module) has been that it returns when the module is actually alive...
View ArticleRe: [PATCH v2] exec: Set file unwritable before LSM check
Linus Torvalds writes: (Summary) wrote: [...] contents could change between the two. I'm going to assume I get this for 4.17 from the security tree. And the only other security module that even...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) For example, "max_t/min_t" really don't care at all, since they - by definition - just take the single specified type. definition - just take the single specified type....
View ArticleRe: [PATCH] [v2] docs: clarify security-bugs disclosure policy
Linus Torvalds writes: (Summary) If you have some long corrupt vendor disclosure period and are worried about any good guys finding out (the bad guys probably already have it), we're not the list for...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) We wanted 4.5 for "asm goto", and once we upgrade to 4.5 I think Arnd said that no distro actually ships it, so we might as well go to 4.6. ships it, so we might as...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) On Fri, Mar 9, 2018 at 4:32 PM, Andrew Morton <akpm@linux-foundation.org> wrote: [...] I wonder which gcc versions actually accept Kees's addition. Note that we...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) Or it just tries to force quote using html. force quote using html. There's some html email disease inside google, where some parts of the company seems to think that...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: On Fri, Mar 9, 2018 at 11:03 PM, Miguel Ojeda<miguel.ojeda.sandonis@gmail.com> wrote:[...] kernels? I wouldn't mind upping the compiler requirements, and we have other...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) On Sat, Mar 10, 2018 at 7:33 AM, Kees Cook <keescook@chromium.org> wrote: [...] *addr @@ got struct mac_regs [noderef] <avoid *addr @@ Actually, this seems a...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) It's that "-Wvla" is gar= bage. bage. Lookie here: Lookie here: int array[(1,2)]; int array[(1,2)]; results in gcc saying results in gcc saying warning: ISO C90 forbids...
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) So in *historical* context - when a compiler didn't do variable length arrays at all - the original semantics of C "constant expressions" actually make a ton of sense....
View ArticleRe: [PATCH v3] kernel.h: Skip single-eval logic on literals in min ...
Linus Torvalds writes: (Summary) But constant simplification and CSE etc is just a very fundamental part of a compiler, and anybody who actually implements VLA's would have to do it anyway. VLA's would...
View ArticleRe: [RFC PATCH 00/35] remove in-kernel syscall invocations
Linus Torvalds writes: (Summary) I think there may be some room for cleanup and bikeshedding later (the "ksys_mmap_pgoff()" name made me go "that sounds more like a real helper than a kernel syscall",...
View ArticleRe: [PATCH v8 1/6] arch: enable relative relocations for arm64, po ...
Linus Torvalds writes: (Summary) On Sun, Mar 11, 2018 at 5:38 AM, Ard Biesheuvel<ard.biesheuvel@linaro.org> I would have expected all of them to do it - is your selection of arm64/powerpc/x86...
View ArticleRe: [PATCH v8 1/6] arch: enable relative relocations for arm64, po ...
Linus Torvalds writes: On Sun, Mar 11, 2018 at 1:35 PM, Ard Biesheuvel<ard.biesheuvel@linaro.org> wrote:[...] test. Ok, fair enough. Ok, fair enough. Linus Linus Linus
View Article