Page MenuHomeFreeBSD

libc: stop exporting curbrk and minbrk in the private namespace
ClosedPublic

Authored by emaste on Mar 24 2016, 2:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 23, 5:46 AM
Unknown Object (File)
Fri, Apr 18, 1:21 AM
Unknown Object (File)
Wed, Apr 16, 4:06 AM
Unknown Object (File)
Mar 14 2025, 1:45 PM
Unknown Object (File)
Mar 14 2025, 12:52 PM
Unknown Object (File)
Feb 2 2025, 7:13 AM
Unknown Object (File)
Jan 22 2025, 11:02 PM
Unknown Object (File)
Jan 21 2025, 12:06 AM
Subscribers

Details

Summary

They are not used anywhere else in the base system and are an internal implementation detail that does not need to be exposed.

If there's a concern we could leave them on existing archs and remove them from arm64 and riscv at least.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to libc: stop exporting curbrk and minbrk in the private namespace.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: kib, jilles.
emaste added subscribers: andrew, br.

How did you checked that the symbols are not used ?

Did you verified the import list of all base libs and binaries ?

In D5728#122338, @kib wrote:

How did you checked that the symbols are not used ?

Did you verified the import list of all base libs and binaries ?

I checked the libs and binaries on my amd64 desktop, and did a quick inspection of source changes since FreeBSD 7.

kib edited edge metadata.
This revision is now accepted and ready to land.Mar 24 2016, 3:15 PM
This revision was automatically updated to reflect the committed changes.