Re: ALPHA: __NR_osf_sigaction vs. glibc

Andreas Jaeger (aj@arthur.rhein-neckar.de)
12 Jan 1998 16:17:33 +0100


>>>>> Bruce Elliott writes:

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

Please try instead (after removing your kernel patch) the appended patch for glibc.

Andreas

--- glibc-2.0.6/sysdeps/unix/sysv/linux/alpha/syscalls.list.alpha Wed Jan 22 23:24:08 1997
+++ glibc-2.0.6/sysdeps/unix/sysv/linux/alpha/syscalls.list Mon Jan 5 18:58:55 1998
@@ -16,7 +16,7 @@
semctl - semctl 4 __semctl semctl

osf_sigprocmask - osf_sigprocmask 2 __osf_sigprocmask
-
+s_sigaction sigaction osf_sigaction 3 __syscall_sigaction
getpeername - getpeername 3 __getpeername getpeername
getpriority - getpriority 2 __getpriority getpriority
mmap - mmap 6 __mmap mmap

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de
    http://www.student.uni-kl.de/~ajaeger/