Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-09-05 Thread Leonard Crestez
On Tue, 2017-08-29 at 12:54 -0700, Kees Cook wrote: > On Tue, Aug 29, 2017 at 7:32 AM, Thomas Garnier wrote: > > On Tue, Aug 22, 2017 at 9:42 AM, Thomas Garnier wrote: > > > On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier > > >

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-09-05 Thread Leonard Crestez
On Tue, 2017-08-29 at 12:54 -0700, Kees Cook wrote: > On Tue, Aug 29, 2017 at 7:32 AM, Thomas Garnier wrote: > > On Tue, Aug 22, 2017 at 9:42 AM, Thomas Garnier wrote: > > > On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier > > > wrote: > > > > > > > > Disable the generic address limit check in

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-29 Thread Kees Cook
On Tue, Aug 29, 2017 at 7:32 AM, Thomas Garnier wrote: > On Tue, Aug 22, 2017 at 9:42 AM, Thomas Garnier wrote: >> On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier wrote: >>> Disable the generic address limit check in favor of an

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-29 Thread Kees Cook
On Tue, Aug 29, 2017 at 7:32 AM, Thomas Garnier wrote: > On Tue, Aug 22, 2017 at 9:42 AM, Thomas Garnier wrote: >> On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier wrote: >>> Disable the generic address limit check in favor of an architecture >>> specific optimized implementation. The generic

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-29 Thread Thomas Garnier
On Tue, Aug 22, 2017 at 9:42 AM, Thomas Garnier wrote: > On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier wrote: >> Disable the generic address limit check in favor of an architecture >> specific optimized implementation. The generic implementation using

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-29 Thread Thomas Garnier
On Tue, Aug 22, 2017 at 9:42 AM, Thomas Garnier wrote: > On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier wrote: >> Disable the generic address limit check in favor of an architecture >> specific optimized implementation. The generic implementation using >> pending work flags did not work well

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-22 Thread Thomas Garnier
On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier wrote: > Disable the generic address limit check in favor of an architecture > specific optimized implementation. The generic implementation using > pending work flags did not work well with ARM and alignment faults. > > The

Re: [PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-22 Thread Thomas Garnier
On Mon, Aug 14, 2017 at 2:37 PM, Thomas Garnier wrote: > Disable the generic address limit check in favor of an architecture > specific optimized implementation. The generic implementation using > pending work flags did not work well with ARM and alignment faults. > > The address limit is checked

[PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-14 Thread Thomas Garnier
Disable the generic address limit check in favor of an architecture specific optimized implementation. The generic implementation using pending work flags did not work well with ARM and alignment faults. The address limit is checked on each syscall return path to user-mode path as well as the irq

[PATCH v3 3/4] arm/syscalls: Optimize address limit check

2017-08-14 Thread Thomas Garnier
Disable the generic address limit check in favor of an architecture specific optimized implementation. The generic implementation using pending work flags did not work well with ARM and alignment faults. The address limit is checked on each syscall return path to user-mode path as well as the irq