Re: stable-rc/linux-4.4.y build: 178 builds: 7 failed, 171 passed, 8 errors (v4.4.110-23-g49278737d445)

From: Borislav Petkov
Date: Mon Jan 08 2018 - 11:07:04 EST


On Mon, Jan 08, 2018 at 03:43:11PM +0100, Arnd Bergmann wrote:
> This comes from 0cbf2b590bea ("Map the vsyscall page with _PAGE_USER")
> which adds a line 'bool vsyscall_enabled(void) { return false; }' that
> presumably
> should have been 'static inline'.

Yeah, thanks Arnd.

@Greg, please fold this in:

---
diff --git a/arch/x86/include/asm/vsyscall.h b/arch/x86/include/asm/vsyscall.h
index d10cabb..4865e10 100644
--- a/arch/x86/include/asm/vsyscall.h
+++ b/arch/x86/include/asm/vsyscall.h
@@ -19,7 +19,7 @@ static inline bool emulate_vsyscall(struct pt_regs *regs, unsigned long address)
{
return false;
}
-bool vsyscall_enabled(void) { return false; }
+static inline bool vsyscall_enabled(void) { return false; }
#endif

#endif /* _ASM_X86_VSYSCALL_H */
---

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--