kopensolaris-gnu/glibc.git
15 years ago(dl_open_worker): Pass __RTLD_AUDIT flag from caller to _dl_map_object_deps.
drepper [Thu, 13 Jan 2005 02:05:11 +0000 (02:05 +0000)]
(dl_open_worker): Pass __RTLD_AUDIT flag from caller to _dl_map_object_deps.

15 years ago(dlopen_doit): Catch invalid mode arguments and fail.
drepper [Thu, 13 Jan 2005 02:03:26 +0000 (02:03 +0000)]
(dlopen_doit): Catch invalid mode arguments and fail.

15 years ago.
drepper [Wed, 12 Jan 2005 23:43:44 +0000 (23:43 +0000)]
.

15 years agoUpdate copyright year.
drepper [Wed, 12 Jan 2005 23:39:50 +0000 (23:39 +0000)]
Update copyright year.

15 years ago.
drepper [Wed, 12 Jan 2005 03:23:48 +0000 (03:23 +0000)]
.

15 years agoCall listen with SOMAXCONN as backlog.
drepper [Wed, 12 Jan 2005 03:22:48 +0000 (03:22 +0000)]
Call listen with SOMAXCONN as backlog.

15 years ago.
drepper [Wed, 12 Jan 2005 03:12:43 +0000 (03:12 +0000)]
.

15 years ago(putpwent): Don't write 0 as user or group ID if user name starts with
drepper [Wed, 12 Jan 2005 03:11:45 +0000 (03:11 +0000)]
(putpwent): Don't write 0 as user or group ID if user name starts with
+ or -.

15 years ago(putgrent): Don't write 0 as group ID if groupname starts with + or -.
drepper [Wed, 12 Jan 2005 03:11:17 +0000 (03:11 +0000)]
(putgrent): Don't write 0 as group ID if groupname starts with + or -.

15 years agoNot needed anymore.
drepper [Wed, 12 Jan 2005 02:59:05 +0000 (02:59 +0000)]
Not needed anymore.

15 years agoDSO export definitions for SH4.
drepper [Wed, 12 Jan 2005 02:58:13 +0000 (02:58 +0000)]
DSO export definitions for SH4.

15 years agoDynamic linking PLT trampoline code for SH4.
drepper [Wed, 12 Jan 2005 02:56:56 +0000 (02:56 +0000)]
Dynamic linking PLT trampoline code for SH4.

15 years agoDynamic linking PLT trampoline code for SH.
drepper [Wed, 12 Jan 2005 02:56:09 +0000 (02:56 +0000)]
Dynamic linking PLT trampoline code for SH.

15 years agoRemove trampoline code here. Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
drepper [Wed, 12 Jan 2005 02:54:54 +0000 (02:54 +0000)]
Remove trampoline code here.  Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
Remove obsolete comments.
(RTLD_START): Define __fpscr_values.

15 years agoDynamic linking definitions for SH.
drepper [Wed, 12 Jan 2005 02:54:10 +0000 (02:54 +0000)]
Dynamic linking definitions for SH.

15 years agoAdd sh support.
drepper [Wed, 12 Jan 2005 02:53:20 +0000 (02:53 +0000)]
Add sh support.

15 years ago(struct audit_ifaces): Add sh variants.
drepper [Wed, 12 Jan 2005 02:52:42 +0000 (02:52 +0000)]
(struct audit_ifaces): Add sh variants.

15 years ago(day_tests): Add 2 new tests.
drepper [Wed, 12 Jan 2005 02:44:58 +0000 (02:44 +0000)]
(day_tests): Add 2 new tests.
(test_tm, main): Issue an error instead of segfaulting if
strptime returns NULL.

15 years ago(__tls_get_addr): Updated for dtv_t union.
drepper [Wed, 12 Jan 2005 02:41:50 +0000 (02:41 +0000)]
(__tls_get_addr): Updated for dtv_t union.

15 years ago.
drepper [Wed, 12 Jan 2005 02:21:38 +0000 (02:21 +0000)]
.

15 years agoAlways include features.h.
drepper [Wed, 12 Jan 2005 01:56:21 +0000 (01:56 +0000)]
Always include features.h.

Remove no-glibc support.

15 years ago.
roland [Tue, 11 Jan 2005 00:45:19 +0000 (00:45 +0000)]
.

15 years ago2005-01-10 Roland McGrath <roland@redhat.com>
roland [Tue, 11 Jan 2005 00:45:09 +0000 (00:45 +0000)]
2005-01-10  Roland McGrath  <roland@redhat.com>

* sysdeps/ia64/fpu/e_logl.c: File removed.

15 years ago.
roland [Mon, 10 Jan 2005 22:11:56 +0000 (22:11 +0000)]
.

15 years ago2005-01-10 Roland McGrath <roland@redhat.com>
roland [Mon, 10 Jan 2005 22:11:39 +0000 (22:11 +0000)]
2005-01-10  Roland McGrath  <roland@redhat.com>

* dlfcn/dlfcn.c (init): Fix typo in attribute decl.

15 years agoUpdate.
drepper [Mon, 10 Jan 2005 11:10:54 +0000 (11:10 +0000)]
Update.

15 years ago(_dl_next_tls_modid): Fix assertion and recognition of last entry.
drepper [Mon, 10 Jan 2005 11:10:07 +0000 (11:10 +0000)]
(_dl_next_tls_modid): Fix assertion and recognition of last entry.

15 years ago(__strptime_internal): Fix last checkin.
drepper [Mon, 10 Jan 2005 10:11:54 +0000 (10:11 +0000)]
(__strptime_internal): Fix last checkin.

15 years agoUpdate.
drepper [Sun, 9 Jan 2005 20:23:44 +0000 (20:23 +0000)]
Update.

15 years agoInlcude <sys/param.h>.
drepper [Sun, 9 Jan 2005 20:22:48 +0000 (20:22 +0000)]
Inlcude <sys/param.h>.

15 years ago(dl_main): Create main_map with __RTLD_OPENEXEC.
drepper [Sun, 9 Jan 2005 20:21:33 +0000 (20:21 +0000)]
(dl_main): Create main_map with __RTLD_OPENEXEC.

15 years ago(headers): Add bits/link.h.
drepper [Sun, 9 Jan 2005 20:19:13 +0000 (20:19 +0000)]
(headers): Add bits/link.h.

15 years ago(dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
drepper [Sun, 9 Jan 2005 20:18:15 +0000 (20:18 +0000)]
(dl_main): Call _dl_add_to_slotinfo only if USE_TLS.

15 years agoUse vector_size for GCC 4.0.
drepper [Sun, 9 Jan 2005 20:16:38 +0000 (20:16 +0000)]
Use vector_size for GCC 4.0.

15 years ago(__strptime_internal): Add braces to avoid warning.
drepper [Sun, 9 Jan 2005 20:14:43 +0000 (20:14 +0000)]
(__strptime_internal): Add braces to avoid warning.

15 years ago.
drepper [Sun, 9 Jan 2005 20:13:03 +0000 (20:13 +0000)]
.

15 years ago(td_thr_tlsbase): Adjust for dtv change.
drepper [Sun, 9 Jan 2005 20:12:13 +0000 (20:12 +0000)]
(td_thr_tlsbase): Adjust for dtv change.

15 years ago.
drepper [Sun, 9 Jan 2005 20:03:31 +0000 (20:03 +0000)]
.

15 years ago(init_one_static_tls): Adjust initialization of DTV entry for static
drepper [Sun, 9 Jan 2005 20:02:37 +0000 (20:02 +0000)]
(init_one_static_tls): Adjust initialization of DTV entry for static
tls deallocation fix.

15 years ago(dtv_t): Change pointer type to be struct which also contains information
drepper [Sun, 9 Jan 2005 20:01:12 +0000 (20:01 +0000)]
(dtv_t): Change pointer type to be struct which also contains information
whether the memory pointed to is static TLS or not, include <stdbool.h>.

15 years ago(generated): Add tst-pie1{,.out,.o}.
drepper [Sun, 9 Jan 2005 19:49:16 +0000 (19:49 +0000)]
(generated): Add tst-pie1{,.out,.o}.

15 years agoUpdate.
drepper [Sun, 9 Jan 2005 10:42:33 +0000 (10:42 +0000)]
Update.

15 years ago(_dl_fini): Call destructors of audit DSOs after those of all the
drepper [Sun, 9 Jan 2005 10:41:51 +0000 (10:41 +0000)]
(_dl_fini): Call destructors of audit DSOs after those of all the
regular objects.

15 years agoUpdate.
drepper [Sun, 9 Jan 2005 08:29:25 +0000 (08:29 +0000)]
Update.

15 years ago(_dl_debug_initialize): Take extra parameter and use it to select the
drepper [Sun, 9 Jan 2005 08:28:22 +0000 (08:28 +0000)]
(_dl_debug_initialize): Take extra parameter and use it to select the
r_debug structure for that namespace.

15 years ago(_dl_close): Adjust call to _dl_debug_initialize. Make sure auditing
drepper [Sun, 9 Jan 2005 08:27:52 +0000 (08:27 +0000)]
(_dl_close): Adjust call to _dl_debug_initialize.  Make sure auditing
callbacks are not called for the auditing objects themselves.

15 years ago(_dl_map_object_from_fd): Adjust call to _dl_debug_initialize. Make sure
drepper [Sun, 9 Jan 2005 08:27:29 +0000 (08:27 +0000)]
(_dl_map_object_from_fd): Adjust call to _dl_debug_initialize.  Make sure
auditing callbacks are not called for the auditing objects themselves.

15 years ago(_dl_open): Adjust call to _dl_debug_initialize.
drepper [Sun, 9 Jan 2005 08:26:42 +0000 (08:26 +0000)]
(_dl_open): Adjust call to _dl_debug_initialize.

15 years ago(dl_main): Adjust call to _dl_debug_initialize.
drepper [Sun, 9 Jan 2005 08:26:07 +0000 (08:26 +0000)]
(dl_main): Adjust call to _dl_debug_initialize.

15 years ago(struct link_namespaces): Add _ns_debug member.
drepper [Sun, 9 Jan 2005 08:25:22 +0000 (08:25 +0000)]
(struct link_namespaces): Add _ns_debug member.
(_dl_debug_initialize): Add new parameter in declaration.

15 years agoUpdate.
drepper [Sat, 8 Jan 2005 07:10:00 +0000 (07:10 +0000)]
Update.

15 years ago(_dl_profile_resolve): Extend _dl_prof_resolve to add pass extra
drepper [Sat, 8 Jan 2005 07:08:59 +0000 (07:08 +0000)]
(_dl_profile_resolve): Extend _dl_prof_resolve to add pass extra
parameters to _dl_profile_fixup and set up structure with register content.

15 years ago(struct la_ppc64_regs): Add padding.
drepper [Sat, 8 Jan 2005 07:08:24 +0000 (07:08 +0000)]
(struct la_ppc64_regs): Add padding.

15 years ago(elf_machine_runtime_setup): If profile != 0 does not anymore mean
drepper [Sat, 8 Jan 2005 07:07:01 +0000 (07:07 +0000)]
(elf_machine_runtime_setup): If profile != 0 does not anymore mean
GLRO(dl_profile) != NULL.

15 years agoUpdate.
drepper [Sat, 8 Jan 2005 05:47:47 +0000 (05:47 +0000)]
Update.

15 years agoFix types of some fields in the 32-bit register and result structures.
drepper [Sat, 8 Jan 2005 05:46:30 +0000 (05:46 +0000)]
Fix types of some fields in the 32-bit register and result structures.

15 years agoFix types of some fields in the register and result structures.
drepper [Sat, 8 Jan 2005 05:45:39 +0000 (05:45 +0000)]
Fix types of some fields in the register and result structures.

15 years ago(__elf_machine_runtime_setup): If profile != 0 does not anymore mean
drepper [Sat, 8 Jan 2005 05:44:35 +0000 (05:44 +0000)]
(__elf_machine_runtime_setup): If profile != 0 does not anymore mean
GLRO(dl_profile) != NULL.

15 years agoUpdate.
drepper [Sat, 8 Jan 2005 05:41:58 +0000 (05:41 +0000)]
Update.

15 years ago(_dl_prof_resolve): Extend _dl_prof_resolve to add pass extra
drepper [Sat, 8 Jan 2005 05:41:02 +0000 (05:41 +0000)]
(_dl_prof_resolve): Extend _dl_prof_resolve to add pass extra
parameters to _dl_profile_fixup and set up structure with register
content.

15 years agoUse register names.
drepper [Fri, 7 Jan 2005 23:19:09 +0000 (23:19 +0000)]
Use register names.

15 years agoUpdate.
drepper [Fri, 7 Jan 2005 23:14:21 +0000 (23:14 +0000)]
Update.

15 years agoUse register names.
drepper [Fri, 7 Jan 2005 23:13:14 +0000 (23:13 +0000)]
Use register names.

15 years agoAdd ppc32 support.
drepper [Fri, 7 Jan 2005 23:12:36 +0000 (23:12 +0000)]
Add ppc32 support.

15 years ago(struct audit_ifaces): Add ppc32 variants.
drepper [Fri, 7 Jan 2005 23:12:08 +0000 (23:12 +0000)]
(struct audit_ifaces): Add ppc32 variants.

15 years agoRemove trampoline code here. Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
drepper [Fri, 7 Jan 2005 23:11:29 +0000 (23:11 +0000)]
Remove trampoline code here. Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.

15 years agoAdd ppc32 defintions.
drepper [Fri, 7 Jan 2005 23:11:00 +0000 (23:11 +0000)]
Add ppc32 defintions.

15 years agoDynamic linker interface definitions for ppc32.
drepper [Fri, 7 Jan 2005 23:10:11 +0000 (23:10 +0000)]
Dynamic linker interface definitions for ppc32.

15 years agoPLT trampolines for ppc32.
drepper [Fri, 7 Jan 2005 23:09:23 +0000 (23:09 +0000)]
PLT trampolines for ppc32.

15 years agoUpdate.
drepper [Fri, 7 Jan 2005 21:49:38 +0000 (21:49 +0000)]
Update.

15 years ago(malloc_printerr): Print program name as part of error message.
drepper [Fri, 7 Jan 2005 21:47:56 +0000 (21:47 +0000)]
(malloc_printerr): Print program name as part of error message.

15 years agoUpdate.
drepper [Fri, 7 Jan 2005 19:42:24 +0000 (19:42 +0000)]
Update.

15 years agoAdd __wur and __attribute_warn_unused_result__ markers as in <stdlib.h>.
drepper [Fri, 7 Jan 2005 19:41:24 +0000 (19:41 +0000)]
Add __wur and __attribute_warn_unused_result__ markers as in <stdlib.h>.

15 years agoMake realloc with __attribute_warn_unused_result__ instead of __wur.
drepper [Fri, 7 Jan 2005 19:40:33 +0000 (19:40 +0000)]
Make realloc with __attribute_warn_unused_result__ instead of __wur.

15 years ago(__attribute_warn_unused_result__): Define.
drepper [Fri, 7 Jan 2005 19:39:28 +0000 (19:39 +0000)]
(__attribute_warn_unused_result__): Define.

15 years agoUpdate.
drepper [Fri, 7 Jan 2005 19:30:51 +0000 (19:30 +0000)]
Update.

15 years agoRemove __wur from rename and remove.
drepper [Fri, 7 Jan 2005 19:30:00 +0000 (19:30 +0000)]
Remove __wur from rename and remove.

15 years agoRemove __wur from dup2.
drepper [Fri, 7 Jan 2005 19:29:07 +0000 (19:29 +0000)]
Remove __wur from dup2.

15 years agoUpdate.
drepper [Fri, 7 Jan 2005 19:25:24 +0000 (19:25 +0000)]
Update.

15 years ago(__libc_init_first): Don't make __libc_init_first hidden.
drepper [Fri, 7 Jan 2005 19:21:52 +0000 (19:21 +0000)]
(__libc_init_first): Don't make __libc_init_first hidden.

15 years ago.
aj [Fri, 7 Jan 2005 14:01:39 +0000 (14:01 +0000)]
.

15 years ago (tests): Revert patch from 2005-01-03.
aj [Fri, 7 Jan 2005 14:00:18 +0000 (14:00 +0000)]
 (tests): Revert patch from 2005-01-03.

15 years ago.
drepper [Fri, 7 Jan 2005 11:43:53 +0000 (11:43 +0000)]
.

15 years agoUpdate.
drepper [Fri, 7 Jan 2005 11:36:07 +0000 (11:36 +0000)]
Update.

15 years agoDynamic linking interface definitions for ppc64.
drepper [Fri, 7 Jan 2005 11:35:13 +0000 (11:35 +0000)]
Dynamic linking interface definitions for ppc64.

15 years agoAdd ppc64 support.
drepper [Fri, 7 Jan 2005 11:33:19 +0000 (11:33 +0000)]
Add ppc64 support.

15 years ago(struct audif_ifaces): Add ppc64 variants.
drepper [Fri, 7 Jan 2005 11:32:02 +0000 (11:32 +0000)]
(struct audif_ifaces): Add ppc64 variants.

15 years agoRemove trampoline code here.
drepper [Fri, 7 Jan 2005 11:31:27 +0000 (11:31 +0000)]
Remove trampoline code here.
Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.

15 years agoPLT trampoline code for ppc64.
drepper [Fri, 7 Jan 2005 11:29:19 +0000 (11:29 +0000)]
PLT trampoline code for ppc64.

15 years ago[!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize l_relocated of
drepper [Fri, 7 Jan 2005 11:24:37 +0000 (11:24 +0000)]
[!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize l_relocated of
rtld map.

15 years ago(__futimes): Use __set_errno.
drepper [Fri, 7 Jan 2005 04:56:33 +0000 (04:56 +0000)]
(__futimes): Use __set_errno.

15 years ago.
roland [Fri, 7 Jan 2005 02:43:03 +0000 (02:43 +0000)]
.

15 years ago2005-01-06 Roland McGrath <roland@redhat.com>
roland [Fri, 7 Jan 2005 02:42:54 +0000 (02:42 +0000)]
2005-01-06  Roland McGrath  <roland@redhat.com>

[BZ #633]
* sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
indicating file-name lookup errors, and return ENOSYS or EBADF instead.

15 years ago.
drepper [Thu, 6 Jan 2005 22:49:15 +0000 (22:49 +0000)]
.

15 years agoUpdate.
drepper [Thu, 6 Jan 2005 22:42:11 +0000 (22:42 +0000)]
Update.

15 years ago * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
drepper [Thu, 6 Jan 2005 22:40:14 +0000 (22:40 +0000)]
* csu/elf-init.c (__libc_csu_fini): Don't do anything here.
* sysdeps/generic/libc-start.c: Don't register program destructor here.

* dlfcn/Makefile: Add rules to build dlfcn.c.
(LDFLAGS-dl.so): Removed.
* dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
table.
* dlfcn/dlmopen.c: Likewise for _dl_open.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* elf/dl-libc.c: Likewise for _dl_open and _dl_close.
* elf/Makefile (routines): Remove dl-open and dl-close.
(dl-routines): Add dl-open, dl-close, and dl-trampoline.
Add rules to build and run tst-audit1.
* elf/tst-audit1.c: New file.
* elf/tst-auditmod1.c: New file.
* elf/Versions [libc]: Remove _dl_open and _dl_close.
* elf/dl-close.c: Change for use inside ld.so instead of libc.so.
* elf/dl-open.c: Likewise.
* elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
signaled by nonzero parameter.
* elf/dl-init.c: Fix use of r_state.
* elf/dl-load.c: Likewise.

* elf/dl-close.c: Add auditing checkpoints.
* elf/dl-open.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* elf/dl-object.c: Allocate memory for auditing information.
* elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
Correctly initialize slotinfo.
* elf/dynamic-link.h: Adjust after removal of RESOLV.
* sysdeps/hppa/dl-lookupcfg.h: Likewise.
* sysdeps/ia64/dl-lookupcfg.h: Likewise.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
* elf/dl-runtime.c (_dl_fixup): Little cleanup.
(_dl_profile_fixup): New parameters to point to register struct and
variable for frame size.
Add auditing checkpoints.
(_dl_call_pltexit): New function.
Don't define trampoline code here.
* elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
Remove all the functions from _rtld_global_ro which only _dl_open
and _dl_close needed.
Add auditing checkpoints.
* elf/link.h: Define symbols for auditing interfaces.
* include/link.h: Likewise.
* include/dlfcn.h: Define __RTLD_AUDIT.
Remove prototypes for _dl_open and _dl_close.
Adjust access to argc and argv in libdl.
* dlfcn/dlfcn.c: New file.
* sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
is gone.
* sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
* sysdeps/generic/unsecvars.h: Add LD_AUDIT.
* sysdeps/i386/dl-machine.h: Remove trampoline code here.
Adjust for removal of RESOLVE.
* sysdeps/x86_64/dl-machine.h: Likewise.
* sysdeps/generic/dl-trampoline.c: New file.
* sysdeps/i386/dl-trampoline.c: New file.
* sysdeps/x86_64/dl-trampoline.c: New file.

* sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
Fix updating of DTV.
* sysdeps/generic/libc-tls.c: Likewise.

* sysdeps/arm/bits/link.h: Renamed to ...
* sysdeps/arm/buts/linkmap.h: ...this.
* sysdeps/generic/bits/link.h: Renamed to...
* sysdeps/generic/bits/linkmap.h: ...this.
* sysdeps/hppa/bits/link.h: Renamed to...
* sysdeps/hppa/bits/linkmap.h: ...this.
* sysdeps/hppa/i386/link.h: Renamed to...
* sysdeps/hppa/i386/linkmap.h: ...this.
* sysdeps/hppa/ia64/link.h: Renamed to...
* sysdeps/hppa/ia64/linkmap.h: ...this.
* sysdeps/hppa/s390/link.h: Renamed to...
* sysdeps/hppa/s390/linkmap.h: ...this.
* sysdeps/hppa/sh/link.h: Renamed to...
* sysdeps/hppa/sh/linkmap.h: ...this.
* sysdeps/hppa/x86_64/link.h: Renamed to...
* sysdeps/hppa/x86_64/linkmap.h: ...this.

15 years agoUpdate.
drepper [Thu, 6 Jan 2005 22:06:45 +0000 (22:06 +0000)]
Update.

15 years agoDeclare ftruncate for POSIX 2003.
drepper [Thu, 6 Jan 2005 22:05:15 +0000 (22:05 +0000)]
Declare ftruncate for POSIX 2003.

15 years agoUpdate. fedora-glibc-20050106T2203
drepper [Thu, 6 Jan 2005 21:52:35 +0000 (21:52 +0000)]
Update.

15 years agoUse EALIGN for Quadword alignment. Fix -0.0 case.
drepper [Thu, 6 Jan 2005 21:51:49 +0000 (21:51 +0000)]
Use EALIGN for Quadword alignment.  Fix -0.0 case.