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)
Mon, Sep 23, 7:08 PM
Unknown Object (File)
Sat, Sep 21, 3:28 AM
Unknown Object (File)
Thu, Sep 5, 8:47 PM
Unknown Object (File)
Sep 3 2024, 8:07 AM
Unknown Object (File)
Aug 25 2024, 4:11 PM
Unknown Object (File)
Aug 7 2024, 5:54 AM
Unknown Object (File)
Jul 26 2024, 5:55 AM
Unknown Object (File)
Jul 12 2024, 9:55 PM
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