Re: arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-16 Thread Kees Cook
On Wed, Oct 15, 2014 at 5:36 PM, Russell King - ARM Linux wrote: > On Wed, Oct 15, 2014 at 05:21:29PM -0500, Kees Cook wrote: >> On Wed, Oct 15, 2014 at 5:09 PM, Russell King - ARM Linux >> wrote: >> > On Wed, Oct 15, 2014 at 08:34:17AM -0700, Kees Cook wrote: >> >> On Wed, Oct 15, 2014 at 5:21 A

Re: arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-15 Thread Russell King - ARM Linux
On Wed, Oct 15, 2014 at 05:21:29PM -0500, Kees Cook wrote: > On Wed, Oct 15, 2014 at 5:09 PM, Russell King - ARM Linux > wrote: > > On Wed, Oct 15, 2014 at 08:34:17AM -0700, Kees Cook wrote: > >> On Wed, Oct 15, 2014 at 5:21 AM, Paolo Pisati wrote: > >> > Hi, > >> > > >> > i keep hitting this wit

Re: arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-15 Thread Kees Cook
On Wed, Oct 15, 2014 at 5:09 PM, Russell King - ARM Linux wrote: > On Wed, Oct 15, 2014 at 08:34:17AM -0700, Kees Cook wrote: >> On Wed, Oct 15, 2014 at 5:21 AM, Paolo Pisati wrote: >> > Hi, >> > >> > i keep hitting this with BRIDGE=m, JUMP_LABEL=y and >> > DEBUG_SET_MODULE_RONX=y: >> >> I think

Re: arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-15 Thread Russell King - ARM Linux
On Wed, Oct 15, 2014 at 08:34:17AM -0700, Kees Cook wrote: > On Wed, Oct 15, 2014 at 5:21 AM, Paolo Pisati wrote: > > Hi, > > > > i keep hitting this with BRIDGE=m, JUMP_LABEL=y and DEBUG_SET_MODULE_RONX=y: > > I think my RO/NX patch series solves this. I sent a pull request, but > I haven't seen

Re: arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-15 Thread Jason Baron
On 10/15/2014 11:34 AM, Kees Cook wrote: > On Wed, Oct 15, 2014 at 5:21 AM, Paolo Pisati wrote: >> Hi, >> >> i keep hitting this with BRIDGE=m, JUMP_LABEL=y and DEBUG_SET_MODULE_RONX=y: > I think my RO/NX patch series solves this. I sent a pull request, but > I haven't seen any movement on it. :(

Re: arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-15 Thread Kees Cook
On Wed, Oct 15, 2014 at 5:21 AM, Paolo Pisati wrote: > Hi, > > i keep hitting this with BRIDGE=m, JUMP_LABEL=y and DEBUG_SET_MODULE_RONX=y: I think my RO/NX patch series solves this. I sent a pull request, but I haven't seen any movement on it. :( -Kees > > [ 48.419401] Unable to handle kerne

arm: JUMP_LABEL and DEBUG_SET_MODULE_RONX should be mutually exclusive?

2014-10-15 Thread Paolo Pisati
Hi, i keep hitting this with BRIDGE=m, JUMP_LABEL=y and DEBUG_SET_MODULE_RONX=y: [ 48.419401] Unable to handle kernel paging request at virtual address bf076f58 [ 48.426630] pgd = e4e54000 [ 48.429328] [bf076f58] *pgd=24d49811, *pte=249e94df, *ppte=249e965e [ 48.435603] Internal error: O