comp.lang.ada
 help / color / mirror / Atom feed
From: reinert <reinkor@gmail.com>
Subject: Re: Warning: requires executable stack...
Date: Fri, 28 Apr 2023 03:04:56 -0700 (PDT)	[thread overview]
Message-ID: <1afb8ecb-1358-4032-a8ed-aea0ad9c15a5n@googlegroups.com> (raw)
In-Reply-To: <lyr0s4a2na.fsf@pushface.org>

Thanks for swift answer.  Seems like I have to live with the warning. 

I learned about pragma restrictions(...);  :-)

reinert


fredag 28. april 2023 kl. 09:26:20 UTC+2 skrev Simon Wright:
> reinert <rei...@gmail.com> writes: 
> 
> > ...../.config/alire/cache/dependencies/gnat_native_12.2.1_11f3b811/bin/../lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: 
> > warning: kobio0.o: requires executable stack (because the 
> > .note.GNU-stack section is executable)
> Creating executable code on the stack is one way of getting malicious 
> code past virus checkers. Modern OSs will prevent this approach. 
> 
> So far as I know, GNAT will only do this to implement "trampolines", but see 
> here: 
> https://docs.adacore.com/live/wave/gnat_rm/html/gnat_rm/gnat_rm/standard_and_implementation_defined_restrictions.html#no-implicit-dynamic-code

      reply	other threads:[~2023-04-28 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  5:38 Warning: requires executable stack reinert
2023-04-28  7:26 ` Simon Wright
2023-04-28 10:04   ` reinert [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox