mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
9dcafc5597
* 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. 2005-01-06 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (init_one_static_tls): Adjust initialization of DTV entry for static tls deallocation fix. * sysdeps/alpha/tls.h (dtv_t): Change pointer type to be struct which also contains information whether the memory pointed to is static TLS or not. * sysdeps/i386/tls.h: Likewise. * sysdeps/ia64/tls.h: Likewise. * sysdeps/powerpc/tls.h: Likewise. * sysdeps/s390/tls.h: Likewise. * sysdeps/sh/tls.h: Likewise. * sysdeps/sparc/tls.h: Likewise. * sysdeps/x86_64/tls.h: Likewise. |
||
---|---|---|
.. | ||
sysdeps | ||
alloca_cutoff.c | ||
allocatestack.c | ||
ANNOUNCE | ||
Banner | ||
cancellation.c | ||
ChangeLog | ||
cleanup_compat.c | ||
cleanup_defer_compat.c | ||
cleanup_defer.c | ||
cleanup_routine.c | ||
cleanup.c | ||
cond-perf.c | ||
configure | ||
descr.h | ||
DESIGN-barrier.txt | ||
DESIGN-condvar.txt | ||
DESIGN-rwlock.txt | ||
DESIGN-sem.txt | ||
eintr.c | ||
events.c | ||
forward.c | ||
herrno.c | ||
init.c | ||
libc-cancellation.c | ||
Makeconfig | ||
Makefile | ||
old_pthread_atfork.c | ||
old_pthread_cond_broadcast.c | ||
old_pthread_cond_destroy.c | ||
old_pthread_cond_init.c | ||
old_pthread_cond_signal.c | ||
old_pthread_cond_timedwait.c | ||
old_pthread_cond_wait.c | ||
perf.c | ||
pt-allocrtsig.c | ||
pt-cleanup.c | ||
pt-system.c | ||
pthread_atfork.c | ||
pthread_attr_destroy.c | ||
pthread_attr_getdetachstate.c | ||
pthread_attr_getguardsize.c | ||
pthread_attr_getinheritsched.c | ||
pthread_attr_getschedparam.c | ||
pthread_attr_getschedpolicy.c | ||
pthread_attr_getscope.c | ||
pthread_attr_getstack.c | ||
pthread_attr_getstackaddr.c | ||
pthread_attr_getstacksize.c | ||
pthread_attr_init.c | ||
pthread_attr_setdetachstate.c | ||
pthread_attr_setguardsize.c | ||
pthread_attr_setinheritsched.c | ||
pthread_attr_setschedparam.c | ||
pthread_attr_setschedpolicy.c | ||
pthread_attr_setscope.c | ||
pthread_attr_setstack.c | ||
pthread_attr_setstackaddr.c | ||
pthread_attr_setstacksize.c | ||
pthread_barrier_destroy.c | ||
pthread_barrier_init.c | ||
pthread_barrierattr_destroy.c | ||
pthread_barrierattr_getpshared.c | ||
pthread_barrierattr_init.c | ||
pthread_barrierattr_setpshared.c | ||
pthread_cancel.c | ||
pthread_clock_gettime.c | ||
pthread_clock_settime.c | ||
pthread_cond_destroy.c | ||
pthread_cond_init.c | ||
pthread_condattr_destroy.c | ||
pthread_condattr_getclock.c | ||
pthread_condattr_getpshared.c | ||
pthread_condattr_init.c | ||
pthread_condattr_setclock.c | ||
pthread_condattr_setpshared.c | ||
pthread_create.c | ||
pthread_detach.c | ||
pthread_equal.c | ||
pthread_exit.c | ||
pthread_getattr_np.c | ||
pthread_getconcurrency.c | ||
pthread_getschedparam.c | ||
pthread_getspecific.c | ||
pthread_join.c | ||
pthread_key_create.c | ||
pthread_key_delete.c | ||
pthread_kill_other_threads.c | ||
pthread_mutex_destroy.c | ||
pthread_mutex_init.c | ||
pthread_mutex_lock.c | ||
pthread_mutex_timedlock.c | ||
pthread_mutex_trylock.c | ||
pthread_mutex_unlock.c | ||
pthread_mutexattr_destroy.c | ||
pthread_mutexattr_getpshared.c | ||
pthread_mutexattr_gettype.c | ||
pthread_mutexattr_init.c | ||
pthread_mutexattr_setpshared.c | ||
pthread_mutexattr_settype.c | ||
pthread_rwlock_destroy.c | ||
pthread_rwlock_init.c | ||
pthread_rwlock_tryrdlock.c | ||
pthread_rwlock_trywrlock.c | ||
pthread_rwlockattr_destroy.c | ||
pthread_rwlockattr_getkind_np.c | ||
pthread_rwlockattr_getpshared.c | ||
pthread_rwlockattr_init.c | ||
pthread_rwlockattr_setkind_np.c | ||
pthread_rwlockattr_setpshared.c | ||
pthread_self.c | ||
pthread_setcancelstate.c | ||
pthread_setcanceltype.c | ||
pthread_setconcurrency.c | ||
pthread_setegid.c | ||
pthread_seteuid.c | ||
pthread_setgid.c | ||
pthread_setregid.c | ||
pthread_setresgid.c | ||
pthread_setresuid.c | ||
pthread_setreuid.c | ||
pthread_setschedparam.c | ||
pthread_setschedprio.c | ||
pthread_setspecific.c | ||
pthread_setuid.c | ||
pthread_testcancel.c | ||
pthread_timedjoin.c | ||
pthread_tryjoin.c | ||
pthread-errnos.sym | ||
pthreadP.h | ||
res.c | ||
sem_close.c | ||
sem_destroy.c | ||
sem_getvalue.c | ||
sem_init.c | ||
sem_open.c | ||
sem_unlink.c | ||
semaphore.h | ||
semaphoreP.h | ||
shlib-versions | ||
sockperf.c | ||
TODO | ||
TODO-kernel | ||
TODO-testing | ||
tst-_res1.c | ||
tst-_res1mod1.c | ||
tst-_res1mod2.c | ||
tst-align2.c | ||
tst-align.c | ||
tst-atfork1.c | ||
tst-atfork2.c | ||
tst-atfork2mod.c | ||
tst-attr1.c | ||
tst-attr2.c | ||
tst-attr3.c | ||
tst-backtrace1.c | ||
tst-barrier1.c | ||
tst-barrier2.c | ||
tst-barrier3.c | ||
tst-barrier4.c | ||
tst-basic1.c | ||
tst-basic2.c | ||
tst-basic3.c | ||
tst-basic4.c | ||
tst-basic5.c | ||
tst-basic6.c | ||
tst-cancel1.c | ||
tst-cancel2.c | ||
tst-cancel3.c | ||
tst-cancel4.c | ||
tst-cancel5.c | ||
tst-cancel6.c | ||
tst-cancel7.c | ||
tst-cancel8.c | ||
tst-cancel9.c | ||
tst-cancel10.c | ||
tst-cancel11.c | ||
tst-cancel12.c | ||
tst-cancel13.c | ||
tst-cancel14.c | ||
tst-cancel15.c | ||
tst-cancel16.c | ||
tst-cancel17.c | ||
tst-cancel18.c | ||
tst-cancel19.c | ||
tst-cancel20.c | ||
tst-cancel21.c | ||
tst-cancel22.c | ||
tst-cancel23.c | ||
tst-cancel-wrappers.sh | ||
tst-cancelx1.c | ||
tst-cancelx2.c | ||
tst-cancelx3.c | ||
tst-cancelx4.c | ||
tst-cancelx5.c | ||
tst-cancelx6.c | ||
tst-cancelx7.c | ||
tst-cancelx8.c | ||
tst-cancelx9.c | ||
tst-cancelx10.c | ||
tst-cancelx11.c | ||
tst-cancelx12.c | ||
tst-cancelx13.c | ||
tst-cancelx14.c | ||
tst-cancelx15.c | ||
tst-cancelx16.c | ||
tst-cancelx17.c | ||
tst-cancelx18.c | ||
tst-cancelx20.c | ||
tst-cancelx21.c | ||
tst-cleanup0.c | ||
tst-cleanup0.expect | ||
tst-cleanup1.c | ||
tst-cleanup2.c | ||
tst-cleanup3.c | ||
tst-cleanup4.c | ||
tst-cleanup4aux.c | ||
tst-cleanupx0.c | ||
tst-cleanupx0.expect | ||
tst-cleanupx1.c | ||
tst-cleanupx2.c | ||
tst-cleanupx3.c | ||
tst-cleanupx4.c | ||
tst-clock1.c | ||
tst-clock2.c | ||
tst-cond1.c | ||
tst-cond2.c | ||
tst-cond3.c | ||
tst-cond4.c | ||
tst-cond5.c | ||
tst-cond6.c | ||
tst-cond7.c | ||
tst-cond8.c | ||
tst-cond9.c | ||
tst-cond10.c | ||
tst-cond11.c | ||
tst-cond12.c | ||
tst-cond13.c | ||
tst-cond14.c | ||
tst-cond15.c | ||
tst-cond16.c | ||
tst-cond17.c | ||
tst-cond18.c | ||
tst-cond19.c | ||
tst-cond20.c | ||
tst-cond21.c | ||
tst-context1.c | ||
tst-detach1.c | ||
tst-dlsym1.c | ||
tst-eintr1.c | ||
tst-eintr2.c | ||
tst-eintr3.c | ||
tst-eintr4.c | ||
tst-eintr5.c | ||
tst-exec1.c | ||
tst-exec2.c | ||
tst-exec3.c | ||
tst-exec4.c | ||
tst-execstack-mod.c | ||
tst-execstack.c | ||
tst-exit1.c | ||
tst-exit2.c | ||
tst-exit3.c | ||
tst-fini1.c | ||
tst-fini1mod.c | ||
tst-flock1.c | ||
tst-flock2.c | ||
tst-fork1.c | ||
tst-fork2.c | ||
tst-fork3.c | ||
tst-fork4.c | ||
tst-getpid1.c | ||
tst-getpid2.c | ||
tst-join1.c | ||
tst-join2.c | ||
tst-join3.c | ||
tst-join4.c | ||
tst-join5.c | ||
tst-key1.c | ||
tst-key2.c | ||
tst-key3.c | ||
tst-key4.c | ||
tst-kill1.c | ||
tst-kill2.c | ||
tst-kill3.c | ||
tst-kill4.c | ||
tst-kill5.c | ||
tst-kill6.c | ||
tst-locale1.c | ||
tst-locale2.c | ||
tst-mutex1.c | ||
tst-mutex2.c | ||
tst-mutex3.c | ||
tst-mutex4.c | ||
tst-mutex5.c | ||
tst-mutex5a.c | ||
tst-mutex6.c | ||
tst-mutex7.c | ||
tst-mutex7a.c | ||
tst-mutex8.c | ||
tst-mutex9.c | ||
tst-oddstacklimit.c | ||
tst-once1.c | ||
tst-once2.c | ||
tst-once3.c | ||
tst-once4.c | ||
tst-oncex3.c | ||
tst-oncex4.c | ||
tst-popen1.c | ||
tst-raise1.c | ||
tst-rwlock1.c | ||
tst-rwlock2.c | ||
tst-rwlock3.c | ||
tst-rwlock4.c | ||
tst-rwlock5.c | ||
tst-rwlock6.c | ||
tst-rwlock7.c | ||
tst-rwlock8.c | ||
tst-rwlock9.c | ||
tst-rwlock10.c | ||
tst-rwlock11.c | ||
tst-rwlock12.c | ||
tst-rwlock13.c | ||
tst-rwlock14.c | ||
tst-sched1.c | ||
tst-sem1.c | ||
tst-sem2.c | ||
tst-sem3.c | ||
tst-sem4.c | ||
tst-sem5.c | ||
tst-sem6.c | ||
tst-sem7.c | ||
tst-sem8.c | ||
tst-sem9.c | ||
tst-setuid1-static.c | ||
tst-setuid1.c | ||
tst-signal1.c | ||
tst-signal2.c | ||
tst-signal3.c | ||
tst-signal4.c | ||
tst-signal5.c | ||
tst-signal6.c | ||
tst-spin1.c | ||
tst-spin2.c | ||
tst-spin3.c | ||
tst-stack1.c | ||
tst-stack2.c | ||
tst-stack3.c | ||
tst-stdio1.c | ||
tst-stdio2.c | ||
tst-sysconf.c | ||
tst-tls1.c | ||
tst-tls2.c | ||
tst-tls3.c | ||
tst-tls3mod.c | ||
tst-tls4.c | ||
tst-tls4moda.c | ||
tst-tls4modb.c | ||
tst-tls5.c | ||
tst-tls5.h | ||
tst-tls5mod.c | ||
tst-tls5moda.c | ||
tst-tls5modb.c | ||
tst-tls5modc.c | ||
tst-tls5modd.c | ||
tst-tls5mode.c | ||
tst-tls5modf.c | ||
tst-tls6.sh | ||
tst-tsd1.c | ||
tst-tsd2.c | ||
tst-tsd3.c | ||
tst-tsd4.c | ||
tst-tsd5.c | ||
tst-umask1.c | ||
tst-unload.c | ||
tst-vfork1.c | ||
tst-vfork1x.c | ||
tst-vfork2.c | ||
tst-vfork2x.c | ||
unwind.c | ||
vars.c | ||
version.c | ||
Versions |