Bug 255893 - ldconfig: SONAME should not be limited to one digit
Summary: ldconfig: SONAME should not be limited to one digit
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 04:03 UTC by Yuri Victorovich
Modified: 2021-05-27 02:43 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2021-05-15 04:03:46 UTC
ldconfig(8) manpage says:
> Filenames must conform to the lib*.so.[0-9]
> pattern in order to be added to the hints file.

The pattern should be changed to lib*.so.[0-9]+ because otherwise only 10 choices are available.

The code should be verified that it doesn't limit SONAMEs in this way.
Comment 1 Konstantin Belousov freebsd_committer 2021-05-15 19:42:59 UTC
See https://reviews.freebsd.org/D30272