https://bugs.kde.org/show_bug.cgi?id=451843

--- Comment #10 from Amit <akami...@hotmail.com> ---
(In reply to Paul Floyd from comment #9)
> Also, for a build time possible fix, there's  -Wl,-z,wxneeded
> 
> see
> 
> https://forums.freebsd.org/threads/rclone-not-working-with-w-x.80279/

Yes , I tried that
https://www.freebsd.org/cgi/man.cgi?query=ld.lld&sektion=1&manpath=freebsd-release-ports

But there's is a myriad of  Makefiles and custom linking script, so I failed to
implement that, if you can do it, it would be nice.

The other fix I could suggest is , map with RW protection first , till you need
the write permissions then do mprotect
https://www.freebsd.org/cgi/man.cgi?sektion=2&query=mprotect  and change the
mapping to RX before the coded in the mapped memory needs execution.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to