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)
Sat, Feb 3, 8:19 AM
Unknown Object (File)
Jan 18 2024, 1:22 PM
Unknown Object (File)
Dec 24 2023, 9:51 PM
Unknown Object (File)
Dec 20 2023, 2:53 PM
Unknown Object (File)
Dec 12 2023, 10:11 AM
Unknown Object (File)
Dec 4 2023, 9:40 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 Not Applicable
Unit
Tests Not Applicable