lkml.org 
[lkml]   [1998]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectALPHA: __NR_osf_sigaction vs. glibc
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)

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:1.076 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site