Page MenuHomeFreeBSD

Remove never implemented sbrk and sstk syscalls
ClosedPublic

Authored by brooks on Dec 1 2023, 9:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 1, 12:14 AM
Unknown Object (File)
Sat, Feb 28, 1:02 PM
Unknown Object (File)
Sun, Feb 8, 8:12 AM
Unknown Object (File)
Sun, Feb 8, 1:18 AM
Unknown Object (File)
Jan 31 2026, 1:40 PM
Unknown Object (File)
Dec 16 2025, 7:52 AM
Unknown Object (File)
Dec 6 2025, 2:29 PM
Unknown Object (File)
Nov 27 2025, 8:43 AM
Subscribers

Details

Summary

Both system calls were stubs returning EOPNOTSUPP and libc did not
provide _ or __sys_ prefixed symbols. The actual implementation of
sbrk(2) is on top of the undocumented break(2) system call.

Technically this is a change in ABI, but no non-contrived program ever
called these syscalls.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 54740
Build 51629: arc lint + arc unit