Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | support: Add envp argument to support_capture_subprogram | Adhemerval Zanella | 2024-05-07 | 1 | -2/+2 |
| | | | | | So tests can specify a list of environment variables. Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org> | ||||
* | Update copyright dates with scripts/update-copyrights | Paul Eggert | 2024-01-01 | 1 | -1/+1 |
| | |||||
* | Update copyright dates with scripts/update-copyrights | Joseph Myers | 2023-01-06 | 1 | -1/+1 |
| | |||||
* | elf: Do not assume symbol order on tst-audit25{a,b} | Adhemerval Zanella | 2022-12-12 | 1 | -14/+25 |
| | | | | | | The static linker might impose any order or internal function position, so change the test to check if the audit prints the symbol only once in any order. | ||||
* | elf: Remove unused functions from tst-audit25(a,b) | Adhemerval Zanella | 2022-03-31 | 1 | -8/+0 |
| | |||||
* | elf: Issue la_symbind for bind-now (BZ #23734) | Adhemerval Zanella | 2022-02-01 | 1 | -0/+128 |
The audit symbind callback is not called for binaries built with -Wl,-z,now or when LD_BIND_NOW=1 is used, nor the PLT tracking callbacks (plt_enter and plt_exit) since this would change the expected program semantics (where no PLT is expected) and would have performance implications (such as for BZ#15533). LAV_CURRENT is also bumped to indicate the audit ABI change (where la_symbind flags are set by the loader to indicate no possible PLT trace). To handle powerpc64 ELFv1 function descriptor, _dl_audit_symbind requires to know whether bind-now is used so the symbol value is updated to function text segment instead of the OPD (for lazy binding this is done by PPC64_LOAD_FUNCPTR on _dl_runtime_resolve). Checked on x86_64-linux-gnu, i686-linux-gnu, aarch64-linux-gnu, powerpc64-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com> |