Re: [PATCH v3 1/4] man/man5/ld.so.conf.5: document include syntax
Alejandro Colomar <[email protected]> Sat, 1 Aug 2026 03:01:16 +0200
| Newsgroups | org.kernel.vger.linux-man |
|---|---|
| Message-ID | <am1FSNl_WjnaHI0-@devuan> |
--tpofmuxqrnvo57bd Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: Alejandro Colomar <[email protected]> To: DJ Delorie <[email protected]> Cc: [email protected] Subject: Re: [PATCH v3 1/4] man/man5/ld.so.conf.5: document include syntax Message-ID: <am1FSNl_WjnaHI0-@devuan> References: <[email protected]> <ae9c2cc67047902f68f64d05ca454da0e6d008b3.1785522144.git.dj@redhat.com> MIME-Version: 1.0 In-Reply-To: <ae9c2cc67047902f68f64d05ca454da0e6d008b3.1785522144.git.dj@redhat.com> Hi DJ, > Date: 2026-07-31 14:22:24-0400 > From: DJ Delorie <[email protected]> > > --- Thanks! I've applied the patch. Have a lovely night! Alex > man/man5/ld.so.conf.5 | 24 ++++++++++++++++++++++++ > man/man8/ldconfig.8 | 2 -- > 2 files changed, 24 insertions(+), 2 deletions(-) >=20 > diff --git a/man/man5/ld.so.conf.5 b/man/man5/ld.so.conf.5 > index 481cf9152..d9fae3c1f 100644 > --- a/man/man5/ld.so.conf.5 > +++ b/man/man5/ld.so.conf.5 > @@ -9,8 +9,32 @@ .SH DESCRIPTION > This file contains a list of directories, > one per line, > in which to search for libraries. > +.P > +The file is parsed by > +.BR \%ldconfig (8) > +and the results stored in > +.IR /etc/ld.so.cache . > +.P > +The syntax allows lines to start with the keyword > +.B include > +followed by a > +.BR glob (7) > +pattern. > +Files matching that pattern will be processed > +as if their contents were included at that point. > .SH FILES > .I /etc/ld.so.conf > +.SH EXAMPLES > +Example config file: > +.P > +.in +4n > +.EX > +/lib > +/usr/lib > +/usr/local/lib > +include /etc/ld.so.conf.d/*.conf > +.EE > +.in > .SH SEE ALSO > .BR ld.so (8), > .BR ldconfig (8) > diff --git a/man/man8/ldconfig.8 b/man/man8/ldconfig.8 > index 9ac146b44..cb7d62ccc 100644 > --- a/man/man8/ldconfig.8 > +++ b/man/man8/ldconfig.8 > @@ -178,8 +178,6 @@ .SH OPTIONS > is also specified, > the cache is still rebuilt. > .SH FILES > -.\" FIXME Since glibc-2.3.4, "include" directives are supported in ld.so= =2Econf > -.\" > .\" FIXME Since glibc-2.4, "hwcap" directives are supported in ld.so.conf > .PD 0 > .TP > --=20 > 2.47.3 >=20 >=20 --=20 <https://www.alejandro-colomar.es> --tpofmuxqrnvo57bd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmptRVsACgkQ64mZXMKQ wqlrQw/+Mzbi6LpPXVdHqO5Kkj834JJ+sYoAoUUFDMmXGC7Wcw3UuTZflVTrRpFG GWAo4pOAgo/TVbZvn7KAB9Jk0fFsWY7RQEv/eDCgFabstRSRQAl9twjrbAG4ro4q 3W0fDLB3puzFhdMXpJQaNSM6mgcNeG9bZjBRkbsmq5ZsiPrvR6HZcNE6yKqFB1IV bICR6En2eLhchRHAACAEIMFoWc/tHEfNR30TsDjOYOw6fTOo+yBHLwJp2ooHccVl iZ+1rLoAsPmcTInob8gXO1GFnhqLekLjaWY1r6PLsoqAUvQuBJr5M33r0b4hQ5sD s5+8OZS2r+Lug2dZVx2tcf58/ecZvXj2EJOXKE+4FILO6K56rqNyVicaym1FTsHy ifoEN+IRx+5aY+mXazrwd/70MrBk4hsEY+Pw1d2Ba5KtlelvCXVdn4ktR/UvPK1H VNUfJREzPa1ciY8CZ2wClT28iZ1hv951YJAGhxjH2JpuT8I0OFcdohSDfTHnYw02 JuwnY2Bfb3HxPiHsf6DqYB4lJMduKMXujN4N7UeEp4gPjiw0JuiZLW4dJAdlItVl F7gjkmz/woy9xZ5g0s6jhRhNp5TDUhmMyhQA+Ddy1iqZaUQ6Abq+a3T99qptLi0I cCkg8Mbhs0BZSZCksGCJOGB4xbIOF+kxesLawIE45V507svwEX4= =XmPA -----END PGP SIGNATURE----- --tpofmuxqrnvo57bd--