Re: [PATCH v2 9/9] module: Reorder functions

2020-06-09 Thread Kristen Carlson Accardi
On Tue, 2020-06-09 at 13:42 -0700, Kees Cook wrote: > On Tue, Jun 09, 2020 at 01:14:04PM -0700, Kristen Carlson Accardi > wrote: > > On Thu, 2020-05-21 at 14:33 -0700, Kees Cook wrote: > > > Oh! And I am reminded suddenly about CONFIG_FG_KASLR needing to > > > interact > > > correctly with

Re: [PATCH v2 9/9] module: Reorder functions

2020-06-09 Thread Kees Cook
On Tue, Jun 09, 2020 at 01:14:04PM -0700, Kristen Carlson Accardi wrote: > On Thu, 2020-05-21 at 14:33 -0700, Kees Cook wrote: > > Oh! And I am reminded suddenly about CONFIG_FG_KASLR needing to > > interact > > correctly with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION in that we do NOT > > want the

Re: [PATCH v2 9/9] module: Reorder functions

2020-06-09 Thread Kristen Carlson Accardi
On Thu, 2020-05-21 at 14:33 -0700, Kees Cook wrote: > Oh! And I am reminded suddenly about CONFIG_FG_KASLR needing to > interact > correctly with CONFIG_LD_DEAD_CODE_DATA_ELIMINATION in that we do NOT > want the sections to be collapsed at link time: sorry - I'm a little confused and was

Re: [PATCH v2 9/9] module: Reorder functions

2020-05-21 Thread Kees Cook
On Thu, May 21, 2020 at 09:56:40AM -0700, Kristen Carlson Accardi wrote: > Introduce a new config option to allow modules to be re-ordered > by function. This option can be enabled independently of the > kernel text KASLR or FG_KASLR settings so that it can be used > by architectures that do not

[PATCH v2 9/9] module: Reorder functions

2020-05-21 Thread Kristen Carlson Accardi
Introduce a new config option to allow modules to be re-ordered by function. This option can be enabled independently of the kernel text KASLR or FG_KASLR settings so that it can be used by architectures that do not support either of these features. This option will be selected by default if