Re: module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-26 Thread Lothar Waßmann
Hi, On Mon, 25 Jan 2016 15:41:08 -0800 Brian Norris wrote: > On Mon, Jan 25, 2016 at 12:11:51PM +0100, Lothar Wassmann wrote: > > commit b0d7290e85a5 ("module: clean up RO/NX handling.") > > threw away the size checks which were in place before calling the > > set_memory_*() functions. > > This

Re: module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-26 Thread Lothar Waßmann
Hi, On Mon, 25 Jan 2016 15:41:08 -0800 Brian Norris wrote: > On Mon, Jan 25, 2016 at 12:11:51PM +0100, Lothar Wassmann wrote: > > commit b0d7290e85a5 ("module: clean up RO/NX handling.") > > threw away the size checks which were in place before calling the > > set_memory_*() functions. > > This

Re: module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-25 Thread Brian Norris
On Mon, Jan 25, 2016 at 12:11:51PM +0100, Lothar Wassmann wrote: > commit b0d7290e85a5 ("module: clean up RO/NX handling.") > threw away the size checks which were in place before calling the > set_memory_*() functions. > This produces a kernel bug upon module load with >

[PATCH] module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-25 Thread Lothar Waßmann
commit b0d7290e85a5 ("module: clean up RO/NX handling.") threw away the size checks which were in place before calling the set_memory_*() functions. This produces a kernel bug upon module load with CONFIG_DEBUG_SET_MODULE_RONX=y: kernel BUG at mm/memory.c:1898! Internal error: Oops - BUG: 0 [#1]

Re: module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-25 Thread Brian Norris
On Mon, Jan 25, 2016 at 12:11:51PM +0100, Lothar Wassmann wrote: > commit b0d7290e85a5 ("module: clean up RO/NX handling.") > threw away the size checks which were in place before calling the > set_memory_*() functions. > This produces a kernel bug upon module load with >

[PATCH] module: Fix regression introduced by commit: b0d7290e85a5 "module: clean up RO/NX handling."

2016-01-25 Thread Lothar Waßmann
commit b0d7290e85a5 ("module: clean up RO/NX handling.") threw away the size checks which were in place before calling the set_memory_*() functions. This produces a kernel bug upon module load with CONFIG_DEBUG_SET_MODULE_RONX=y: kernel BUG at mm/memory.c:1898! Internal error: Oops - BUG: 0 [#1]