Re: [PATCH v4 3/3] arm64/efi: isolate EFI stub from the kernel proper

2015-10-09 Thread Andrey Ryabinin
2015-10-09 12:10 GMT+03:00 Will Deacon : > On Fri, Oct 09, 2015 at 11:12:24AM +0300, Andrey Ryabinin wrote: >> 2015-10-08 22:02 GMT+03:00 Ard Biesheuvel : >> > --- a/arch/arm64/kernel/image.h >> > +++ b/arch/arm64/kernel/image.h >> > @@ -59,4 +59,31

Re: [PATCH v6 0/6] KASAN for arm64

2015-10-09 Thread Andrey Ryabinin
On 10/08/2015 07:07 PM, Andrey Ryabinin wrote: > 2015-10-08 18:11 GMT+03:00 Catalin Marinas : >> On Thu, Oct 08, 2015 at 02:09:26PM +0200, Ard Biesheuvel wrote: >>> On 8 October 2015 at 13:23, Andrey Ryabinin wrote: On 10/08/2015 02:11 PM,

Re: [PATCH v6 0/6] KASAN for arm64

2015-10-09 Thread Mark Rutland
On Fri, Oct 09, 2015 at 12:32:18PM +0300, Andrey Ryabinin wrote: [...] > I thought the EFI stub isolation patches create a copy of mem*() functions in > the stub, > but they are just create aliases with __efistub_ prefix. > > We only need to create some more aliases for KASAN. > The following

Re: [PATCH v4 3/3] arm64/efi: isolate EFI stub from the kernel proper

2015-10-09 Thread Will Deacon
On Fri, Oct 09, 2015 at 12:40:21PM +0300, Andrey Ryabinin wrote: > 2015-10-09 12:10 GMT+03:00 Will Deacon : > > On Fri, Oct 09, 2015 at 11:12:24AM +0300, Andrey Ryabinin wrote: > >> 2015-10-08 22:02 GMT+03:00 Ard Biesheuvel : > >> > ---

Re: [PATCH v6 0/6] KASAN for arm64

2015-10-09 Thread Andrey Ryabinin
2015-10-09 12:48 GMT+03:00 Mark Rutland : > On Fri, Oct 09, 2015 at 12:32:18PM +0300, Andrey Ryabinin wrote: > [...] > >> I thought the EFI stub isolation patches create a copy of mem*() functions >> in the stub, >> but they are just create aliases with __efistub_ prefix. >>

Re: [PATCH v4 3/3] arm64/efi: isolate EFI stub from the kernel proper

2015-10-09 Thread Andrey Ryabinin
2015-10-08 22:02 GMT+03:00 Ard Biesheuvel : > --- a/arch/arm64/kernel/image.h > +++ b/arch/arm64/kernel/image.h > @@ -59,4 +59,31 @@ > _kernel_offset_le = DATA_LE64(TEXT_OFFSET); \ > _kernel_flags_le= DATA_LE64(__HEAD_FLAGS); > >

Re: [PATCH v6 0/6] KASAN for arm64

2015-10-09 Thread Mark Rutland
On Fri, Oct 09, 2015 at 01:18:09PM +0300, Andrey Ryabinin wrote: > 2015-10-09 12:48 GMT+03:00 Mark Rutland : > > On Fri, Oct 09, 2015 at 12:32:18PM +0300, Andrey Ryabinin wrote: > > [...] > > > >> I thought the EFI stub isolation patches create a copy of mem*() functions >

Re: [PATCH v6 0/6] KASAN for arm64

2015-10-09 Thread Andrey Ryabinin
2015-10-09 15:42 GMT+03:00 Mark Rutland : > On Fri, Oct 09, 2015 at 01:18:09PM +0300, Andrey Ryabinin wrote: >> 2015-10-09 12:48 GMT+03:00 Mark Rutland : >> > On Fri, Oct 09, 2015 at 12:32:18PM +0300, Andrey Ryabinin wrote: >> > [...] >> > >> >> I