about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-28 08:30:50 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-28 08:30:50 +0000
commit0566b130fbb77c2673d0459b4d9ff825fc68b094 (patch)
treeb97f81bcd1d03f95d3b2bd90749b7aac27b28908
parente6fb884634cded8d92da107d09354409ac1f52a5 (diff)
downloadglibc-0566b130fbb77c2673d0459b4d9ff825fc68b094.tar.gz
glibc-0566b130fbb77c2673d0459b4d9ff825fc68b094.tar.xz
glibc-0566b130fbb77c2673d0459b4d9ff825fc68b094.zip
Update.
2003-01-21  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
-rw-r--r--ChangeLog4
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S3
-rw-r--r--sysdeps/unix/sysv/linux/bits/ioctls.h3
4 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ed2c6151f4..9de63ba765 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-21  Philip Blundell  <philb@gnu.org>
+
+	* sysdeps/unix/sysv/linux/bits/ioctls.h (SIOCSIFNAME): Define.
+
 2003-01-27  Steven Munroe  <sjmunroe@us.ibm.com>
 
 	* stdio-common/Makefile: Add bug14-ENV to set LOCPATH for make check.
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 8efb7a647d..9f5080b8aa 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,5 +1,9 @@
 2003-01-27  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
+	(__new_sem_post): Clear %eax before returning.
+	Reported by MAEDA Naoaki <maeda.naoaki@jp.fujitsu.com>.
+
 	* Makefile (tests): Add tst-cleanup2.
 	* tst-cleanup2.c: New file.
 
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
index dd7d34e30f..1e32ec0767 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -277,6 +277,7 @@ __new_sem_post:
 	testl	%eax, %eax
 	js	1f
 
+	xorl	%eax, %eax
 	popl	%ebx
 	popl	%esi
 	ret
diff --git a/sysdeps/unix/sysv/linux/bits/ioctls.h b/sysdeps/unix/sysv/linux/bits/ioctls.h
index b49ca20764..11bb4c4853 100644
--- a/sysdeps/unix/sysv/linux/bits/ioctls.h
+++ b/sysdeps/unix/sysv/linux/bits/ioctls.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -48,6 +48,7 @@
 #define SIOCSIFMEM	0x8920		/* set memory address (BSD)	*/
 #define SIOCGIFMTU	0x8921		/* get MTU size			*/
 #define SIOCSIFMTU	0x8922		/* set MTU size			*/
+#define SIOCSIFNAME	0x8923		/* set interface name		*/
 #define	SIOCSIFHWADDR	0x8924		/* set hardware address 	*/
 #define SIOCGIFENCAP	0x8925		/* get/set encapsulations       */
 #define SIOCSIFENCAP	0x8926