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)
Feb 7 2024, 3:43 PM
Unknown Object (File)
Jan 28 2024, 10:38 PM
Unknown Object (File)
Nov 13 2023, 8:20 AM
Unknown Object (File)
Nov 11 2023, 8:18 AM
Unknown Object (File)
Nov 8 2023, 3:19 PM
Unknown Object (File)
Nov 8 2023, 6:52 AM
Unknown Object (File)
Nov 6 2023, 7:25 PM
Unknown Object (File)
Nov 6 2023, 3:09 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.