Re: [PATCH v2 11/20] randstruct: Disable randomization of ACPICA structs

2017-05-27 Thread Christoph Hellwig
On Sat, May 27, 2017 at 01:03:23PM -0700, Kees Cook wrote: > On Sat, May 27, 2017 at 1:42 AM, Christoph Hellwig wrote: > > On Fri, May 26, 2017 at 01:17:15PM -0700, Kees Cook wrote: > >> Since the ACPICA source is maintained externally to the kernel, we can > >> neither switch it to designated ini

Re: [PATCH v2 11/20] randstruct: Disable randomization of ACPICA structs

2017-05-27 Thread Kees Cook
On Sat, May 27, 2017 at 1:42 AM, Christoph Hellwig wrote: > On Fri, May 26, 2017 at 01:17:15PM -0700, Kees Cook wrote: >> Since the ACPICA source is maintained externally to the kernel, we can >> neither switch it to designated initializers nor mark it >> __no_randomize_layout. Until ACPICA-upstre

Re: [PATCH v2 11/20] randstruct: Disable randomization of ACPICA structs

2017-05-27 Thread Christoph Hellwig
On Fri, May 26, 2017 at 01:17:15PM -0700, Kees Cook wrote: > Since the ACPICA source is maintained externally to the kernel, we can > neither switch it to designated initializers nor mark it > __no_randomize_layout. Until ACPICA-upstream changes[1] land to handle the > designated initialization, ex

[PATCH v2 11/20] randstruct: Disable randomization of ACPICA structs

2017-05-26 Thread Kees Cook
Since the ACPICA source is maintained externally to the kernel, we can neither switch it to designated initializers nor mark it __no_randomize_layout. Until ACPICA-upstream changes[1] land to handle the designated initialization, explicitly skip it in the plugin. [1] https://github.com/acpica/acpi