Looking for glibc 2.3.3 changes

john h johnh.nm@gmail.com
Tue May 5 13:46:00 GMT 2009


We have a glibc port to a processor that was done by someone else and
we have the ChangeLog that is shown below.  We don’t have the baseline
of glibc before they made the changes and need it so that we can move
it forward easier.

I have tracked back to 2.3.3-70 with all but the last 2 changes in the
log below. Is there anyway to find out where these 2 changes are and
be able to get them (like to cherry pick it in Git from somewhere)?

I searched the commit log on glibc.git and can’t find them (the last 2
changes in the log) myself but was hoping I’m just missing something
easy.

Thanks for any help,
John

2004-11-10  Jakub Jelinek  <jakub@redhat.com>

          * sysdeps/unix/sysv/linux/setreuid.c: Remove sys/syscall.h,
          sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h
          includes.  Include setxid.h.  Use INLINE_SETXID_SYSCALL macro
          instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded
          snippets.
         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
         * sysdeps/unix/sysv/linux/setuid.c: Likewise.
         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
         * sysdeps/unix/sysv/linux/setgid.c: Likewise.
         * sysdeps/unix/sysv/linux/setresuid.c: Likewise.
         * sysdeps/unix/sysv/linux/setresgid.c: Likewise.
         * sysdeps/unix/sysv/linux/setregid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
         * sysdeps/unix/sysv/linux/alpha/setreuid.c: Likewise.
          Formatting.  Change signed int into int.
         * sysdeps/unix/sysv/linux/alpha/setresuid.c: Likewise.
         * sysdeps/unix/sysv/linux/alpha/setresgid.c: Likewise.
         * sysdeps/unix/sysv/linux/alpha/setregid.c: Likewise.
         * sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
           Remove.
          * sysdeps/unix/setxid.h: New file.

          * Rules (binaries-static): Add xtests-static.
          * Makeconfig (run-program-prefix): Filter also xtests-static.

2004-11-10  Jakub Jelinek  <jakub@redhat.com>

            * sysdeps/pthread/setxid.h: New file.
            * sysdeps/pthread/pthread-functions.h
(HAVE_PTR__NPTL_SETXID): Remove.
            (struct xid_command): Add forward decl.
            (struct pthread_functions): Change return type of __nptl_setxid hook
            to int.
            * pthreadP.h (__nptl_setxid): Change return type to int.
            * allocatestack.c (__nptl_setxid): Call INTERNAL_SYSCALL_NCS in the
            calling thread, return its return value and set errno on failure.
            * descr.h (struct xid_command): Change id type to long array.

            * Makefile: Add rules to build and test tst-setuid1 and
            tst-setuid1-static.
            * tst-setuid1.c: New test.
            * tst-setuid1-static.c: New test.

2004-10-19  Jakub Jelinek  <jakub@redhat.com>

            * include/features.h (__USE_FORTIFY_LEVEL): Enable even with
            Red Hat gcc4 4.0.0 and above.

2004-10-18  Jakub Jelinek  <jakub@redhat.com>

            * elf/dl-libc.c (__libc_dlsym_private,
__libc_register_dl_open_hook):
            New functions.
            (__libc_dlopen_mode): Call __libc_register_dl_open_hook and
            __libc_register_dlfcn_hook.
            * dlfcn/Makefile (routines, elide-routines.os): Set.
            Add rules to build and test tststatic2.
            * dlfcn/tststatic2.c: New test.
            * dlfcn/modstatic2.c: New test module.
            * dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL.
            Define __ prefixed routine in libc.a and in libdl.a just call it.
            * dlfcn/dladdr1.c: Likewise.
            * dlfcn/dlclose.c: Likewise.
            * dlfcn/dlerror.c: Likewise.
            * dlfcn/dlinfo.c: Likewise.
            * dlfcn/dlmopen.c: Likewise.
            * dlfcn/dlopen.c: Likewise.
            * dlfcn/dlopenold.c: Likewise.
            * dlfcn/dlsym.c: Likewise.
            * dlfcn/dlvsym.c: Likewise.
            * dlfcn/sdladdr.c: New file.
            * dlfcn/sdladdr1.c: New file.
            * dlfcn/sdlclose.c: New file.
            * dlfcn/sdlerror.c: New file.
            * dlfcn/sdlinfo.c: New file.
            * dlfcn/sdlopen.c: New file.
            * dlfcn/sdlsym.c: New file.
            * dlfcn/sdlvsym.c: New file.
            * dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
            * include/dlfcn.h (DL_CALLER_DECL, DL_CALLER
RETURN_ADDRESS): Define.
            (struct dlfcn_hook): New type.
            (_dlfcn_hook): New extern decl.
            (__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
            __dlinfo, __dlmopen, __libc_dlsym_private,
            __libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
            prototypes.
            (__dlvsym): Use DL_CALLER_DECL.
            * include/libc-symbols.h: Define libdl_hidden_proto and friends.

            * malloc/arena.c (_dl_open_hook): Extern decl.
            (ptmalloc_init): Don't call _dl_addr when dlopened from statically
            linked programs but don't use brk for them either.

2004-10-18  Roland McGrath  <roland@redhat.com>

            * dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.

2004-10-18  Ulrich Drepper  <drepper@redhat.com>

            * elf/dl-open.c (dl_open_worker): Avoid dereferencing map in
            statically linked code if there might none be found.



More information about the Libc-help mailing list