Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 5141d50d7b3d3c209a22c53deedb4ceef014401d Mon Sep 17 00:00:00 2001 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 2 | From: Peter Kjellerstedt <pkj@axis.com> |
| 3 | Date: Mon, 15 May 2017 10:21:08 +0200 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 4 | Subject: [PATCH 09/15] Do not require that ELF binaries are executable to be |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 5 | identifiable |
| 6 | |
| 7 | There is nothing that requires, e.g., a DSO to be executable, but it |
| 8 | is still an ELF binary and should be identified as such. |
| 9 | |
| 10 | Upstream probably expects all ELF binaries to be marked as executable, |
| 11 | but rather than imposing such a limitation for OE, allow any file to |
| 12 | be identified as an ELF binary regardless of whether it is executable |
| 13 | or not. |
| 14 | |
| 15 | Upstream-Status: Inappropriate |
| 16 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | --- |
| 19 | fileattrs/elf.attr | 1 - |
| 20 | 1 file changed, 1 deletion(-) |
| 21 | |
| 22 | diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 23 | index 5805dd0ee..3516f309d 100644 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 24 | --- a/fileattrs/elf.attr |
| 25 | +++ b/fileattrs/elf.attr |
| 26 | @@ -1,4 +1,3 @@ |
| 27 | %__elf_provides %{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private} |
| 28 | %__elf_requires %{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private} |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | %__elf_magic ^(setuid,? )?(setgid,? )?(sticky )?ELF (32|64)-bit.*$ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | -%__elf_flags exeonly |
| 31 | -- |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 32 | 2.14.2 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 33 | |