about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/sigaction.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-18 11:56:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-18 11:56:21 +0000
commitf051627fadac5986cb21829c1083a819d4310489 (patch)
treef6d0a6c8fa57b4fd523c58bd184beb7a3ebd6459 /sysdeps/unix/sysv/linux/i386/sigaction.c
parentd7913e0e256e842a3ff43b1a0854b351f585645d (diff)
downloadglibc-f051627fadac5986cb21829c1083a819d4310489.tar.gz
glibc-f051627fadac5986cb21829c1083a819d4310489.tar.xz
glibc-f051627fadac5986cb21829c1083a819d4310489.zip
Update.
2002-12-18  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
	Use it instead of directly int $0x80.
	* sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
	* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/sigaction.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/sigaction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/sigaction.c b/sysdeps/unix/sysv/linux/i386/sigaction.c
index 813c9bab77..bfc8b2c2e2 100644
--- a/sysdeps/unix/sysv/linux/i386/sigaction.c
+++ b/sysdeps/unix/sysv/linux/i386/sigaction.c
@@ -131,9 +131,9 @@ __libc_sigaction (int sig, const struct sigaction *act, struct sigaction *oact)
       k_newact.sa_restorer = &restore;
     }
 
-  asm volatile ("pushl %%ebx\n"
-		"movl %2, %%ebx\n"
-		"int $0x80\n"
+  asm volatile ("pushl %%ebx\n\t"
+		"movl %2, %%ebx\n\t"
+		ENTER_KERNEL_STR "\n\t"
 		"popl %%ebx"
 		: "=a" (result)
 		: "0" (SYS_ify (sigaction)), "mr" (sig),