Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Nick Desaulniers
On Fri, Dec 7, 2018 at 9:53 AM Borislav Petkov wrote: > > On Fri, Dec 07, 2018 at 09:45:42AM -0800, Nick Desaulniers wrote: > > Google's Native Client, a technology for running native code in a web > > browser. It's since been superseded by Portable Native Client (pNaCl) > > and to an extent Web

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Nick Desaulniers
On Fri, Dec 7, 2018 at 9:53 AM Borislav Petkov wrote: > > On Fri, Dec 07, 2018 at 09:45:42AM -0800, Nick Desaulniers wrote: > > Google's Native Client, a technology for running native code in a web > > browser. It's since been superseded by Portable Native Client (pNaCl) > > and to an extent Web

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Borislav Petkov
On Fri, Dec 07, 2018 at 09:45:42AM -0800, Nick Desaulniers wrote: > Google's Native Client, a technology for running native code in a web > browser. It's since been superseded by Portable Native Client (pNaCl) > and to an extent Web Assembly. It seems that BFD still contains code > for NaCl.

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Borislav Petkov
On Fri, Dec 07, 2018 at 09:45:42AM -0800, Nick Desaulniers wrote: > Google's Native Client, a technology for running native code in a web > browser. It's since been superseded by Portable Native Client (pNaCl) > and to an extent Web Assembly. It seems that BFD still contains code > for NaCl.

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Nick Desaulniers
On Fri, Dec 7, 2018 at 2:18 AM Borislav Petkov wrote: > > On Thu, Dec 06, 2018 at 11:12:31AM -0800, ndesaulni...@google.com wrote: > > These are implied by the target architecture and for x86_64 match the > > max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096). > > > > In bfd the

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Nick Desaulniers
On Fri, Dec 7, 2018 at 2:18 AM Borislav Petkov wrote: > > On Thu, Dec 06, 2018 at 11:12:31AM -0800, ndesaulni...@google.com wrote: > > These are implied by the target architecture and for x86_64 match the > > max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096). > > > > In bfd the

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Borislav Petkov
On Thu, Dec 06, 2018 at 11:12:31AM -0800, ndesaulni...@google.com wrote: > These are implied by the target architecture and for x86_64 match the > max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096). > > In bfd the common page size is defined as 0x1000 (4096) for non-NaCl Sodium

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-07 Thread Borislav Petkov
On Thu, Dec 06, 2018 at 11:12:31AM -0800, ndesaulni...@google.com wrote: > These are implied by the target architecture and for x86_64 match the > max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096). > > In bfd the common page size is defined as 0x1000 (4096) for non-NaCl Sodium

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-06 Thread Andy Lutomirski
On Thu, Dec 6, 2018 at 11:12 AM wrote: > > These are implied by the target architecture and for x86_64 match the > max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096). > > In bfd the common page size is defined as 0x1000 (4096) for non-NaCl > x86_64 targets: > > bfd/elf64-x86-64.c: >

Re: [PATCH] x86/vdso: drop implicit common-page-size linker flag

2018-12-06 Thread Andy Lutomirski
On Thu, Dec 6, 2018 at 11:12 AM wrote: > > These are implied by the target architecture and for x86_64 match the > max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096). > > In bfd the common page size is defined as 0x1000 (4096) for non-NaCl > x86_64 targets: > > bfd/elf64-x86-64.c: >