kopensolaris-gnu/glibc.git
13 years ago.
drepper [Mon, 15 Jan 2007 22:21:52 +0000 (22:21 +0000)]
.

13 years ago(handle_request): Fix thinko in selinux test invocation.
drepper [Mon, 15 Jan 2007 22:21:42 +0000 (22:21 +0000)]
(handle_request): Fix thinko in selinux test invocation.

13 years ago.
drepper [Mon, 15 Jan 2007 20:48:56 +0000 (20:48 +0000)]
.

13 years agoDefine DL_LOOKUP_SCOPE_LOCK.
drepper [Mon, 15 Jan 2007 20:48:43 +0000 (20:48 +0000)]
Define DL_LOOKUP_SCOPE_LOCK.

13 years ago(do_sym): In flags passed to call_dl_lookup, also set DL_LOOKUP_SCOPE_LOCK.
drepper [Mon, 15 Jan 2007 20:47:44 +0000 (20:47 +0000)]
(do_sym): In flags passed to call_dl_lookup, also set DL_LOOKUP_SCOPE_LOCK.

13 years ago(_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x in case we
drepper [Mon, 15 Jan 2007 20:46:54 +0000 (20:46 +0000)]
(_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x in case we
locked the scope.
(_dl_profile_fixup): Likewise.

13 years ago(add_dependency): If scope map is locked, unlock it before getting
drepper [Mon, 15 Jan 2007 20:45:53 +0000 (20:45 +0000)]
(add_dependency): If scope map is locked, unlock it before getting
dl_load_lock and then relock.
(_dl_lookup_symbol_x): Pass flags to add_dependency.
When rerunning _dl_lookup_symbol_x, compute symbol_scope again in case
we unlocked the scope.

13 years ago.
drepper [Sun, 14 Jan 2007 05:26:26 +0000 (05:26 +0000)]
.

13 years ago.
drepper [Sun, 14 Jan 2007 05:26:04 +0000 (05:26 +0000)]
.

13 years ago.
drepper [Sun, 14 Jan 2007 05:25:13 +0000 (05:25 +0000)]
.

13 years ago(perms): Add entries for services database.
drepper [Sun, 14 Jan 2007 05:25:03 +0000 (05:25 +0000)]
(perms): Add entries for services database.

13 years agoDeclare __nss_not_use_nscd_services, __nscd_getservbyname_r, and
drepper [Sun, 14 Jan 2007 05:24:52 +0000 (05:24 +0000)]
Declare __nss_not_use_nscd_services, __nscd_getservbyname_r, and
__nscd_getservbyport_r.

13 years ago(dbnames): Mark as const. Add services entry.
drepper [Sun, 14 Jan 2007 05:24:39 +0000 (05:24 +0000)]
(dbnames): Mark as const.  Add services entry.
(find_db): Fix error message.

13 years agoAdjust declaration of dbnames and serv2str.
drepper [Sun, 14 Jan 2007 05:24:26 +0000 (05:24 +0000)]
Adjust declaration of dbnames and serv2str.
Declare serv_iov_disabled.
Declare addservbyname, readdservbyname, addservbyport, and readdservbyport.

13 years agoAdd entries for services database.
drepper [Sun, 14 Jan 2007 05:24:04 +0000 (05:24 +0000)]
Add entries for services database.

13 years ago(parse_opt): Rewrite parsing of -i parameter value using table.
drepper [Sun, 14 Jan 2007 05:23:52 +0000 (05:23 +0000)]
(parse_opt): Rewrite parsing of -i parameter value using table.

13 years ago(request_type): Remove LASTDBREQ, add GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
drepper [Sun, 14 Jan 2007 05:23:40 +0000 (05:23 +0000)]
(request_type): Remove LASTDBREQ, add GETSERVBYNAME, GETSERVBYPORT, GETFDSERV.
(serv_response_header): Define.
(struct datahead): Add serv_response_header member.

13 years agoDon't define __getservbyname_r.
drepper [Sun, 14 Jan 2007 05:23:23 +0000 (05:23 +0000)]
Don't define __getservbyname_r.

13 years ago(serv2str): Mark as const. Add entries for services database.
drepper [Sun, 14 Jan 2007 05:23:05 +0000 (05:23 +0000)]
(serv2str): Mark as const.  Add entries for services database.
(dbs): Add .reset_res and servdb initialization.
(serv2db): Add entries for services database.
(verify_persistent_db): Accept dbnr == servdb.
(invalidate_cache): Rewrite database name recognition to use a table.
Call res_init() if .reset_res is set for database.
(handle_request): Add code to handle services database.

13 years ago(prune_cache): Rewrite to get re-add function from table. Add entries
drepper [Sun, 14 Jan 2007 05:22:46 +0000 (05:22 +0000)]
(prune_cache): Rewrite to get re-add function from table.  Add entries
for services database.

13 years ago(routines): Add nscd_getserv_r.
drepper [Sun, 14 Jan 2007 05:22:30 +0000 (05:22 +0000)]
(routines): Add nscd_getserv_r.
(nscd-modules): Add getsrvbynm_r, getsrvbypt_r, and servicescache.
Define CFLAGS-servicescache.c, CFLAGS-getsrvbynm_r.c, and
CFLAGS-getsrvbypt_r.c.

13 years agoDefine CFLAGS-getsrvbynm_r.c and CFLAGS-getsrvbynpt_r.c.
drepper [Sun, 14 Jan 2007 05:22:09 +0000 (05:22 +0000)]
Define CFLAGS-getsrvbynm_r.c and CFLAGS-getsrvbynpt_r.c.

13 years ago(__nss_disable_nscd): Also disable services database.
drepper [Sun, 14 Jan 2007 05:21:50 +0000 (05:21 +0000)]
(__nss_disable_nscd): Also disable services database.

13 years agoExport __nss_services_lookup with GLIBC_PRIVATE.
drepper [Sun, 14 Jan 2007 05:21:40 +0000 (05:21 +0000)]
Export __nss_services_lookup with GLIBC_PRIVATE.

13 years agoImplementation of cache for services database.
drepper [Sun, 14 Jan 2007 05:21:29 +0000 (05:21 +0000)]
Implementation of cache for services database.

13 years agoInterfaces for services database to nscd.
drepper [Sun, 14 Jan 2007 05:21:12 +0000 (05:21 +0000)]
Interfaces for services database to nscd.

13 years agogetservbyport_r function for use in nscd.
drepper [Sun, 14 Jan 2007 05:20:46 +0000 (05:20 +0000)]
getservbyport_r function for use in nscd.

13 years agogetservbyname_r function for use in nscd.
drepper [Sun, 14 Jan 2007 05:20:11 +0000 (05:20 +0000)]
getservbyname_r function for use in nscd.

13 years agoRemove obsolete code. Cleanups.
drepper [Sun, 14 Jan 2007 05:09:52 +0000 (05:09 +0000)]
Remove obsolete code.  Cleanups.

13 years ago.
drepper [Sun, 14 Jan 2007 04:30:50 +0000 (04:30 +0000)]
.

13 years ago(_nss_nis_getservbyname_r): Correct computation of keylen.
drepper [Sun, 14 Jan 2007 04:30:39 +0000 (04:30 +0000)]
(_nss_nis_getservbyname_r): Correct computation of keylen.

13 years ago.
drepper [Sat, 13 Jan 2007 21:31:45 +0000 (21:31 +0000)]
.

13 years agoOnly redefine strndupa if this is really for libc code.
drepper [Sat, 13 Jan 2007 21:31:32 +0000 (21:31 +0000)]
Only redefine strndupa if this is really for libc code.

13 years ago.
drepper [Sat, 13 Jan 2007 07:30:26 +0000 (07:30 +0000)]
.

13 years agoMinor cleanups.
drepper [Sat, 13 Jan 2007 07:30:16 +0000 (07:30 +0000)]
Minor cleanups.

13 years ago.
drepper [Sat, 13 Jan 2007 04:41:19 +0000 (04:41 +0000)]
.

13 years ago(handle_request): Check selinux permissions for all non-admin commands.
drepper [Sat, 13 Jan 2007 04:41:10 +0000 (04:41 +0000)]
(handle_request): Check selinux permissions for all non-admin commands.

13 years ago.
drepper [Sat, 13 Jan 2007 01:52:43 +0000 (01:52 +0000)]
.

13 years agoDefine atomic_compare_and_exchange_val_acq,
drepper [Sat, 13 Jan 2007 01:52:31 +0000 (01:52 +0000)]
Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add
using __sync_* built-ins for gcc >= 4.1.

13 years agoDefine atomic_compare_and_exchange_val_acq,
drepper [Sat, 13 Jan 2007 01:50:40 +0000 (01:50 +0000)]
Define atomic_compare_and_exchange_val_acq,
atomic_compare_and_exchange_bool_acq, and atomic_exchange_and_add
using __sync_* built-ins for gcc >= 4.1.

13 years ago.
drepper [Fri, 12 Jan 2007 17:02:22 +0000 (17:02 +0000)]
.

13 years agoShow some more information in case of correct behavior.
drepper [Fri, 12 Jan 2007 17:01:40 +0000 (17:01 +0000)]
Show some more information in case of correct behavior.

13 years ago.
drepper [Fri, 12 Jan 2007 16:14:48 +0000 (16:14 +0000)]
.

13 years agoRestrict to testing .o.d, .os.d, and .oS.d files.
drepper [Fri, 12 Jan 2007 16:13:55 +0000 (16:13 +0000)]
Restrict to testing .o.d, .os.d, and .oS.d files.

13 years ago.
drepper [Fri, 12 Jan 2007 05:11:52 +0000 (05:11 +0000)]
.

13 years ago(lll_futex_timed_wait): Undo part of last change, don't negate return value.
drepper [Fri, 12 Jan 2007 05:11:42 +0000 (05:11 +0000)]
(lll_futex_timed_wait): Undo part of last change, don't negate return value.

13 years ago.
drepper [Thu, 11 Jan 2007 21:51:07 +0000 (21:51 +0000)]
.

13 years agoInclude errno.h. Change main()
drepper [Thu, 11 Jan 2007 21:51:00 +0000 (21:51 +0000)]
Include errno.h.  Change main()
to do_test().  Define TEST_FUNCTION. Include test-skeleton.c.
(do_test): Check errno and exit(0) if ENOSYS.

13 years agoAdd rules to build and run tst-strtod4.
drepper [Thu, 11 Jan 2007 17:37:12 +0000 (17:37 +0000)]
Add rules to build and run tst-strtod4.

13 years agoTest for multibyte thousand seperator handling in strtod.
drepper [Thu, 11 Jan 2007 17:36:58 +0000 (17:36 +0000)]
Test for multibyte thousand seperator handling in strtod.

13 years ago(____STRTOF_INTERNAL): Fix handling of multi-byte thousands separators.
drepper [Thu, 11 Jan 2007 17:35:29 +0000 (17:35 +0000)]
(____STRTOF_INTERNAL): Fix handling of multi-byte thousands separators.

13 years ago.
drepper [Thu, 11 Jan 2007 17:28:58 +0000 (17:28 +0000)]
.

13 years ago(tests): New variable.
drepper [Thu, 11 Jan 2007 17:27:16 +0000 (17:27 +0000)]
(tests): New variable.
(do_test): Run several tests rather than just one.

13 years ago(____STRTOF_INTERNAL): 0x. not followed by hexadecimal digit should accept
drepper [Thu, 11 Jan 2007 17:27:04 +0000 (17:27 +0000)]
(____STRTOF_INTERNAL): 0x. not followed by hexadecimal digit should accept
just the initial 0.

13 years ago.
drepper [Thu, 11 Jan 2007 05:05:17 +0000 (05:05 +0000)]
.

13 years agoCleanups.
drepper [Thu, 11 Jan 2007 04:58:18 +0000 (04:58 +0000)]
Cleanups.
Define FUTEX_CMP_REQUEUE and lll_futex_requeue.

13 years ago * sysdeps/i386/soft-fp/sfp-machine.h: Remove.
jakub [Wed, 10 Jan 2007 23:28:45 +0000 (23:28 +0000)]
* sysdeps/i386/soft-fp/sfp-machine.h: Remove.
* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.

13 years ago * shlib-versions: Fix sparc64 linux target specification.
jakub [Wed, 10 Jan 2007 23:24:02 +0000 (23:24 +0000)]
* shlib-versions: Fix sparc64 linux target specification.

13 years ago.
drepper [Wed, 10 Jan 2007 19:41:26 +0000 (19:41 +0000)]
.

13 years agoAdjust include path for pthread_barrier_wait.c move.
drepper [Wed, 10 Jan 2007 19:40:55 +0000 (19:40 +0000)]
Adjust include path for pthread_barrier_wait.c move.

13 years ago.
drepper [Wed, 10 Jan 2007 18:45:06 +0000 (18:45 +0000)]
.

13 years agoMake sure fts_cur is always valid after return from fts_read.
drepper [Wed, 10 Jan 2007 18:38:19 +0000 (18:38 +0000)]
Make sure fts_cur is always valid after return from fts_read.

13 years ago * elf/elf.h (R_MIPS_GLOB_DAT): Define.
jakub [Mon, 8 Jan 2007 13:09:52 +0000 (13:09 +0000)]
* elf/elf.h (R_MIPS_GLOB_DAT): Define.
(R_MIPS_NUM): Bump by 1.

13 years ago.
drepper [Wed, 3 Jan 2007 23:02:17 +0000 (23:02 +0000)]
.

13 years agoAdd rules to build and run tst-vfork3 test.
drepper [Wed, 3 Jan 2007 23:02:10 +0000 (23:02 +0000)]
Add rules to build and run tst-vfork3 test.

13 years agoTest for memory leaks when using vfork and execvp.
drepper [Wed, 3 Jan 2007 23:01:58 +0000 (23:01 +0000)]
Test for memory leaks when using vfork and execvp.

13 years agoInclude alloca.h.
drepper [Wed, 3 Jan 2007 23:01:15 +0000 (23:01 +0000)]
Include alloca.h.
(allocate_scripts_argv): Renamed to...
(scripts_argv): ... this.  Don't allocate buffer here nor count
arguments.
(execvp): Use alloca if possible.

13 years ago(tst-strxfrm2-ENV): Define.
drepper [Wed, 3 Jan 2007 22:43:22 +0000 (22:43 +0000)]
(tst-strxfrm2-ENV): Define.

13 years ago(tst-strtod3-ENV): Define.
drepper [Wed, 3 Jan 2007 22:42:33 +0000 (22:42 +0000)]
(tst-strtod3-ENV): Define.

13 years ago.
drepper [Wed, 3 Jan 2007 05:44:24 +0000 (05:44 +0000)]
.

13 years agoUpdate copyright year.
drepper [Wed, 3 Jan 2007 05:44:10 +0000 (05:44 +0000)]
Update copyright year.

13 years ago.
drepper [Sun, 24 Dec 2006 21:19:20 +0000 (21:19 +0000)]
.

13 years ago(sYSMALLOc): Remove some unnecessary alignment attempts.
drepper [Sun, 24 Dec 2006 21:19:11 +0000 (21:19 +0000)]
(sYSMALLOc): Remove some unnecessary alignment attempts.

13 years ago.
drepper [Sat, 23 Dec 2006 09:48:04 +0000 (09:48 +0000)]
.

13 years agoRemove some unnecessary tests.
drepper [Sat, 23 Dec 2006 09:47:56 +0000 (09:47 +0000)]
Remove some unnecessary tests.

13 years ago.
drepper [Fri, 22 Dec 2006 20:26:56 +0000 (20:26 +0000)]
.

13 years ago(internal_getgrgid_r): Don't blacklist the group till after we look it up.
drepper [Fri, 22 Dec 2006 20:26:11 +0000 (20:26 +0000)]
(internal_getgrgid_r): Don't blacklist the group till after we look it up.

13 years agoFix typo in comment.
drepper [Fri, 22 Dec 2006 00:35:21 +0000 (00:35 +0000)]
Fix typo in comment.

13 years ago.
drepper [Thu, 21 Dec 2006 21:50:33 +0000 (21:50 +0000)]
.

13 years ago(pthread_kill): Make sure tid isn't reread from pd->tid in between
drepper [Thu, 21 Dec 2006 21:50:07 +0000 (21:50 +0000)]
(pthread_kill): Make sure tid isn't reread from pd->tid in between
ESRCH test and the syscall.

13 years ago.
drepper [Thu, 21 Dec 2006 21:44:08 +0000 (21:44 +0000)]
.

13 years ago(atomic_forced_read): New macro.
drepper [Thu, 21 Dec 2006 21:44:00 +0000 (21:44 +0000)]
(atomic_forced_read): New macro.

13 years ago.
drepper [Thu, 21 Dec 2006 20:58:11 +0000 (20:58 +0000)]
.

13 years agoSysV shm definitions for Linux/SH.
drepper [Thu, 21 Dec 2006 20:58:04 +0000 (20:58 +0000)]
SysV shm definitions for Linux/SH.

13 years ago. fedora-glibc-20061219T1804
drepper [Tue, 19 Dec 2006 15:45:39 +0000 (15:45 +0000)]
.

13 years agoInclude atomic.h.
drepper [Tue, 19 Dec 2006 15:45:08 +0000 (15:45 +0000)]
Include atomic.h.
(INTERNAL (REENTRANT_NAME)): Write startp after start_fct,add
atomic_write_barrier () in between.

13 years ago.
drepper [Tue, 19 Dec 2006 15:34:16 +0000 (15:34 +0000)]
.

13 years ago(tests): Add tst-makecontext.
drepper [Tue, 19 Dec 2006 15:34:08 +0000 (15:34 +0000)]
(tests): Add tst-makecontext.

13 years agoTest for makecontext.
drepper [Tue, 19 Dec 2006 15:33:58 +0000 (15:33 +0000)]
Test for makecontext.

13 years ago(__makecontext): Don't realign uc_mcontext.uc_regs.
drepper [Tue, 19 Dec 2006 15:33:10 +0000 (15:33 +0000)]
(__makecontext): Don't realign uc_mcontext.uc_regs.

13 years ago.
drepper [Tue, 19 Dec 2006 15:30:39 +0000 (15:30 +0000)]
.

13 years agoMinor cleanups.
drepper [Tue, 19 Dec 2006 15:30:32 +0000 (15:30 +0000)]
Minor cleanups.

13 years agoInclude dl-procinfo.h.
drepper [Tue, 19 Dec 2006 15:23:02 +0000 (15:23 +0000)]
Include dl-procinfo.h.

13 years ago(PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, PPC_FEATURE_POWER6_EXT): Define.
drepper [Tue, 19 Dec 2006 15:22:48 +0000 (15:22 +0000)]
(PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP, PPC_FEATURE_POWER6_EXT): Define.
(PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.

13 years ago(_DL_HWCAP_FIRST): Decrease.
drepper [Tue, 19 Dec 2006 15:22:28 +0000 (15:22 +0000)]
(_DL_HWCAP_FIRST): Decrease.
(HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
(_DL_PLATFORMS_COUNT): Increase.
(_dl_string_platform): Handle power6x case.

(PPC_PLATFORM_POWER4, PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5,
PPC_PLATFORM_POWER5_PLUS, PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE,
PPC_PLATFORM_POWER6X): Define.
(_dl_string_platform): Use PPC_PLATFORM_* macros instead of
hardcoded constants.

13 years ago(_dl_powerpc_cap_flags): Add 3 new cap names to the beginning.
drepper [Tue, 19 Dec 2006 15:21:49 +0000 (15:21 +0000)]
(_dl_powerpc_cap_flags): Add 3 new cap names to the beginning.
(_dl_powerpc_platforms): Add "power6x".

(_dl_powerpc_platform): Use PPC_PLATFORM_* macros for array designators.

13 years ago.
drepper [Tue, 19 Dec 2006 08:18:18 +0000 (08:18 +0000)]
.

13 years ago(tests): Add tst-rand48-2.
drepper [Tue, 19 Dec 2006 08:18:11 +0000 (08:18 +0000)]
(tests): Add tst-rand48-2.

13 years agoTest for random number in range.
drepper [Tue, 19 Dec 2006 08:17:59 +0000 (08:17 +0000)]
Test for random number in range.

13 years ago(main): Fix expected values for 64-bit targets.
drepper [Tue, 19 Dec 2006 08:17:26 +0000 (08:17 +0000)]
(main): Fix expected values for 64-bit targets.