This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[glibc] Deleted branch hjl/cet/mark-legacy-code/master


The branch 'hjl/cet/mark-legacy-code/master' was deleted.
It previously pointed to:

 f034973... x86/CET: Use ARCH_CET_MARK_LEGACY_CODE

Diff:

!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------

  f034973... x86/CET: Use ARCH_CET_MARK_LEGACY_CODE
  8b7bd3b... Call _dl_open_check after relocation is finished [BZ #24259

commit f03497395204e29d93a4aeeeca874c0dc137464a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jun 25 09:50:52 2019 -0700

    x86/CET: Use ARCH_CET_MARK_LEGACY_CODE
    
    Use ARCH_CET_MARK_LEGACY_CODE to mark legacy code region.
    
    	* sysdeps/unix/sysv/linux/x86/dl-cet.h
    	(dl_cet_allocate_legacy_bitmap): Removed.
    	(dl_cet_mark_legacy_code): New.
    	* sysdeps/unix/sysv/linux/x86/include/asm/prctl.h
    	(ARCH_CET_LEGACY_BITMAP): Removed.
    	(ARCH_CET_MARK_LEGACY_CODE): New.
    	* sysdeps/x86/dl-cet.c (dl_cet_mark_legacy_region): Call
    	dl_cet_mark_legacy_code.
    	(dl_cet_check): Remove GL(dl_x86_legacy_bitmap) access.
    	* sysdeps/x86/dl-procruntime.c (_dl_x86_legacy_bitmap): Removed.

commit 8b7bd3bf291f99ce2325dd6bd3423a0626746091
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Feb 23 10:43:17 2019 -0800

    Call _dl_open_check after relocation is finished [BZ #24259]
    
    Since _dl_open_check may throw an exception, it must be called after
    relocation is finished in dl_open_worker.   Otherwise, a shared object
    may be mapped without relocation and init/fini calls will fail.
    
    	[BZ #24259]
    	* elf/dl-open.c (dl_open_worker): Call _dl_open_check after
    	relocation is finished.
    	* sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a and
    	tst-cet-legacy-5b.
    	(modules-names): Add tst-cet-legacy-mod-5a and
    	tst-cet-legacy-mod-5b.
    	(CFLAGS-tst-cet-legacy-5a.c): New.
    	(CFLAGS-tst-cet-legacy-5b.c): Likewise.
    	(CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
    	(CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
    	($(objpfx)tst-cet-legacy-5a): Likewise.
    	($(objpfx)tst-cet-legacy-5a.out): Likewise.
    	($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
    	($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
    	($(objpfx)tst-cet-legacy-5b): Likewise.
    	($(objpfx)tst-cet-legacy-5b.out): Likewise.
    	(tst-cet-legacy-5b-ENV): Likewise.
    	* sysdeps/x86/tst-cet-legacy-5.c: New file.
    	* sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
    	* sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
    	* sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
    	* sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
    	* sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]