Re: [PATCH 1/3] compiler.h: Move C string helpers into C-only kernel section

2025-02-06 Thread Kees Cook
On Thu, Feb 06, 2025 at 09:07:05PM +0100, Miguel Ojeda wrote: > On Thu, Feb 6, 2025 at 7:11 PM Kees Cook wrote: > > > > The C kernel helpers for evaluating C Strings were placed outside of the > > assembly ifdef. Move them to the correct place so future changes won't > > confuse the assembler. >

Re: [PATCH 1/3] compiler.h: Move C string helpers into C-only kernel section

2025-02-06 Thread Miguel Ojeda
On Thu, Feb 6, 2025 at 7:11 PM Kees Cook wrote: > > The C kernel helpers for evaluating C Strings were placed outside of the > assembly ifdef. Move them to the correct place so future changes won't > confuse the assembler. This moves it also into the kernel ifdef too -- I assume that is intention