Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 2 Aug 2002 01:43:32 +0000 (01:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 2 Aug 2002 01:43:32 +0000 (01:43 +0000)
2002-08-02  Jakub Jelinek  <jakub@redhat.com>

* malloc/malloc.c (public_cALLOc): Check for overflow on
multiplication.
* sunrpc/xdr_array.c (xdr_array): Likewise.
* sunrpc/rpc/types.h (mem_free): Add comment.
Patch by Solar Designer <solar@openwall.com>.

2002-08-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_SET_THREAD_AREA_SYSCALL): Define.

* libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
* libio/Makefile (headers): Add bits/sys_errlist.h to the list.
* sysdeps/generic/bits/sys_errlist.h: New file.  This does *not*
declare sys_errlist and sys_nerr.
* sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file.  Does

ChangeLog
linuxthreads/ChangeLog
sunrpc/rpc/types.h

index 65fa0f2..2872e63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2002-08-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * malloc/malloc.c (public_cALLOc): Check for overflow on
+       multiplication.
+       * sunrpc/xdr_array.c (xdr_array): Likewise.
+       * sunrpc/rpc/types.h (mem_free): Add comment.
+       Patch by Solar Designer <solar@openwall.com>.
+
+2002-08-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/kernel-features.h
+       (__ASSUME_SET_THREAD_AREA_SYSCALL): Define.
+
 2002-08-01  Roland McGrath  <roland@frob.com>
 
        * libio/fileops.c (_IO_file_sync_mmap): New function.
 
 2002-07-31  Jeff Bailey  <jbailey@gnu.org>
 
-        * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
+       * libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
        Declarations moved to <bits/sys_errlist.h>.  Include that file.
-        * libio/Makefile (headers): Add bits/sys_errlist.h to the list.
-        * sysdeps/generic/bits/sys_errlist.h: New file.  This does *not*
-        declare sys_errlist and sys_nerr.
-        * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file.  Does
+       * libio/Makefile (headers): Add bits/sys_errlist.h to the list.
+       * sysdeps/generic/bits/sys_errlist.h: New file.  This does *not*
+       declare sys_errlist and sys_nerr.
+       * sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file.  Does
        provide declarations.
 
 2002-07-31  Roland McGrath  <roland@frob.com>
index 2fe02b1..2baa1e4 100644 (file)
@@ -1,3 +1,10 @@
+2002-08-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/i386/useldt.h (DO_MODIFY_LDT): Move from INIT_THREAD_SELF.
+       (INIT_THREAD_SELF): Use sys_thread_area syscall instead if available.
+       (FREE_THREAD): Avoid modify_ldt if using GDT.
+       * sysdeps/i386/pspinlock.c (__have_no_set_thread_area): New variable.
+
 2002-07-25  Jakub Jelinek  <jakub@redhat.com>
 
        * sysdeps/i386/tls.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
index 8eff8e7..871f3fd 100644 (file)
@@ -58,6 +58,10 @@ typedef unsigned long rpcport_t;
 
 #include <stdlib.h>            /* For malloc decl.  */
 #define mem_alloc(bsize)       malloc(bsize)
+/*
+ * XXX: This must not use the second argument, or code in xdr_array.c needs
+ * to be modified.
+ */
 #define mem_free(ptr, bsize)   free(ptr)
 
 #ifndef makedev /* ie, we haven't already included it */