This change should not have an effect because the system call was
never defined. Also add the misssing attribute_compat_text_section
attribute to the sstk function (a minor optimization). Also update the
NEWS file to document the change.
Fixes commit
9cc93ba0973ad04ee26c515a1552afb85e73c6ba
("misc: Turn sstk into a compat symbol").
but always fails with ENOSYS. This reflects the removal of the system
call from all architectures, starting with Linux 5.5.
+* The sstk function is no longer available to newly linked binaries.
+ Its implementation always returned with a failure, and the function
+ was not declared in any header file.
+
Changes to build and runtime requirements:
[Add changes to build and runtime requirements here]
#include <shlib-compat.h>
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_32)
-void *
+void * attribute_compat_text_section
sstk (int increment)
{
__set_errno (ENOSYS);
sigsuspend - sigsuspend Ci:p sigsuspend
socket - socket i:iii __socket socket
socketpair - socketpair i:iiif socketpair
-sstk - sstk b:i sstk
statfs - statfs i:sp __statfs statfs
swapoff - swapoff i:s swapoff
swapon - swapon i:s swapon