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)
Thu, May 9, 2:16 AM
Unknown Object (File)
Wed, May 8, 1:12 PM
Unknown Object (File)
Wed, May 8, 1:12 PM
Unknown Object (File)
Wed, May 8, 11:34 AM
Unknown Object (File)
Sun, May 5, 10:47 PM
Unknown Object (File)
May 4 2024, 11:35 AM
Unknown Object (File)
May 2 2024, 10:10 AM
Unknown Object (File)
Apr 27 2024, 6:19 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