Re: git: f6ee1d20d368 - main - kern_thread: Fix i386 p_emuldata KBI assertion

From: Harry Schmalzbauer <freebsd_at_omnilan.de>
Date: Sun, 01 Nov 2026 09:29:08 UTC
On 2026-07-13 05:03, Jessica Clarke wrote:
> The branch main has been updated by jrtc27:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=f6ee1d20d36813e9906916f48cf06f44a2fd668d
>
> commit f6ee1d20d36813e9906916f48cf06f44a2fd668d
> Author:     Jessica Clarke <jrtc27@FreeBSD.org>
> AuthorDate: 2026-07-13 03:03:03 +0000
> Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
> CommitDate: 2026-07-13 03:03:03 +0000
>
>      kern_thread: Fix i386 p_emuldata KBI assertion
>      
>      On amd64 there was 4 bytes of padding between the 20-byte p_comm and
>      (for LP64) 8-byte p_sysent, so the addition of p_execblock just caused
>      that padding to be eaten up. However, on i386, there was no such
>      padding, and so the addition of p_execblock rippled through to
>      p_emuldata.
>      
>      Fixes:  e1a84b7708c2 ("execve_block(): a mechanism for mutual exclusion with execve() on the process")


Hello,

I think this is a quiet important fix missing in stable/15 (15.2) - 
despite i386 isn't tier0 anymore.
Could you please check and MFC?

-harry