Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-11 Thread Josh Poimboeuf
On Thu, Nov 12, 2015 at 11:58:25AM +1030, Rusty Russell wrote: > Josh Poimboeuf writes: > > On Tue, Nov 10, 2015 at 12:27:34PM +1030, Rusty Russell wrote: > >> Josh Poimboeuf writes: > >> > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > >> > > >> >> @@ -1858,74 +1849,75 @@

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-11 Thread Rusty Russell
Josh Poimboeuf writes: > On Tue, Nov 10, 2015 at 12:27:34PM +1030, Rusty Russell wrote: >> Josh Poimboeuf writes: >> > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: >> > >> >> @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) >> >> /* >> >> * LKM

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-11 Thread Rusty Russell
Josh Poimboeuf writes: > On Tue, Nov 10, 2015 at 12:27:34PM +1030, Rusty Russell wrote: >> Josh Poimboeuf writes: >> > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: >> > >> >> @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-11 Thread Josh Poimboeuf
On Thu, Nov 12, 2015 at 11:58:25AM +1030, Rusty Russell wrote: > Josh Poimboeuf writes: > > On Tue, Nov 10, 2015 at 12:27:34PM +1030, Rusty Russell wrote: > >> Josh Poimboeuf writes: > >> > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: >

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-09 Thread Josh Poimboeuf
On Tue, Nov 10, 2015 at 12:27:34PM +1030, Rusty Russell wrote: > Josh Poimboeuf writes: > > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > > > >> @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) > >> /* > >> * LKM RO/NX protection: protect module's

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-09 Thread Rusty Russell
Josh Poimboeuf writes: > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > >> @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) >> /* >> * LKM RO/NX protection: protect module's text/ro-data >> * from modification and any data from execution. >> + * >>

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-09 Thread Josh Poimboeuf
On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) > /* > * LKM RO/NX protection: protect module's text/ro-data > * from modification and any data from execution. > + * > + * General layout of module is:

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-09 Thread Josh Poimboeuf
On Tue, Nov 10, 2015 at 12:27:34PM +1030, Rusty Russell wrote: > Josh Poimboeuf writes: > > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > > > >> @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) > >> /* > >> * LKM RO/NX

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-09 Thread Rusty Russell
Josh Poimboeuf writes: > On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > >> @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) >> /* >> * LKM RO/NX protection: protect module's text/ro-data >> * from modification and any data from

Re: [PATCH 4/4] module: clean up RO/NX handling.

2015-11-09 Thread Josh Poimboeuf
On Mon, Nov 09, 2015 at 02:53:57PM +1030, Rusty Russell wrote: > @@ -1858,74 +1849,75 @@ static void mod_sysfs_teardown(struct module *mod) > /* > * LKM RO/NX protection: protect module's text/ro-data > * from modification and any data from execution. > + * > + * General layout of module is: