Page MenuHomeFreeBSD

Remove never implemented sbrk and sstk syscalls
ClosedPublic

Authored by brooks on Dec 1 2023, 9:45 PM.
Tags
None
Referenced Files
F136844037: D42872.id.diff
Thu, Nov 20, 1:01 AM
F136843906: D42872.id130917.diff
Thu, Nov 20, 1:00 AM
F136843901: D42872.id131011.diff
Thu, Nov 20, 1:00 AM
F136843516: D42872.diff
Thu, Nov 20, 12:54 AM
Unknown Object (File)
Wed, Nov 12, 4:04 AM
Unknown Object (File)
Thu, Nov 6, 8:37 AM
Unknown Object (File)
Wed, Nov 5, 6:44 PM
Unknown Object (File)
Sat, Oct 25, 6:24 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