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, Oct 11, 3:36 PM
Unknown Object (File)
Fri, Oct 9, 8:15 AM
Unknown Object (File)
Thu, Oct 8, 5:10 AM
Unknown Object (File)
Fri, Oct 2, 8:14 PM
Unknown Object (File)
Sun, Sep 20, 10:29 PM
Unknown Object (File)
Sep 16 2026, 1:51 PM
Unknown Object (File)
Sep 12 2026, 11:23 PM
Unknown Object (File)
Sep 8 2026, 10:10 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 Not Applicable
Unit
Tests Not Applicable