Re: RT linker, rpath and security

[email protected]
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Le Thu, May 11, 2023 at 09:57:09AM -0400, Mouse a écrit :
> > An admin can not check all input that binaries have to deal with, but
> > checking sane access rights for paths showing up in binaries they
> > install (or trusting pkgsrc to have done that and creatings dirs with
> > proper permissions) is easy.
> 
> It is?  What is the tool to show the list of paths baked into a binary?
> 
> That's a serious question.  I'm not aware of any, except possibly
> strings (plus a lot of patience, for large binaries); if there is one
> (lurking somewhere in binutils maybe?) I'd love to learn of it.

readelf -d
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.