Roland McGrath
c0154f46b7
(init1): fix one more nit in last change
2004-09-13 00:42:46 +00:00
Roland McGrath
0c563d9d7a
* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls
...
missing in last change.
2004-09-12 23:05:49 +00:00
Roland McGrath
4b41db6048
2004-09-12 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls
missing in last change.
2004-09-12 23:05:24 +00:00
Ulrich Drepper
20f8e6663a
Update.
...
2004-09-11 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_compat/compat-grp.c: Check that buflen is greater zero
before writing data into the buffer with negative offset.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c Likewise.
2004-09-12 20:38:38 +00:00
Ulrich Drepper
ccc63b0708
[BZ #365 ]
...
Update.
* misc/syslog.c (vsyslog): Fix copying of PID in case of
out-of-memory situation. [BZ #365 ].
* sysdeps/alpha/fpu/bits/mathinline.h: Use __NTH instead of
__THROW in inline function definitions.
2004-09-12 18:45:49 +00:00
Ulrich Drepper
9ad684229e
Update.
...
* posix/spawn.h [__USE_GNU]: Define POSIX_SPAWN_USEVFORK.
* posix/spawnattr_setflags.c: Check whether any unknown bit is set
in FLAGS parameter and fail if this is the case.
* sysdeps/posix/spawni.c: Use vfork if POSIX_SPAWN_USEVFORK flag is
set.
2004-09-12 18:05:37 +00:00
Ulrich Drepper
cf244b74a0
Update.
...
2004-09-12 Ulrich Drepper <drepper@redhat.com>
* nscd/pwdcache.c (cache_addpw): Sync also negative results to disk.
* nscd/grpcache.c (cache_addgr): Likewise.
* nscd/hstcache.c (cache_addhst): Likewise.
2004-09-12 10:10:48 +00:00
Ulrich Drepper
8c89236fd3
(cache_addhst): Sync also negative results to disk.
2004-09-12 10:04:03 +00:00
Roland McGrath
9d78d12272
* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]:
...
Set _dl_phdr and _dl_phnum.
(init1): When bootstrap task, bail early and never examine *D.
2004-09-11 23:52:43 +00:00
Roland McGrath
fc58d35235
* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:
...
Cast THR, SEL and DESC to `void'.
2004-09-11 23:05:24 +00:00
Roland McGrath
09fb62920e
2004-09-11 Alfred M. Szmidt <ams@kemisten.nu>
...
* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:
Cast THR, SEL and DESC to `void'.
2004-09-11 23:05:10 +00:00
Ulrich Drepper
72ae1e97d0
Update.
...
* nscd/connections.c (nscd_run): Call setup_thread only for enabled
databases.
2004-09-11 20:48:01 +00:00
Ulrich Drepper
5a617b9e75
Update.
...
2004-09-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.
2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2004-09-11 16:28:48 +00:00
Ulrich Drepper
3418007ed6
Update.
...
2004-09-10 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.c (pagesize_m1): New variable.
(main): Initialize it.
* nscd/nscd.h: Declare pagesize_m1.
* nscd/hstcache.c: Pass correctly aligned address to msync.
* nscd/grpcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
2004-09-10 23:56:29 +00:00
Ulrich Drepper
9b2dc51589
Update.
...
2004-09-10 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Decrement
__nwaiters. If pthread_cond_destroy has been called and this is
the last waiter, signal pthread_cond_destroy caller and avoid
using the pthread_cond_t structure after unlock.
* sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2004-09-10 21:18:48 +00:00
Ulrich Drepper
05f4d5cd08
[BZ #377 ]
...
Update.
* sysdeps/unix/sysv/linux/kernel-features.h: Don't define
__ASSUME_CLONE_STOPPED.
2004-09-10 Jakub Jelinek <jakub@redhat.com>
* misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and
__asm__ for C++. [BZ #377 ]
2004-09-10 Ulrich Drepper <drepper@redhat.com>
2004-09-10 21:16:28 +00:00
Ulrich Drepper
d13a3c5792
Update.
...
2004-09-10 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_stat.c: Improve output by also printing .shared and
.persistent.
* nscd/connections.c: Allow cache sharing to be really disabled.
2004-09-10 20:31:41 +00:00
Ulrich Drepper
c0097ea1eb
Update.
...
2004-09-10 Jakub Jelinek <jakub@redhat.com>
* malloc/malloc.c (_int_free): Only do arena boundary check for
contiguous arenas.
2004-09-10 19:58:40 +00:00
Ulrich Drepper
3e00177e5a
nt_free): Only do arena boundary check for contiguous arenas.
2004-09-10 19:56:41 +00:00
Roland McGrath
181742f804
2004-09-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
* stdlib/longlong.h [__M32R__] (add_ssaaaa, sub_ddmmss): Fix broken
instruct operands.
* elf/elf.h: Add R_M32R_* relocs.
2004-09-10 03:38:14 +00:00
Roland McGrath
1386a2bb3c
* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
...
descriptor is bogus.
2004-09-09 22:51:44 +00:00
Roland McGrath
583f34c8b1
2004-09-09 Roland McGrath <roland@redhat.com>
...
* td_ta_map_lwp2thr.c (td_ta_map_lwp2thr): Don't abort if inferior's
descriptor is bogus.
2004-09-09 22:50:10 +00:00
Ulrich Drepper
e071493f41
Update.
...
* misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2
seems not to support the nothrow attribute. Use it only for gcc
3.3 and higher.
2004-09-09 21:18:14 +00:00
Ulrich Drepper
a962d7dc18
Update.
...
2004-09-09 Ulrich Drepper <drepper@redhat.com>
* malloc/hooks.c (top_check): Print top chunk corruption as normal
error message.
* malloc/malloc.c (malloc_printerr): Don't make informational
message look like error message.
2004-09-09 21:10:29 +00:00
Ulrich Drepper
14abadc8bf
Update.
...
* malloc/malloc.c (_int_free): Add inexpensive double free and
memory corruption tests.
(malloc_printf_nc): Renamed to malloc_printerr. Second parameter
is no format string anymore. Don't use stdio. Adjust all callers.
* malloc/hooks.c: Adjust malloc_printf_nc callers.
2004-09-09 17:15:57 +00:00
Ulrich Drepper
6bf4302e76
(_int_free): Add inexpensive double free and memory corruption tests. (malloc_printf_nc): Renamed to malloc_printerr. Second parameter is no format string anymore. Don't use stdio. Adjust all callers.
2004-09-09 09:03:28 +00:00
Andreas Jaeger
45ab54ce2d
* nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.
2004-09-09 06:35:47 +00:00
Andreas Jaeger
1f9c1540bf
(CFLAGS-nscd_setup_thread.c): Set to -fpie.
2004-09-09 06:35:38 +00:00
Ulrich Drepper
31f93b3b72
[BZ #375 ]
...
Update.
2004-09-08 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/pthread.h
(PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Make safe for C++.
(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
(PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
[BZ #375 ]
2004-09-09 04:59:02 +00:00
Ulrich Drepper
062ad13224
Update.
...
* sysdeps/unix/sysv/linux/bits/socket.h (__SCM_CONNECT): Removed.
2004-09-09 02:04:45 +00:00
Ulrich Drepper
9d0cdc0eea
Update.
...
2004-09-08 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (_int_free): Add inexpensive double free test.
2004-09-09 01:58:35 +00:00
Ulrich Drepper
4924c0072b
Update.
...
* sysdeps/ia64/fpu/bits/mathinline.h: Use __NTH instead of __THROW.
2004-09-08 Ulrich Drepper <drepper@redhat.com>
2004-09-08 21:47:22 +00:00
Ulrich Drepper
239581f404
Use __NTH instead of __THROW.
2004-09-08 21:44:02 +00:00
Roland McGrath
54b497ce38
* malloc/mcheck.c: Don't use __P.
...
Use prototypes definitions for static functions.
2004-09-08 20:36:06 +00:00
Roland McGrath
b80163bd53
2004-09-08 Roland McGrath <roland@redhat.com>
...
* malloc/mcheck.c: Don't use __P.
Use prototypes definitions for static functions.
2004-09-08 20:36:02 +00:00
Ulrich Drepper
cf6f93d426
Update.
...
* nscd/nscd-client.h: Add a few #includes.
2004-09-08 19:49:17 +00:00
Ulrich Drepper
67a0b49db3
* sysdeps/generic/nscd_setup_thread.c: New file.
...
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: New file.
2004-09-08 18:03:21 +00:00
Ulrich Drepper
081fc592fa
Update.
...
Jakub Jelinek <jakub@redhat.com>
* nscd/Makefile (nscd-modules): Add nscd_setup_thread.
* nscd/connections.c (nscd_run): Call setup_thread for maintenance
threads.
* nscd/nscd-client.h (struct database_pers_head): Add
nscd_certainly_running field.
* nscd/nscd.h: Declare setup_thread.
* nscd/nscd_helper.c (__nscd_get_map_ref): Avoid the time test if
nscd_certainly_running is nonzero.
2004-09-08 Ulrich Drepper <drepper@redhat.com>
2004-09-08 17:56:46 +00:00
Ulrich Drepper
c207f23b0b
Update.
...
* nscd/connections.c: Implement r/o sharing of nscd's cache with client
processes via shared memory.
* nscd/nscd-client.h: Likewise.
* nscd/nscd.h: Likewise.
* nscd/nscd_conf.c: Likewise.
* nscd/nscd_getgr_r.c: Likewise.
* nscd/nscd_getpw_r.c: Likewise.
* nscd/nscd_gethst_r.c: Likewise.
* nscd/nscd.conf: Add new config parameters.
* nscd/Makefile (aux): Add nscd_helper.
* nscd/nscd_helper.c: New file.
* nscd/mem.c (gc): Indicate beginning and end of the gc cycle.
* nscd/hstcache.c: Simplify a lot. We cache only the request itself,
no derived information.
* connections.c (nscd_init): Fix bug in testing size of the persistent.
* nis/Makefile (aux): Add nis_hash.
* nis/nis_hash.c: New file. Split out from nis_util.c.
* nis/nis_util.c: Move __nis_hash code in separate file.
* csu/tst-atomic.c: Improve atomic_increment_val test which would
not have found a ppc bug.
2004-09-08 15:46:42 +00:00
Ulrich Drepper
0a3ad40da9
Update.
...
* sysdeps/s390/fpu/bits/mathinline.h: Remove unnecessary includes.
2004-09-08 14:04:05 +00:00
Ulrich Drepper
06d6611aac
Update.
...
2004-09-08 Ulrich Drepper <drepper@redhat.com>
* malloc/arena.c: Remove __MALLOC_P uses.
* malloc/malloc.c: Likewise.
* malloc/mtrace.c: Remove __P uses.
* malloc/mcheck-init.c: Likewise.
2004-09-08 08:12:39 +00:00
Ulrich Drepper
590b40f7ec
Update.
...
2004-09-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc64/configure.in: New file.
* config.h.in (USE_PPC64_OVERLAPPING_OPD): Add.
* configure.in (HAVE_ASM_GLOBAL_DOT_NAME): Remove.
* sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
(OPD_ENT, BODY_LABEL, ENTRY_1, ENTRY_2, END_2, DOT_PREFIX,
BODY_PREFIX): Define.
(ENTRY, DOT_LABEL, END, TRACEBACK, END_GEN_TB, EALIGN): Support
HAVE_ASM_GLOBAL_DOT_NAME or no dot symbols,
USE_PPC64_OVERLAPPING_OPD or never overlapping .opd entries.
* sysdeps/powerpc/powerpc64/dl-machine.h: Include sysdep.h.
(TRAMPOLINE_TEMPLATE, RTLD_START): Use the new sysdep.h macros.
2004-09-08 07:02:28 +00:00
Ulrich Drepper
67254a97d9
Update.
...
* malloc/malloc.h: Don't define __THROW if it is already defined.
2004-09-08 06:31:04 +00:00
Ulrich Drepper
7ba0e52c39
Update.
...
* sysdeps/powerpc/bits/atomic.h (atomic_increment): Define.
(atomic_decrement): Define.
* sysdeps/powerpc/bits/atomic.h: Implement atomic_increment_val and
atomic_decrement_val.
* sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
* sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
* csu/tst-atomic.c (do_test): Add tests of atomic_increment_val
and atomic_decrement_val.
2004-09-08 06:09:02 +00:00
Ulrich Drepper
f510d815be
and atomic_delay is not already defined.
2004-09-07 22:41:16 +00:00
Ulrich Drepper
f377d02227
Update.
...
* include/atomic.h: Define atomic_increment_val, atomic_decrement_val,
and atomic_dealy is not already defined.
* sysdeps/i386/i486/bits/atomic.h: Define atomic_delay.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* miscd/sys/cdefs.h (__NTH): New macro.
(__THROW): Define using nothrow attribute for C code and gcc >= 3.2.
(__REDIRECT_NTH): New macro.
* argp/argp.h: Use __NTH and __REDIRECT_NTH where necessary.
* ctype/ctype.h: Likewise.
* dirent/dirent.h: Likewise.
* io/fcntl.h: Likewise.
* io/sys/sendfile.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/sys/statvfs.h: Likewise.
* libio/bits/stdio.h: Likewise.
* misc/sys/mman.h: Likewise.
* posix/unistd.h: Likewise.
* resource/sys/resource.h: Likewise.
* rt/aio.h: Likewise.
* signal/signal.h: Likewise.
* stdlib/stdlib.h: Likewise.
* string/argz.h: Likewise.
* string/string.h: Likewise.
* sysdeps/generic/inttypes.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
* sysdeps/s390/fpu/bits/mathinline.h: Likewise.
* sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sys/sysmacros.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* sysdeps/generic/glob.c: Use __PMT isntead of __P where appropriate.
* resolv/gethnamaddr.c (getanswer): Remove __P use in variable
definition.
* io/sys/poll.h: Remove __THROW from poll prototype, it's a
cancellation point.
2004-09-07 22:33:37 +00:00
Ulrich Drepper
36ccb375a7
Use __PMT instead of __P where appropriate.
2004-09-07 22:10:43 +00:00
Roland McGrath
e2e2181e41
* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.
2004-09-07 21:36:26 +00:00
Roland McGrath
db12ef58ba
2004-09-04 Jakub Jelinek <jakub@redhat.com>
...
* tst-cancel4.c (tf_waitid): Use WEXITED flag bit if available.
2004-09-07 21:36:21 +00:00
Ulrich Drepper
0cf12a6a6d
(getanswer): Remove __P use in variable definition.
2004-09-07 21:10:49 +00:00