aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ed2c615..9de63ba 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 8efb7a6..9f5080b 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 dd7d34e..1e32ec0 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 b49ca20..11bb4c4 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