On Wed, 29 Apr 2026 14:55:12 -0400
Steven Rostedt <[email protected]> wrote:

> > > + *
> > > + * This system call is used by dynamic library utilities to inform the 
> > > kernel    
> > 
> > Out of curiosity: what would happen if the application chooses to invoke
> > this system call to register sframe for the main executable ? Should it be
> > allowed ?  
> 
> I haven't tried, and should look at the code. Ideally, no two sframes
> sections should cover the same code. I think it should error out if it does.
> 
> 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.

-- Steve

Reply via email to