Re: [PATCH v7 07/41] x86: Move control protection handler to separate file

From: Borislav Petkov
Date: Wed Mar 01 2023 - 10:39:26 EST


On Mon, Feb 27, 2023 at 02:29:23PM -0800, Rick Edgecombe wrote:
> Subject: Re: [PATCH v7 07/41] x86: Move control protection handler to separate file

x86/traps: ...

but that can be fixed while committing.

> Today the control protection handler is defined in traps.c and used only
> for the kernel IBT feature. To reduce ifdeffery, move it to it's own file.
> In future patches, functionality will be added to make this handler also
> handle user shadow stack faults. So name the file cet.c.
>
> No functional change.

...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette