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)
Wed, May 6, 2:58 AM
Unknown Object (File)
Sat, May 2, 7:19 PM
Unknown Object (File)
Sat, May 2, 4:46 PM
Unknown Object (File)
Sat, May 2, 2:24 PM
Unknown Object (File)
Thu, Apr 30, 4:50 PM
Unknown Object (File)
Tue, Apr 28, 1:15 PM
Unknown Object (File)
Mon, Apr 27, 8:48 AM
Unknown Object (File)
Thu, Apr 16, 9:39 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