HomeFreeBSD

libc: Centralize non-building of sbrk stubs

Description

libc: Centralize non-building of sbrk stubs

The actual implementation of sbrk(2) is on top of the undocumented
break(2) system call. On powerpc* this means we don't build _sbrk and
__sys_sbrk which were neither used nor exposed for linkage. Otherwise
it is a no-op.

The addition to lib/libc/sys/Makefile.inc is a direct commit to
stable/14 in lieu of merging the removal of the sbrk and sstk syscalls.

(cherry picked from commit 7893419d492c40ca82b68fca3dcc0f5f7047d39b)

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D43159

Details

Provenance
brooksAuthored on Jan 2 2024, 4:22 PM
Reviewer
kib
Differential Revision
D43159: libc: Centralize non-building of sbrk stubs
Parents
rGdabf1797a76a: nfscl: Fix handling of expired Kerberos credentials (NFSv4.1/4.2)
Branches
Unknown
Tags
Unknown