ALPHA: __NR_osf_sigaction vs. glibc

Bruce Elliott (belliott@accessone.com)
Sun, 11 Jan 1998 20:06:43 -0800 (PST)


Sometime around 2.1.70 the system call number for sigaction() was renamed
from __NR_sigaction to __NR_osf_sigaction. This breaks the glibc building
process, as the original name is required. As far as I can tell, the names
containing "_osf_" are limited to those functions which have separate linux
and osf kernel implementations.

The following restores the original name and allows glibc to build.

========================================================================
--- linux/include/asm-alpha/unistd.h.orig Tue Jan 6 00:18:32 1998
+++ linux/include/asm-alpha/unistd.h Sun Jan 11 19:49:53 1998
@@ -156,7 +156,7 @@
#define __NR_osf_pid_block 153 /* not implemented */
#define __NR_osf_pid_unblock 154 /* not implemented */

-#define __NR_osf_sigaction 156
+#define __NR_sigaction 156
#define __NR_osf_sigwaitprim 157 /* not implemented */
#define __NR_osf_nfssvc 158 /* not implemented */
#define __NR_osf_getdirentries 159
========================================================================

B. D. Elliott bde@accessone.com (Seattle)