teknoraver / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame rpm-4.9.0-sticky-elf.patch

Panu Matilainen 629d3e
commit 6eba5dc468aa2d26ff80f9321e8d4d014279d506
Panu Matilainen 629d3e
Author: Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 629d3e
Date:   Tue Mar 22 08:36:35 2011 +0200
Panu Matilainen 629d3e
Panu Matilainen 629d3e
    Fix classification of ELF binaries with sticky bit (RhBug:689182)
Panu Matilainen 629d3e
Panu Matilainen 629d3e
diff --git a/fileattrs/elf.attr b/fileattrs/elf.attr
Panu Matilainen 629d3e
index fba180b..bc6ce83 100644
Panu Matilainen 629d3e
--- a/fileattrs/elf.attr
Panu Matilainen 629d3e
+++ b/fileattrs/elf.attr
Panu Matilainen 629d3e
@@ -1,4 +1,4 @@
Panu Matilainen 629d3e
 %__elf_provides		%{_rpmconfigdir}/elfdeps --provides %{?__filter_GLIBC_PRIVATE:--filter-private}
Panu Matilainen 629d3e
 %__elf_requires		%{_rpmconfigdir}/elfdeps --requires %{?__filter_GLIBC_PRIVATE:--filter-private}
Panu Matilainen 629d3e
-%__elf_magic		^ELF (32|64)-bit.*$
Panu Matilainen 629d3e
+%__elf_magic		^(sticky )?ELF (32|64)-bit.*$
Panu Matilainen 629d3e
 %__elf_flags		exeonly