From: Florian Weimer Date: Sun, 9 Feb 2020 14:44:59 +0000 (+0100) Subject: Linux: sigaltstack syscall number is always available X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19e646fd70d38f688a41daf15650f56d66cd7d9;p=thirdparty%2Fglibc.git Linux: sigaltstack syscall number is always available Due to the built-in tables, __NR_sigaltstack is always defined. --- diff --git a/sysdeps/unix/sysv/linux/sigstack.c b/sysdeps/unix/sysv/linux/sigstack.c index 2f75e2643ad..32a378bd269 100644 --- a/sysdeps/unix/sysv/linux/sigstack.c +++ b/sysdeps/unix/sysv/linux/sigstack.c @@ -22,7 +22,6 @@ #include -#ifdef __NR_sigaltstack int sigstack (struct sigstack *ss, struct sigstack *oss) { @@ -61,6 +60,3 @@ sigstack (struct sigstack *ss, struct sigstack *oss) } link_warning (sigstack, "the `sigstack' function is dangerous. `sigaltstack' should be used instead.") -#else -# include -#endif