Re: [kernel-hardening] [RFC V2 0/6] add more kernel pointer filter ...
Linus Torvalds writes: (Summary) wrote: [...] lib: vsprintf: default kptr_restrict to the maximum value So I'm not convinced about this one. So I'm not convinced about this one. It removes kernel...
View ArticleRe: [kernel-hardening] [RFC V2 0/6] add more kernel pointer filter ...
Linus Torvalds writes: (Summary) Don't use this specious idiotic argument, all it does is to make all your other arguments look stupid. make all your other arguments look stupid. That said, they didn't...
View ArticleRe: [kernel-hardening] [RFC V2 4/6] lib: vsprintf: default kptr_re ...
Linus Torvalds writes: (Summary) wrote: [...] but that can be a separate patch, IMO. I agree that '1' is a much saner default for _some_ uses, in that it still gives root access to /proc file data etc....
View ArticleRe: MAP_FIXED for ELF mappings
Linus Torvalds writes: (Summary) wrote: [...] AFAIU. Well, if you control the binary to the point where you just make the ELF section map on top of the stack, what's the problem? You could just have...
View ArticleRe: [kernel-hardening] [RFC V2 4/6] lib: vsprintf: default kptr_re ...
Linus Torvalds writes: (Summary) IOW, the old "open /proc/kallsyms as a normal user, then make it stdin for some suid-root program that can be fooled to output it probably works on it. works on it. So...
View ArticleRe: [kernel-hardening] [RFC V2 4/6] lib: vsprintf: default kptr_re ...
Linus Torvalds writes: (Summary) On Wed, Oct 4, 2017 at 12:13 PM, Jann Horn <jannh@google.com> Fair enough, you'd have to be a pretty broken suid program to have set uid to euid before reading...
View ArticleRe: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer ...
Linus Torvalds writes: (Summary) wrote: [...] that GCC *does* create unaligned stacks with frame pointers enabled: Christ. No excuse for that kind of garbage code generation. kind of garbage code...
View ArticleRe: [PATCH] Update James Hogan's email address
Linus Torvalds writes: On Wed, Oct 4, 2017 at 3:10 PM, James Hogan <james.hogan@imgtec.com> wrote: [...] Linus: Are you happy to apply this patch directly? Done. Done. Linus Linus Linus
View ArticleRe: [PATCH] vfs: fix statfs64() returning impossible EOVERFLOW for ...
Linus Torvalds writes: (Summary) On Thu, Oct 5, 2017 at 1:57 PM, Al Viro <viro@zeniv.linux.org.uk> Except you shouldn't do if (kbuf->bsize != (u32)kbuf->bsize) you should do something like...
View ArticleRe: [PATCH] vfs: fix statfs64() returning impossible EOVERFLOW for ...
Linus Torvalds writes: (Summary) On Thu, Oct 5, 2017 at 4:06 PM, Al Viro <viro@zeniv.linux.org.uk> wrote: [...] f_flags (guaranteed to be 32bit) and f_bsize. Please just use that FITS_IN() kind...
View ArticleRe: [PATCH] ext2/super: Fix a possible sleep-in-atomic bug in pars ...
Linus Torvalds writes: (Summary) Maybe we don't have any actual users that need it for now, but still.. that need it for now, but still.. Oh well. Oh well. I do wonder if we shouldn't just use...
View ArticleLinux 4.14-rc4
Linus Torvalds writes: (Summary) Wong (1): xfs: always swap the cow forks when swapping extents David Spinadel (1): iwlwifi: mvm: Flush non STA TX queues David Wu (1): net: stmmac: dwmac-rk: Add RK3128...
View ArticleRe: [locking] 892ad5acca [ 12.849409] WARNING: bad unlock balance ...
Linus Torvalds writes: (Summary) Was there some known problem during the 4.13 merge window that could have caused this? 4.13 merge window that could have caused this? The fact that it came in with the...
View ArticleRe: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer ...
Linus Torvalds writes: (Summary) wrote: [...] I don't understand your intention. I really would like to see the sites that do cross-thread lock/unlock pairs themselves be annotated. pairs themselves be...
View ArticleRe: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer ...
Linus Torvalds writes: (Summary) wrote:[...] operations are the fancy ones. Actually, let's make it even *more* obvious, and even easier for lockdep (and for humans) to see what's going on. lockdep...
View ArticleRe: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer ...
Linus Torvalds writes: (Summary) The "init_completion()" would be the original owner (essentially the same as a "lock()"), then it has a transfer, and then a receive, and then "complete()" is basically...
View ArticleRe: [GIT PULL] nfsd changes for 4.14-rc
Linus Torvalds writes: (Summary) On Tue, Oct 10, 2017 at 11:24 AM, J. wrote: [...] git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.14-1 There's nothing there. That tag just points to my 4.14-rc1...
View ArticleRe: [GIT PULL] nfsd changes for 4.14-rc
Linus Torvalds writes: On Tue, Oct 10, 2017 at 12:27 PM, J. Bruce Fields <bfields@fieldses.org> wrote: [...] same name but nothing pointing at it? I'm assuming not.) Thanks, that worked fine....
View ArticleRe: [PATCH] Fix mpage_writepage() for pages with buffers
Linus Torvalds writes: (Summary) On Tue, Oct 10, 2017 at 12:44 PM, Andrew Morton<akpm@linux-foundation.org> wrote:[...] popped up now? Also, while the patch looks sane, the Also, while the patch...
View ArticleRe: [PATCH 0/3] add %pX specifier
Linus Torvalds writes: (Summary) wrote: [...] I did not understand the code (specifically why the right shift of 16 twice?) It's a traditional trick to get the upper 32 bits. It's a traditional trick...
View Article