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)
Mon, Oct 13, 4:20 AM
Unknown Object (File)
Sep 16 2025, 9:06 PM
Unknown Object (File)
Sep 15 2025, 10:22 PM
Unknown Object (File)
Sep 2 2025, 12:34 AM
Unknown Object (File)
Sep 1 2025, 10:07 AM
Unknown Object (File)
Aug 22 2025, 4:25 AM
Unknown Object (File)
Aug 18 2025, 9:00 PM
Unknown Object (File)
Jul 22 2025, 4:36 PM
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.