Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-30 Thread Kees Cook
On Mon, Nov 30, 2015 at 4:42 PM, Laura Abbott wrote: > On 11/30/2015 03:40 PM, Kees Cook wrote: >> >> On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: >>> >>> On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott >>> wrote: Currently, when updating section permissions to mark areas RO

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-30 Thread Laura Abbott
On 11/30/2015 03:40 PM, Kees Cook wrote: On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott wrote: Currently, when updating section permissions to mark areas RO or NX, the only mm updated is current->mm. This is working off the assumption that

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-30 Thread Kees Cook
On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: > On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott > wrote: >> Currently, when updating section permissions to mark areas RO >> or NX, the only mm updated is current->mm. This is working off >> the assumption that there are no additional mm

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-30 Thread Laura Abbott
On 11/30/2015 03:40 PM, Kees Cook wrote: On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott wrote: Currently, when updating section permissions to mark areas RO or NX, the only mm updated is

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-30 Thread Kees Cook
On Mon, Nov 30, 2015 at 4:42 PM, Laura Abbott wrote: > On 11/30/2015 03:40 PM, Kees Cook wrote: >> >> On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: >>> >>> On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott >>> wrote:

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-30 Thread Kees Cook
On Thu, Nov 19, 2015 at 11:10 AM, Kees Cook wrote: > On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott > wrote: >> Currently, when updating section permissions to mark areas RO >> or NX, the only mm updated is current->mm. This is working off >> the

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-19 Thread Kees Cook
On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott wrote: > Currently, when updating section permissions to mark areas RO > or NX, the only mm updated is current->mm. This is working off > the assumption that there are no additional mm structures at > the time. This may not always hold true. (Example:

Re: [PATCHv2] arm: Update all mm structures with section adjustments

2015-11-19 Thread Kees Cook
On Wed, Nov 18, 2015 at 4:14 PM, Laura Abbott wrote: > Currently, when updating section permissions to mark areas RO > or NX, the only mm updated is current->mm. This is working off > the assumption that there are no additional mm structures at > the time. This may not

[PATCHv2] arm: Update all mm structures with section adjustments

2015-11-18 Thread Laura Abbott
Currently, when updating section permissions to mark areas RO or NX, the only mm updated is current->mm. This is working off the assumption that there are no additional mm structures at the time. This may not always hold true. (Example: calling modprobe early will trigger a fork/exec). Ensure all

[PATCHv2] arm: Update all mm structures with section adjustments

2015-11-18 Thread Laura Abbott
Currently, when updating section permissions to mark areas RO or NX, the only mm updated is current->mm. This is working off the assumption that there are no additional mm structures at the time. This may not always hold true. (Example: calling modprobe early will trigger a fork/exec). Ensure all