Page MenuHomeFreeBSD

Remove never implemented sbrk and sstk syscalls
ClosedPublic

Authored by brooks on Dec 1 2023, 9:45 PM.
Tags
None
Referenced Files
F109342342: D42872.diff
Mon, Feb 3, 7:52 PM
Unknown Object (File)
Thu, Jan 30, 8:31 PM
Unknown Object (File)
Mon, Jan 13, 9:26 AM
Unknown Object (File)
Mon, Jan 13, 6:41 AM
Unknown Object (File)
Dec 6 2024, 7:36 PM
Unknown Object (File)
Dec 2 2024, 12:33 PM
Unknown Object (File)
Dec 2 2024, 12:33 PM
Unknown Object (File)
Dec 2 2024, 8:54 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