Patch-ID# 103243-07 Keywords: security ld ld.so.1 libld.so.2 liblddbg.so.3 libldstab.so.1 link.h Synopsis: SunOS 5.5_x86: linker patch Date: Sep/11/98 Solaris Release: 2.5_x86 SunOS Release: 5.5_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 103242 Topic: SunOS 5.5_x86: linker patch BugId's fixed with this patch: 1056449 1205913 1224970 1229498 1233113 1241843 1244333 1247793 4052067 4062757 4068108 4150646 Changes incorporated in this version: 4150646 Relevant Architectures: i386 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /etc/lib/ld.so.1 /etc/lib/libdl.so.1 /usr/bin/ldd /usr/bin/pvs /usr/bin/sotruss /usr/bin/whocalls /usr/ccs/bin/ar /usr/ccs/bin/gprof /usr/ccs/bin/gprof.callg.blurb /usr/ccs/bin/gprof.flat.blurb /usr/ccs/bin/ld /usr/ccs/bin/mcs /usr/ccs/bin/nm /usr/ccs/bin/ranlib /usr/ccs/bin/strip /usr/ccs/lib/libld.so.2 /usr/ccs/lib/liblddbg.so.3 /usr/ccs/lib/link_audit/ldprof.so.1 /usr/ccs/lib/link_audit/truss.so.1 /usr/ccs/lib/link_audit/who.so.1 /usr/include/dlfcn.h /usr/include/libelf.h /usr/include/link.h /usr/include/proc_service.h /usr/include/rtld_db.h /usr/include/sys/elf.h /usr/include/sys/elf_386.h /usr/include/sys/elf_notes.h /usr/include/sys/elf_SPARC.h /usr/include/sys/link.h /usr/include/sys/systeminfo.h /usr/lib/0@0.so.1 /usr/lib/ld.so.1 /usr/lib/lddstub /usr/lib/libdl.so /usr/lib/libdl.so.1 /usr/lib/libelf.a /usr/lib/libelf.so /usr/lib/libelf.so.1 /usr/lib/libldstab.so.1 /usr/lib/librtld.so.1 /usr/lib/librtld_db.so /usr/lib/librtld_db.so.1 /usr/xpg4/bin/ar NOTE: This patch deletes the following files: /usr/ccs/lib/ldprof.so.1 /usr/lib/libld.so.2 /usr/lib/liblddbg.so.3 Problem Description: 4150646 Security bug 1241843 resurfaces in 2.7 + 2.6 and 5.5.1 + patch (from 103243-06) 4068108 dlerror() messages printed to stderr durring link-auditing 4062757 link auditing breaks apps using libdl (from 103243-05) 4052067 ar can't have identical archive and file names (from 103243-04) 1244333 The SHF_EXCLUDE flag defined in ppc ABI should be implemented and for all ISA's (from 103243-03) 1247793 dlsym() can't find symbol 1056449 ld should handle an empty archive without aborting with an error 1241843 ld.so security problem (from 103243-02) Note: This patch revision fixes the build of the patch source base. There are two additional source file deliveries -- namely, usr/src/lib/libdl/common/dl.c and usr/src/lib/libthread/common/rtld.c. (from 103243-01) 1229498 linker has problems detecting out-of-range offsets 1233113 refine range checking and error checking for relocation processing 1224970 linker should use block zero instructions for zeroing bss on ppc 1205913 Incomplete implementation of sync_instruction_memory(); need linker change Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- None.