On 4/29/2026 10:03 PM, Steven Rostedt wrote: > On Wed, 29 Apr 2026 14:58:15 -0400 > Steven Rostedt <[email protected]> wrote: > >>> If the main executable doesn't have a sframe section, I don't see why this >>> shouldn't be allowed to add one. >> >> The address is added via mtree_insert_range() which states it will return >> -EEXISTS if the range is occupied. > > I confirmed this. I changed the test program to load its own sframe section > again, and it errors out with -EEXISTS.
Should an executable be allowed to remove its main executable sframe section? Currently the kernel takes care of registering/unregistering that. Regards, Jens -- Jens Remus Linux on Z Development (D3303) [email protected] / [email protected] IBM Deutschland Research & Development GmbH; Vorsitzender des Aufsichtsrats: Wolfgang Wendt; Geschäftsführung: David Faller; Sitz der Gesellschaft: Ehningen; Registergericht: Amtsgericht Stuttgart, HRB 243294 IBM Data Privacy Statement: https://www.ibm.com/privacy/
