kopensolaris-gnu/glibc.git
16 years agoHandle PIEs.
drepper [Thu, 4 Mar 2004 23:23:00 +0000 (23:23 +0000)]
Handle PIEs.

16 years agoUpdate.
drepper [Thu, 4 Mar 2004 19:14:56 +0000 (19:14 +0000)]
Update.

16 years ago(process_block): Handle omit_invalid.
drepper [Thu, 4 Mar 2004 19:12:54 +0000 (19:12 +0000)]
(process_block): Handle omit_invalid.
If iconv returns EILSEQ with omit_invalid, continue converting
and return 1 if no other errors are seen.
(main): Set status to EXIT_FAILURE whenever process_* returns
nonzero, but only stop processing further files if iy returns
negative value.

16 years agoRnot needed anymore.
drepper [Wed, 3 Mar 2004 22:36:02 +0000 (22:36 +0000)]
Rnot needed anymore.

16 years agoUpdate.
drepper [Wed, 3 Mar 2004 18:57:15 +0000 (18:57 +0000)]
Update.

16 years agoposix_fadvise implementation.
drepper [Wed, 3 Mar 2004 18:56:20 +0000 (18:56 +0000)]
posix_fadvise implementation.

16 years agoposix_fadvise64 implementation.
drepper [Wed, 3 Mar 2004 18:56:03 +0000 (18:56 +0000)]
posix_fadvise64 implementation.

16 years ago(posix_fadvise64): Remove.
drepper [Wed, 3 Mar 2004 18:55:07 +0000 (18:55 +0000)]
(posix_fadvise64): Remove.

16 years agoUpdate.
drepper [Tue, 2 Mar 2004 18:51:24 +0000 (18:51 +0000)]
Update.

16 years ago__xstat syscall wrapper for PPC32.
drepper [Tue, 2 Mar 2004 18:50:32 +0000 (18:50 +0000)]
__xstat syscall wrapper for PPC32.

16 years ago__lxstat syscall wrapper for PPC32.
drepper [Tue, 2 Mar 2004 18:50:14 +0000 (18:50 +0000)]
__lxstat syscall wrapper for PPC32.

16 years ago__fxstat syscall wrapper for PPC32.
drepper [Tue, 2 Mar 2004 18:50:00 +0000 (18:50 +0000)]
__fxstat syscall wrapper for PPC32.

16 years agoUpdate.
drepper [Mon, 1 Mar 2004 22:35:28 +0000 (22:35 +0000)]
Update.

16 years ago(nscd_gethst_r): Add missing initialization of return value.
drepper [Mon, 1 Mar 2004 22:34:27 +0000 (22:34 +0000)]
(nscd_gethst_r): Add missing initialization of return value.

16 years ago(nscd_getgr_r): Add missing initialization of return value.
drepper [Mon, 1 Mar 2004 22:33:53 +0000 (22:33 +0000)]
(nscd_getgr_r): Add missing initialization of return value.

16 years agoUpdate.
drepper [Mon, 1 Mar 2004 21:38:21 +0000 (21:38 +0000)]
Update.

16 years agoUpdate.
drepper [Mon, 1 Mar 2004 21:34:36 +0000 (21:34 +0000)]
Update.

16 years agoAdd support for __ASSUME_GETDENTS32_D_TYPE.
drepper [Mon, 1 Mar 2004 21:22:14 +0000 (21:22 +0000)]
Add support for __ASSUME_GETDENTS32_D_TYPE.

16 years agoFor 2.6.4+ kernels you getdents syscall again since it provides d_type
drepper [Mon, 1 Mar 2004 21:21:38 +0000 (21:21 +0000)]
For 2.6.4+ kernels you getdents syscall again since it provides d_type
information.

16 years agoUpdate.
drepper [Mon, 1 Mar 2004 08:47:37 +0000 (08:47 +0000)]
Update.

16 years agoUpdate.
drepper [Mon, 1 Mar 2004 08:46:56 +0000 (08:46 +0000)]
Update.

16 years ago(__pthread_cond_timedwait): Optimize wakeup test.
drepper [Mon, 1 Mar 2004 08:45:53 +0000 (08:45 +0000)]
(__pthread_cond_timedwait): Optimize wakeup test.

16 years ago(__pthread_cond_wait): Optimize wakeup test.
drepper [Mon, 1 Mar 2004 08:45:25 +0000 (08:45 +0000)]
(__pthread_cond_wait): Optimize wakeup test.

16 years ago(__pthread_cond_timedwait): Optimize wakeup test even more.
drepper [Mon, 1 Mar 2004 08:44:52 +0000 (08:44 +0000)]
(__pthread_cond_timedwait): Optimize wakeup test even more.

16 years ago(__pthread_cond_wait): Optimize wakeup test even more.
drepper [Mon, 1 Mar 2004 08:44:35 +0000 (08:44 +0000)]
(__pthread_cond_wait): Optimize wakeup test even more.

16 years ago(__pthread_cond_timedwait): Optimize wakeup test.
drepper [Mon, 1 Mar 2004 08:17:55 +0000 (08:17 +0000)]
(__pthread_cond_timedwait): Optimize wakeup test.

16 years ago(__pthread_cond_wait): Optimize wakeup test.
drepper [Mon, 1 Mar 2004 08:17:07 +0000 (08:17 +0000)]
(__pthread_cond_wait): Optimize wakeup test.

16 years agoUpdate.
drepper [Mon, 1 Mar 2004 06:39:13 +0000 (06:39 +0000)]
Update.

16 years ago(__lll_mutex_lock_wait): Optimize a bit more. Just one copy of the
drepper [Mon, 1 Mar 2004 06:38:24 +0000 (06:38 +0000)]
(__lll_mutex_lock_wait): Optimize a bit more.  Just one copy of the
atomic instruction needed.

16 years ago(__lll_mutex_lock_wait): Optimize a bit more. Just one copy of the
drepper [Mon, 1 Mar 2004 06:36:36 +0000 (06:36 +0000)]
(__lll_mutex_lock_wait): Optimize a bit more.  Just one copy of the
atomic instruction needed.

16 years agoUpdate.
aj [Sun, 29 Feb 2004 19:50:54 +0000 (19:50 +0000)]
Update.

16 years agoRegenerated.
aj [Sun, 29 Feb 2004 19:50:35 +0000 (19:50 +0000)]
Regenerated.

16 years ago(Tools for Compilation): Autoconf 2.53 is required.
aj [Sun, 29 Feb 2004 19:50:28 +0000 (19:50 +0000)]
(Tools for Compilation): Autoconf 2.53 is required.
(Supported Configurations): Add x86_64-*-linux.

16 years agoUpdate.
drepper [Sat, 28 Feb 2004 19:33:17 +0000 (19:33 +0000)]
Update.

16 years agoMove table to .rodata.
drepper [Sat, 28 Feb 2004 19:32:03 +0000 (19:32 +0000)]
Move table to .rodata.

16 years agoUpdate.
drepper [Sat, 28 Feb 2004 17:56:22 +0000 (17:56 +0000)]
Update.

16 years ago(_dl_sysdep_start): Only set GL(dl_sysinfo) if non-zero.
drepper [Sat, 28 Feb 2004 17:55:37 +0000 (17:55 +0000)]
(_dl_sysdep_start): Only set GL(dl_sysinfo) if non-zero.

16 years ago(dl_main): Adjust l->l_ld of the vDSO by l->l_addr.
drepper [Sat, 28 Feb 2004 17:55:10 +0000 (17:55 +0000)]
(dl_main): Adjust l->l_ld of the vDSO by l->l_addr.

16 years agoUpdate.
drepper [Sat, 28 Feb 2004 10:18:58 +0000 (10:18 +0000)]
Update.

16 years ago(tests): Add tst-cond14 and tst-cond15.
drepper [Sat, 28 Feb 2004 10:18:13 +0000 (10:18 +0000)]
(tests): Add tst-cond14 and tst-cond15.

16 years agoCheck cond_wait/cond_timedwait with recursive mutex.
drepper [Sat, 28 Feb 2004 10:17:56 +0000 (10:17 +0000)]
Check cond_wait/cond_timedwait with recursive mutex.

16 years agoUpdate.
drepper [Sat, 28 Feb 2004 09:26:24 +0000 (09:26 +0000)]
Update.

16 years agoInclude stdlib.h.
drepper [Sat, 28 Feb 2004 09:24:30 +0000 (09:24 +0000)]
Include stdlib.h.

16 years agoUpdate.
drepper [Fri, 27 Feb 2004 09:41:31 +0000 (09:41 +0000)]
Update.

16 years ago(create_thread): Remove use of CLONE_STOPPED. We cannot use SIGCONT
drepper [Fri, 27 Feb 2004 09:40:58 +0000 (09:40 +0000)]
(create_thread): Remove use of CLONE_STOPPED.  We cannot use SIGCONT
which means CLONE_STOPPED needs to be implemented differently to be
useful.

16 years agoUpdate.
drepper [Fri, 27 Feb 2004 08:09:35 +0000 (08:09 +0000)]
Update.

16 years agoDefine ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET.
drepper [Fri, 27 Feb 2004 08:08:42 +0000 (08:08 +0000)]
Define ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET.

16 years agoUse tgkill if possible.
drepper [Fri, 27 Feb 2004 08:07:47 +0000 (08:07 +0000)]
Use tgkill if possible.

16 years agoSet ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET flag for thread.
drepper [Fri, 27 Feb 2004 08:06:13 +0000 (08:06 +0000)]
Set ATTR_FLAG_SCHED_SET and ATTR_FLAG_POLICY_SET flag for thread.

16 years agoIf the parameters aren't known yet get them from the kernel.
drepper [Fri, 27 Feb 2004 08:05:13 +0000 (08:05 +0000)]
If the parameters aren't known yet get them from the kernel.

16 years ago(__pthread_create_2_1): Copy scheduling attributes from parent thread
drepper [Fri, 27 Feb 2004 08:03:19 +0000 (08:03 +0000)]
(__pthread_create_2_1): Copy scheduling attributes from parent thread
to child.  If attribute is used and scheduling parameters are not
inherited, copy parameters from attribute or compute them.  Check
priority value.

16 years agoSet ATTR_FLAG_POLICY_SET flag.
drepper [Fri, 27 Feb 2004 08:00:13 +0000 (08:00 +0000)]
Set ATTR_FLAG_POLICY_SET flag.

16 years agoDon't test priority against limits here. Set ATTR_FLAG_SCHED_SET flag.
drepper [Fri, 27 Feb 2004 07:59:02 +0000 (07:59 +0000)]
Don't test priority against limits here.  Set ATTR_FLAG_SCHED_SET flag.

16 years ago(__pthread_getschedparam): Fix typo in comment.
drepper [Fri, 27 Feb 2004 01:53:56 +0000 (01:53 +0000)]
(__pthread_getschedparam): Fix typo in comment.

16 years agoUpdate.
drepper [Fri, 27 Feb 2004 00:55:39 +0000 (00:55 +0000)]
Update.

16 years ago(__pthread_attr_getstackaddr): Don't fail if stack address hasn't been
drepper [Fri, 27 Feb 2004 00:54:38 +0000 (00:54 +0000)]
(__pthread_attr_getstackaddr): Don't fail if stack address hasn't been
set.  Just return 0.

16 years agoUpdate.
drepper [Fri, 27 Feb 2004 00:04:11 +0000 (00:04 +0000)]
Update.

16 years ago(nscd_getpw_r): Add new parameter. Store result
drepper [Fri, 27 Feb 2004 00:02:26 +0000 (00:02 +0000)]
(nscd_getpw_r): Add new parameter.  Store result
pointer in the address provided by the new parameter if successful.
Otherwise store NULL.  Return zero if no entry found.
(__nscd_getpwnam_r, __nscd_getpwuid_r): Add new parameter and pass it on.

16 years ago(nscd_gethst_r): Add new parameter. Store
drepper [Fri, 27 Feb 2004 00:01:11 +0000 (00:01 +0000)]
(nscd_gethst_r): Add new parameter.  Store
result pointer in the address provided by the new parameter if
successful. Otherwise store NULL.  Return zero if no entry found.
(__nscd_gethostbyname_r, __nscd_gethostbyname2_r,
__nscd_gethostbyaddr_r): Add new parameter and pass it on.

16 years ago(nscd_getgr_r): Add new parameter. Store result
drepper [Thu, 26 Feb 2004 23:58:43 +0000 (23:58 +0000)]
(nscd_getgr_r): Add new parameter.  Store result
pointer in the address provided by the new parameter if successful.
Otherwise store NULL.  Return zero if no entry found.
(__nscd_getgrnam_r, __nscd_getgrgid_r): Add new parameter and pass it on.

16 years agoAdd new argument for pointer to result pointer to all nscd_* functions.
drepper [Thu, 26 Feb 2004 23:55:40 +0000 (23:55 +0000)]
Add new argument for pointer to result pointer to all nscd_* functions.

16 years agoPass result also to the nscd_* function. Don't set *result here.
drepper [Thu, 26 Feb 2004 23:54:48 +0000 (23:54 +0000)]
Pass result also to the nscd_* function.  Don't set *result here.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 21:36:37 +0000 (21:36 +0000)]
Update.

16 years ago(SYSDEP_SETTIME): Set retval to -1 on error.
drepper [Thu, 26 Feb 2004 21:35:29 +0000 (21:35 +0000)]
(SYSDEP_SETTIME): Set retval to -1 on error.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 20:38:54 +0000 (20:38 +0000)]
Update.

16 years ago(__realpath): Simplify.
drepper [Thu, 26 Feb 2004 20:37:52 +0000 (20:37 +0000)]
(__realpath): Simplify.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 20:33:23 +0000 (20:33 +0000)]
Update.

16 years ago(parse_expression): Avoid duplication in calls to build_charclass_op.
drepper [Thu, 26 Feb 2004 20:30:35 +0000 (20:30 +0000)]
(parse_expression): Avoid duplication in calls to build_charclass_op.

(parse_expression): Add cast to (const unsigned char *) in calls to
`build_charclass_op'.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 20:06:58 +0000 (20:06 +0000)]
Update.

16 years ago(dl_main): Correctly set up l_map_end and l_addr in vDSO's link_map,
drepper [Thu, 26 Feb 2004 20:05:29 +0000 (20:05 +0000)]
(dl_main): Correctly set up l_map_end and l_addr in vDSO's link_map,
don't assume l_addr == 0.  Set GL(dl_sysinfo) from e_entry only if
AT_SYSINFO not present and adjust by l_addr.  Take vDSO into account
when inserting rtld into _dl_loaded chain.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 19:22:02 +0000 (19:22 +0000)]
Update.

16 years ago(authdes_getucred): Removed fixed limit on number of groups in the
drepper [Thu, 26 Feb 2004 19:21:11 +0000 (19:21 +0000)]
(authdes_getucred): Removed fixed limit on number of groups in the
cache.  Relax the disconnect between the interface of authdes_getucred
and netname2user a bit.

16 years ago(authunix_create_default): Don't allocate huge arrays on the stack.
drepper [Thu, 26 Feb 2004 17:47:02 +0000 (17:47 +0000)]
(authunix_create_default): Don't allocate huge arrays on the stack.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 17:25:30 +0000 (17:25 +0000)]
Update.

16 years ago(__sysconf): Use the official not cancelable interfaces.
drepper [Thu, 26 Feb 2004 17:22:38 +0000 (17:22 +0000)]
(__sysconf): Use the official not cancelable interfaces.

16 years ago(__sysconf): Add TEMP_FAILURE_RETRY.
drepper [Thu, 26 Feb 2004 02:53:11 +0000 (02:53 +0000)]
(__sysconf): Add TEMP_FAILURE_RETRY.

16 years agoUpdate.
drepper [Thu, 26 Feb 2004 01:32:44 +0000 (01:32 +0000)]
Update.

16 years ago(bitset_not, bitset_merge, bitset_not_merge,
drepper [Thu, 26 Feb 2004 01:31:11 +0000 (01:31 +0000)]
(bitset_not, bitset_merge, bitset_not_merge,
bitset_mask, re_string_char_size_a, re_string_wchar_at,
re_string_elem_size_at): Change to use prototypes.
(re_string_char_size_at, re_string_wchar_at,
re_string_elem_size_at): Declare as `internal_function'.

16 years ago(build_wcs_upper_buffer): Enclose `offsets_needed' label in `#ifdef _LIBC'
drepper [Thu, 26 Feb 2004 01:30:47 +0000 (01:30 +0000)]
(build_wcs_upper_buffer): Enclose `offsets_needed' label in `#ifdef _LIBC'
to silence `unused label' compiler warning.

(build_wcs_buffer): Add cast to char* in call to `wcrtomb'.

16 years ago(__sysconf): Should be not-cancelable.
drepper [Thu, 26 Feb 2004 00:02:55 +0000 (00:02 +0000)]
(__sysconf): Should be not-cancelable.

16 years agoUpdate.
drepper [Wed, 25 Feb 2004 23:28:54 +0000 (23:28 +0000)]
Update.

16 years ago(__sysconf): Handle _SC_NGROUPS_MAX.
drepper [Wed, 25 Feb 2004 23:27:45 +0000 (23:27 +0000)]
(__sysconf): Handle _SC_NGROUPS_MAX.

16 years agoUpdate.
drepper [Wed, 25 Feb 2004 18:43:42 +0000 (18:43 +0000)]
Update.

16 years ago(tests-nolibpthread): Add tst-unload. Don't link with libpthread for
drepper [Wed, 25 Feb 2004 18:42:59 +0000 (18:42 +0000)]
(tests-nolibpthread): Add tst-unload.  Don't link with libpthread for
the files in this list.
(CFLAGS-tst-unload): Removed.

16 years ago(do_test): Don't use complete path for LIBPHREAD_SO.
drepper [Wed, 25 Feb 2004 18:41:32 +0000 (18:41 +0000)]
(do_test): Don't use complete path for LIBPHREAD_SO.

16 years agoUpdate.
drepper [Wed, 25 Feb 2004 08:26:24 +0000 (08:26 +0000)]
Update.

16 years agoDefine sonames for tst-tls5mod, tst-_res1mod1, and tst-_res1mod2.
drepper [Wed, 25 Feb 2004 08:25:15 +0000 (08:25 +0000)]
Define sonames for tst-tls5mod, tst-_res1mod1, and tst-_res1mod2.

16 years agoUpdate.
drepper [Mon, 23 Feb 2004 23:30:12 +0000 (23:30 +0000)]
Update.

16 years ago(__mbrtowc): Cap s + n at the end of address space.
drepper [Mon, 23 Feb 2004 23:29:11 +0000 (23:29 +0000)]
(__mbrtowc): Cap s + n at the end of address space.

16 years ago(tests): Add testmb2.
drepper [Mon, 23 Feb 2004 23:28:27 +0000 (23:28 +0000)]
(tests): Add testmb2.
(testmb2-ENV): New.

16 years agoTest for huge size arguments.
drepper [Mon, 23 Feb 2004 23:28:06 +0000 (23:28 +0000)]
Test for huge size arguments.

16 years agoUpdate.
drepper [Mon, 23 Feb 2004 19:54:06 +0000 (19:54 +0000)]
Update.

16 years ago(xtests): Add bug-ga2.
drepper [Mon, 23 Feb 2004 19:53:11 +0000 (19:53 +0000)]
(xtests): Add bug-ga2.
(generated): Add bug-ga2.mtrace and bug-ga2-mem.
(xtests): Depend on bug-ga2-mem.
($(objpfx)bug-ga2-mem, bug-ga2-ENV): New.

16 years ago(gaih_inet): If _res has not been inited yet, try to init it before
drepper [Mon, 23 Feb 2004 19:52:58 +0000 (19:52 +0000)]
(gaih_inet): If _res has not been inited yet, try to init it before
saving old _res.options.

16 years agoTest for memory leak in getaddrinfo.
drepper [Mon, 23 Feb 2004 19:52:27 +0000 (19:52 +0000)]
Test for memory leak in getaddrinfo.

16 years agoUpdate.
drepper [Sun, 22 Feb 2004 19:37:31 +0000 (19:37 +0000)]
Update.

16 years ago(__lll_mutex_lock_wait): Rewrite so that only one locked memory
drepper [Sun, 22 Feb 2004 19:36:46 +0000 (19:36 +0000)]
(__lll_mutex_lock_wait): Rewrite so that only one locked memory
operation per round is needed.

16 years ago(__lll_mutex_lock_wait): Rewrite so that only one locked memory
drepper [Sun, 22 Feb 2004 19:36:20 +0000 (19:36 +0000)]
(__lll_mutex_lock_wait): Rewrite so that only one locked memory
operation per round is needed.

16 years agoUpdate.
drepper [Sun, 22 Feb 2004 19:26:25 +0000 (19:26 +0000)]
Update.

16 years agoPop register content also in case of an overflow in the parameter.
drepper [Sun, 22 Feb 2004 19:25:00 +0000 (19:25 +0000)]
Pop register content also in case of an overflow in the parameter.